In an attempt to get APM to work, I was going to disable SMP in the kernel. I did that and the build failed. After the build failed I enabled SMP again and it built fine. Then I disabled *only* SMP and the build failed. It fails in "make bzImage" stage.
which version of gentoo sources? do you have IO-APIC enabled?
send me a .config
I'm testing this on gentoo-sources-2.4.19-r10 since yer .config was from -r9 this may make all the difference (I know -r10 is still masked)
that .config works on -r10, are you making sure to make mrproper between compiles when switching things like SMP and preempt?
Created attachment 6723 [details] failing .config im having this exact problem on r10 and isolated it to just the SMP option, heres the last bit compiling gives me... from ksyms.c:14: /usr/src/linux-2.4.19-gentoo-r10/include/linux/modules/i386_ksyms.ver:88: warning: `cpu_data' redefined /usr/src/linux-2.4.19-gentoo-r10/include/asm/processor.h:80: warning: this is the location of the previous definition /usr/src/linux-2.4.19-gentoo-r10/include/linux/modules/i386_ksyms.ver:92: warning: `smp_num_cpus' redefined /usr/src/linux-2.4.19-gentoo-r10/include/linux/smp.h:81: warning: this is the location of the previous definition /usr/src/linux-2.4.19-gentoo-r10/include/linux/modules/i386_ksyms.ver:94: warning: `cpu_online_map' redefined /usr/src/linux-2.4.19-gentoo-r10/include/linux/smp.h:91: warning: this is the location of the previous definition /usr/src/linux-2.4.19-gentoo-r10/include/linux/modules/i386_ksyms.ver:108: warning: `smp_call_function' redefined /usr/src/linux-2.4.19-gentoo-r10/include/linux/smp.h:90: warning: this is the location of the previous definition In file included from /usr/src/linux-2.4.19-gentoo-r10/include/linux/modversions.h:158, from /usr/src/linux-2.4.19-gentoo-r10/include/linux/module.h:21, from ksyms.c:14: /usr/src/linux-2.4.19-gentoo-r10/include/linux/modules/ksyms.ver:584: warning: `del_timer_sync' redefined /usr/src/linux-2.4.19-gentoo-r10/include/linux/timer.h:80: warning: this is the location of the previous definition /usr/src/linux-2.4.19-gentoo-r10/include/linux/modules/ksyms.ver:678: warning: `set_cpus_allowed' redefined /usr/src/linux-2.4.19-gentoo-r10/include/linux/sched.h:531: warning: this is the location of the previous definition In file included from /usr/src/linux-2.4.19-gentoo-r10/include/linux/interrupt.h:45, from ksyms.c:21: /usr/src/linux-2.4.19-gentoo-r10/include/asm/hardirq.h:41: warning: `synchronize_irq' redefined /usr/src/linux-2.4.19-gentoo-r10/include/linux/modules/i386_ksyms.ver:96: warning: this is the location of the previous definition In file included from ksyms.c:17: /usr/src/linux-2.4.19-gentoo-r10/include/linux/kernel_stat.h: In function `kstat_irqs': /usr/src/linux-2.4.19-gentoo-r10/include/linux/kernel_stat.h:46: `smp_num_cpus' undeclared (first use in this function) /usr/src/linux-2.4.19-gentoo-r10/include/linux/kernel_stat.h:46: (Each undeclared identifier is reported only once /usr/src/linux-2.4.19-gentoo-r10/include/linux/kernel_stat.h:46: for each function it appears in.) make[2]: *** [ksyms.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r10/kernel' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r10/kernel' make: *** [_dir_kernel] Error 2
update to previous attatchment / comment make mrproper and starting from scratch seems to fix this problem, maybe this could be considered a documentation bug then? ;)