[WBEL-users] Kernel compile woes

Karl-König Königsson karl-konig.q.konigsson@posten.se
Wed, 05 May 2004 08:43:44 +0200


Hi all,

This is most peculiar... I have done this:

   cp /boot/config-2.4.21-9.0.3.EL /usr/src/linux/.config
   cd /usr/src/linux
   make dep && make clean bzImage

This proceeds smoothly until this point:

   kallsyms pass 1
   ld -m elf_i386 -T /usr/src/linux-2.4.21-9.0.3.EL/arch/i386/vmlinux....

where I get a million undefined referenses to stuff like 
"kernel_flag_cacheline", "cpu_date" and "smp_num_cpus" and make croaks with:

   make[1]: *** [kallsyms] Error 1
   make[1]: Leaving directory '/usr/src/linux-2.4.21-9.0.3.EL'
   make: *** [vmlinux] Error 2

I'm stumped, to say the least, and don't know really where to start. I, 
naively as it seems, thought that the kernel would compile out of the 
box as it has on other distributions I have used, so I guess I must have 
missed something.

Please, what am I doing wrong?


Cheers!

	Karl-Koenig Koenigsson

-- 
Karl-Koenig Koenigsson, CM Pablo
Black holes are where god divided by 0.