arch/ppc/boot broken include in currenty 2_4_devel

Troy Benjegerdes hozer at
Thu Nov 29 09:22:43 EST 2001

Somehow, the

CFLAGS	+= -fno-builtin -D__BOOTER__ -I$(TOPDIR)/arch/$(ARCH)/boot/include

line in arch/ppc/boot/Makefile is not getting picked up, causeing me
problems like:

make[3]: Entering directory
ppc_8xx-gcc -D__KERNEL__ -I/scratch/mvp/linuxppc_2_4_galileo/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -D__powerpc__ -fsigned-char -msoft-float
-pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -O2 -ggdb   -c -o
zlib.o zlib.c
zlib.c: In function `inflateEnd':
zlib.c:330: too many arguments to function
zlib.c: At top level:
zlib.c:337: parse error before `('

because it's picking up the wrong zlib.h.

I've been messing around with the makefile, but I can't get it to do
anything that seems sensible.

Troy Benjegerdes | master of mispeeling | 'da hozer' |  hozer at
-----"If this message isn't misspelled, I didn't write it" -- Me -----
"Why do musicians compose symphonies and poets write poems? They do it
because life wouldn't have any meaning for them if they didn't. That's
why I draw cartoons. It's my life." -- Charles Shulz

** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list