lkml.org 
[lkml]   [2002]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux v2.5.33, compile error on powermac
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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.071 / U:32.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site