[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

can't compile kernel 2.4.25 benh1



Hi!

I'm trying to compile a new kernel for my iBook from kernel source 
2.4.25 benh1. I used the following to get the source:
	rsync -avz rsync.penguinppc.org::linux-2.4-benh  .

The compile aborts with this error:
make[3]: Entering directory 
`/usr/local/src/src-linux-2.4-benh/arch/ppc/boot/prep'
gcc -D__KERNEL__ -I/usr/local/src/src-linux-2.4-benh/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing 
-fno-common 
-fomit-frame-pointer-I/usr/local/src/src-linux-2.4-benh/arch/ppc 
-fsigned-char -msoft-float
-pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -fno-builtin 
-D__BOOTER__
-I/usr/local/src/src-linux-2.4-benh/arch/ppc/boot/include  -nostdinc 
-iwithprefix include
-DKBUILD_BASENAME=misc  -c -o misc.o misc.c
misc.c: In function `get_of_args':
misc.c:121: error: `phandle' undeclared (first use in this function)
misc.c:121: error: (Each undeclared identifier is reported only once
misc.c:121: error: for each function it appears in.)
misc.c:121: error: syntax error before "chosen"
misc.c:125: error: `chosen' undeclared (first use in this function)
misc.c:125: warning: implicit declaration of function `finddevice'
misc.c:128: warning: implicit declaration of function `getprop'
misc.c: In function `decompress_kernel':
misc.c:155: warning: implicit declaration of function `ofinit'
misc.c:252: error: `phandle' undeclared (first use in this function)
misc.c:252: error: syntax error before "dev_handle"
misc.c:256: error: `dev_handle' undeclared (first use in this 
function)

I think an include of asm/prom.h" is missing in file misc.c. But 
because nobody has complained so far maybe it's something else or the 
source tree is not maintained any more?

Regards,
Martin




Reply to: