Re: Linux v2.5.33, compile error on powermac

From: Tom Rini (trini@kernel.crashing.org)
Date: Mon Sep 02 2002 - 14:38:41 EST


On Mon, Sep 02, 2002 at 02:29:56PM +0200, Remco Post wrote:

> make[2]: Entering directory `/usr/src/linux-2.5.33/fs/reiserfs'
> gcc -Wp,-MD,./.resize.o.d -D__KERNEL__ -I/usr/src/linux-2.5.33/include
> - -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> - -fno-strict-aliasing -fno-common -I/usr/src/linux-2.5.33/arch/ppc
> - -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized
> - -mmultiple -mstring -nostdinc -iwithprefix include -O1
> - -DKBUILD_BASENAME=resize -c -o resize.o resize.c
> In file included from resize.c:12:
> /usr/src/linux-2.5.33/include/linux/vmalloc.h:26: parse error before
> `pgprot_t'
> /usr/src/linux-2.5.33/include/linux/vmalloc.h:26: warning: function
> declaration isn't a prototype
> /usr/src/linux-2.5.33/include/linux/vmalloc.h:37: parse error before
> `pgprot_t'
> /usr/src/linux-2.5.33/include/linux/vmalloc.h:38: warning: function
> declaration isn't a prototype
> make[2]: *** [resize.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.5.33/fs/reiserfs'
> make[1]: *** [reiserfs] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.5.33/fs'
> make: *** [fs] Error 2

fs/reiserfs/resize.c needs to include <linux/mm.h>, iirc. Make a patch
and send it to the trivial patch monkey and/or Linus.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:16 EST