Hi All gcc-2.95 is running here.
For the running 2.4.24-ben1 I have, as it seems to me, successfully set CONFIG_NVRAM=y ls -l /dev/nvram crw-rw-- 1 root root 10, 144 Mar 14 2002 /dev/nvram Again, for 2.4.25-ben1, I set CONFIG_NVRAM=y But this is the error I get when trying to compile it ("CONFIG_PPCBUG_NVRAM=y" is also set): gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefix include -E -D__GENKSYMS__ vac-serial.c | /sbin/genksyms -k 2.4.25 > /home/user/sources/2.4-benh-kernel/include/linux/modules/vac-serial.ver.tmp vac-serial.c:74: asm/baget/baget.h: No such file or directory mv /home/user/sources/2.4-benh-kernel/include/linux/modules/vac-serial.ver.tmp /home/user/sources/2.4-benh-kernel/include/linux/modules/vac-serial.ver gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefix include -E -D__GENKSYMS__ hp_psaux.c | /sbin/genksyms -k 2.4.25 > /home/user/sources/2.4-benh-kernel/include/linux/modules/hp_psaux.ver.tmp hp_psaux.c:41: asm/hardware.h: No such file or directory hp_psaux.c:43: asm/gsc.h: No such file or directory mv /home/user/sources/2.4-benh-kernel/include/linux/modules/hp_psaux.ver.tmp /home/user/sources/2.4-benh-kernel/include/linux/modules/hp_psaux.ver gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefix include -E -D__GENKSYMS__ nvram.c | /sbin/genksyms -k 2.4.25 > /home/user/sources/2.4-benh-kernel/include/linux/modules/nvram.ver.tmp nvram.c:61: #error Cannot build nvram driver for this machine configuration. __________________________________ CONFIG_HP_SDC is not set in the .config file for this new kernel: so what's going there: make[6]: Entering directory `/home/user/sources/2.4-benh-kernel/drivers/fc4' gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefix include -E -D__GENKSYMS__ fc_syms.c | /sbin/genksyms -k 2.4.25 > /home/user/sources/2.4-benh-kernel/include/linux/modules/fc_syms.ver.tmp mv /home/user/sources/2.4-benh-kernel/include/linux/modules/fc_syms.ver.tmp /home/user/sources/2.4-benh-kernel/include/linux/modules/fc_syms.ver /home/user/sources/2.4-benh-kernel/scripts/mkdep -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefix include -- fc-al.h fc.c fc.h fc_syms.c fcp.h fcp_impl.h soc.c soc.h socal.c socal.h > .depend make[6]: Leaving directory `/home/user/sources/2.4-benh-kernel/drivers/fc4' /usr/bin/make -C gsc fastdep make[6]: Entering directory `/home/user/sources/2.4-benh-kernel/drivers/gsc' /home/user/sources/2.4-benh-kernel/scripts/mkdep -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefix include -- asp.c busdevice.h dino.c eisa.c eisa_eeprom.c eisa_enumerator.c gsc.c lasi.c serial.c wax.c > .depend make[6]: Leaving directory `/home/user/sources/2.4-benh-kernel/drivers/gsc' /usr/bin/make -C hil fastdep make[6]: Entering directory `/home/user/sources/2.4-benh-kernel/drivers/hil' gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefix include -E -D__GENKSYMS__ hp_sdc.c | /sbin/genksyms -k 2.4.25 > /home/user/sources/2.4-benh-kernel/include/linux/modules/hp_sdc.ver.tmp In file included from hp_sdc.c:64: /home/user/sources/2.4-benh-kernel/include/linux/hp_sdc.h:45: asm/hardware.h: No such file or directory /home/user/sources/2.4-benh-kernel/include/linux/hp_sdc.h:288: #error No support for device registration on this arch yet. hp_sdc.c:76: asm/gsc.h: No such file or directory ________________________________ CONFIG_SCSI_LASI700 is not set in .config. But I get this error: make[6]: Entering directory `/home/user/sources/2.4-benh-kernel/drivers/scsi' gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefix include -E -D__GENKSYMS__ scsi_syms.c | /sbin/genksyms -k 2.4.25 > /home/user/sources/2.4-benh-kernel/include/linux/modules/scsi_syms.ver.tmp mv /home/user/sources/2.4-benh-kernel/include/linux/modules/scsi_syms.ver.tmp /home/user/sources/2.4-benh-kernel/include/linux/modules/scsi_syms.ver gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefix include -E -D__GENKSYMS__ 53c700.c | /sbin/genksyms -k 2.4.25 > /home/user/sources/2.4-benh-kernel/include/linux/modules/53c700.ver.tmp In file included from 53c700.c:142: 53c700.h:40: #error "Config.in must define either CONFIG_53C700_IO_MAPPED or CONFIG_53C700_MEM_MAPPED to use this scsi core." 53c700.c:163: 53c700_d.h: No such file or directory ----------------------------------------------------------- And here is who the whole build stops: make[3]: Entering directory `/home/user/sources/2.4-benh-kernel/arch/ppc/boot/chrp' gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -I/home/user/sources/2.4-benh-kernel/arch/ppc -D__BOOTER__ -I/home/user/sources/2.4-benh-kernel/arch/ppc/kernel -c -o ../common/crt0.o ../common/crt0.S gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -fno-builtin -D__BOOTER__ -I/home/user/sources/2.4-benh-kernel/arch/ppc/boot/include -nostdinc -iwithprefix include -DKBUILD_BASENAME=start -c -o start.o start.c gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -fno-builtin -D__BOOTER__ -I/home/user/sources/2.4-benh-kernel/arch/ppc/boot/include -nostdinc -iwithprefix include -DKBUILD_BASENAME=main -c -o main.o main.c gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -I/home/user/sources/2.4-benh-kernel/arch/ppc -D__BOOTER__ -c -o misc.o misc.S gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -I/home/user/sources/2.4-benh-kernel/arch/ppc -D__BOOTER__ -c -o ../common/string.o ../common/string.S gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -fno-builtin -D__BOOTER__ -I/home/user/sources/2.4-benh-kernel/arch/ppc/boot/include -nostdinc -iwithprefix include -DKBUILD_BASENAME=dummy -c -o ../common/dummy.o ../common/dummy.c objcopy ../common/dummy.o image.o \ --add-section=.image=../images/vmlinux.gz \ --set-section-flags=.image=contents,alloc,load,readonly,data objcopy image.o image.o \ --add-section=.sysmap=/home/user/sources/2.4-benh-kernel/System.map \ --set-section-flags=.sysmap=contents,alloc,load,readonly,data gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -fno-builtin -D__BOOTER__ -I/home/user/sources/2.4-benh-kernel/arch/ppc/boot/include -nostdinc -iwithprefix include -DKBUILD_BASENAME=ofcommon -c -o ../common/ofcommon.o ../common/ofcommon.c ld -T ../ld.script -Ttext 0x00400000 -o ../images/zImage.chrp ../common/crt0.o start.o main.o misc.o ../common/string.o image.o ../common/ofcommon.o /home/user/sources/2.4-benh-kernel/lib/lib.a ../lib/zlib.a ../of1275/of1275.a ../common/ofcommon.o(.text+0xbc): In function `zalloc': : undefined reference to `pause' make[3]: *** [zImage] Error 1 make[3]: Leaving directory `/home/user/sources/2.4-benh-kernel/arch/ppc/boot/chrp' make[3]: Entering directory `/home/user/sources/2.4-benh-kernel/arch/ppc/boot/pmac' /usr/bin/make -C ../common coffcrt0.o make[4]: Entering directory `/home/user/sources/2.4-benh-kernel/arch/ppc/boot/common' gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -I/home/user/sources/2.4-benh-kernel/arch/ppc -D__BOOTER__ -DXCOFF -traditional -c -o coffcrt0.o crt0.S make[4]: Leaving directory `/home/user/sources/2.4-benh-kernel/arch/ppc/boot/common' gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -fno-builtin -D__BOOTER__ -I/home/user/sources/2.4-benh-kernel/arch/ppc/boot/include -nostdinc -iwithprefix include -DKBUILD_BASENAME=start -c -o start.o start.c gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -I/home/user/sources/2.4-benh-kernel/arch/ppc -c -o misc.o misc.S gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -fno-builtin -D__BOOTER__ -I/home/user/sources/2.4-benh-kernel/arch/ppc/boot/include -nostdinc -iwithprefix include -DKBUILD_BASENAME=coffmain -c -o coffmain.o coffmain.c objcopy ../common/dummy.o image.o -R .comment \ --add-section=.image=../images/vmlinux.gz \ --set-section-flags=.image=contents,alloc,load,readonly,data objcopy image.o image.o \ --add-section=.sysmap=/home/user/sources/2.4-benh-kernel/System.map \ --set-section-flags=.sysmap=contents,alloc,load,readonly,data ld -o coffboot -T ../ld.script -e _start -Ttext 0x00500000 -Bstatic ../common/coffcrt0.o start.o misc.o ../common/string.o ../common/ofcommon.o coffmain.o image.o /home/user/sources/2.4-benh-kernel/lib/lib.a ../lib/zlib.a ../of1275/of1275.a ../common/ofcommon.o(.text+0xbc): In function `zalloc': : undefined reference to `pause' coffmain.o(.text+0x100): In function `boot': : undefined reference to `map' coffmain.o(.text+0x23c): In function `boot': : undefined reference to `pause' make[3]: *** [coffboot] Error 1 make[3]: Leaving directory `/home/user/sources/2.4-benh-kernel/arch/ppc/boot/pmac' make[3]: Entering directory `/home/user/sources/2.4-benh-kernel/arch/ppc/boot/prep' gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -I/home/user/sources/2.4-benh-kernel/arch/ppc -D__BOOTER__ -c -o head.o head.S gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -I/home/user/sources/2.4-benh-kernel/arch/ppc -D__BOOTER__ -c -o ../simple/legacy.o ../simple/legacy.S gcc -D__KERNEL__ -I/home/user/sources/2.4-benh-kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/user/sources/2.4-benh-kernel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -fno-builtin -D__BOOTER__ -I/home/user/sources/2.4-benh-kernel/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: `phandle' undeclared (first use in this function) misc.c:121: (Each undeclared identifier is reported only once misc.c:121: for each function it appears in.) misc.c:121: parse error before `chosen' misc.c:125: `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: `phandle' undeclared (first use in this function) misc.c:252: parse error before `dev_handle' misc.c:256: `dev_handle' undeclared (first use in this function) make[3]: *** [misc.o] Error 1 make[3]: Leaving directory `/home/user/sources/2.4-benh-kernel/arch/ppc/boot/prep' make[2]: *** [zImage] Error 2 make[2]: Leaving directory `/home/user/sources/2.4-benh-kernel/arch/ppc/boot' make[1]: *** [zImage] Error 2 make[1]: Leaving directory `/home/user/sources/2.4-benh-kernel' make: *** [stamp-build] Error 2 _____________________________________ I'm stuck. Thanks in anticipation Best regards Wolfgang -- Profile, Links: http://profiles.yahoo.com/wolfgangpfeiffer