I got the following link error message when compiling linux-2.4.18-rc4 :
ld -m elf_i386 -T /src/linux/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o \
--start-group \
arch/i386/kernel/kernel.o
arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/parport/driver.o drivers/char/char.o
drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
drivers/media/media.o drivers/char/agp/agp.o drivers/char/drm/drm.o
drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o
drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/pnp/pnp.o
drivers/video/video.o drivers/usb/usbdrv.o \
net/network.o \
/src/linux/arch/i386/lib/lib.a
/src/linux/lib/lib.a /src/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
fs/fs.o: In function dput':
fs/fs.o(.text+0x11918): undefined
reference to atomic_dec_and_lock'
make: *** [vmlinux] Error 1
Apparently the latest patch (rc3->rc4) messed something up in fs.
atomic_dec_and_loc occurs in 4 source files there.
--
Hardy
(Meinhard E. Mayer)
Professor Emeritus of Physics and Mathematics
Tel: (949) 759-3378 Fax: (734) 448-5140
URL: http://mitpress2.mit.edu/sicm/
On Sunday, 24 February 2002, Meinhard E. Mayer wrote:
> I got the following link error message when compiling linux-2.4.18-rc4 :
[snip]
> Apparently the latest patch (rc3->rc4) messed something up in fs.
> atomic_dec_and_loc occurs in 4 source files there.
No problems here. Which binutils version are you using?
--
"The Universe doesn't give you any points for doing things that are easy."
-- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
Dominik 'Rathann' Mierzejewski <rathann(at)rangers.eu.org>