[WBEL-users] Kernel compile woes
Karl-König Königsson
karl-konig.q.konigsson@posten.se
Thu, 06 May 2004 07:55:00 +0200
I was not aware of the "make oldconfig" option; it turned out to be
cruicial in this matter. I have learned something new which is good in
itself.
What is also good is that things now work as expected and I can fiddle
with the kernel to all my little hearts content. Happy happy joy joy!
Thank you, all who answered on and off list!
Karl-Koenig Koenigsson
Karl-König Königsson wrote:
> 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.