Skip to contentSkip to conversation

2.4.22 and Athlon64

DISCUSSION Mark Lane 1 participant 1 message Oct 29, 2003

lore
Share & tools
lore

Mark Lane

author
#0 lore raw

I am having trouble compiling the 2.4.22 kernel for x86-64 non-smp. I can compile the smp kernel but not the regular kernel.

It seems that ksyms.c for x86-64 is looking for some smp stuff from the errors I am getting.

I have tried 2.4.23-8 and the problem seems gone but I get an error when linking fs/fs.o into vmlinux. I have attached the errors I received.

TIA,

Signature · 5 lines
Mark Lane, CET  mailto:[email protected]
Hard Data Ltd.  http://www.harddata.com
T: 01-780-456-9771      F: 01-780-456-9772
11060 - 166 Avenue Edmonton, AB, Canada, T5X 1Y3
--> Ask me about our Excellent 1U Systems! <--
ld -m elf_x86_64 -T /usr/src/linux-2.4.22/arch/x86_64/vmlinux.lds -e stext arch/x86_64/kernel/head.o arch/x86_64/kernel/head64.o arch/x86_64/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
        --start-group \
        arch/x86_64/kernel/kernel.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/x86_64/mm/mm.o arch/x86_64/ia32/ia32.o  \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/drm/drm.o drivers/net/fc/fc.o drivers/net/appletalk/appletalk.o drivers/net/tokenring/tr.o drivers/net/wan/wan.o drivers/atm/atm.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/net/wireless/wireless_net.o drivers/video/video.o drivers/media/media.o drivers/md/mddev.o drivers/isdn/vmlinux-obj.o crypto/crypto.o \
        net/network.o \
        /usr/src/linux-2.4.22/arch/x86_64/lib/lib.a /usr/src/linux-2.4.22/lib/lib.a \
        --end-group \
        -o vmlinux

fs/fs.o(.text+0x1429f): In function `dput':
: undefined reference to `atomic_dec_and_lock'
make: *** [vmlinux] Error 1