Linux-2.5.3 Compilererror

Michael Ring mring at ringnet.de
Thu Jan 31 18:42:03 CET 2002


Hi

Beim Compilieren des aktuellen Entwicklerkernels 2.5.3 tritt bei mir folgender Fehler auf:
gcc -D__KERNEL__ -I/usr/src/linux-2.5.3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686    -c
-o dec_and_lock.o dec_and_lock.c
rm -f lib.a
ar  rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o strstr.o dec_and_lock.o
make[2]: Leaving directory `/usr/src/linux-2.5.3/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux-2.5.3/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux-2.5.3/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.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 \
		        /usr/src/linux-2.5.3/arch/i386/lib/lib.a /usr/src/linux-2.5.3/lib/lib.a /usr/src/linux-2.5.3/arch/i386/lib/lib.a \
			         drivers/acpi/acpi.o drivers/base/base.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/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/usb/usbdrv.o drivers/md/mddev.o \
				         net/network.o \
					         --end-group \
						         -o vmlinux
							 drivers/char/char.o(.data+0x46b4): undefined reference to `local symbols in discarded section .text.exit'
							 drivers/net/net.o(.data+0x194): undefined reference to `local symbols in discarded section .text.exit'
							 drivers/video/video.o(.data+0x1bd4): undefined reference to `local symbols in discarded section .text.exit'
							 make: *** [vmlinux] Error 1
							 
Hat jemand schon mal einen 2.5.3 erfolgreich compiliert bzw. am laufen?

mfg 
michael ring



More information about the Linux mailing list