link errors with CONFIG_SERIAL_ACPI enabled
Hi folks,
I noticed, that every time I switch on CONFIG_SERIAL_ACPI as a Module, I get some linker errors when make bzImage tries to link the bzImage together. I don't have the exact output at hands, but I'll reproduce it if needed.
Johnny
Am Freitag, 21. Dezember 2001 22:45 schrieb Hans-Christian Armingeon:
Quoted 5 lines
Hi folks,
I noticed, that every time I switch onCONFIG_SERIAL_ACPIas a Module, I get some linker errors when make bzImage tries to link the bzImage together. I don't have the exact output at hands, but I'll reproduce it if needed.
here it comes
Quoted 2 lines
Johnny
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.17/arch/i386/lib'
gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.17/include -c checksum.S -o checksum.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.17/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i386 -c -o old-checksum.o old-checksum.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.17/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i386 -c -o delay.o delay.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.17/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i386 -c -o usercopy.o usercopy.c gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.17/include -c getuser.S -o getuser.o gcc -D__KERNEL__ -I/usr/src/linux-2.4.17/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i386 -c -o memcpy.o memcpy.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.17/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i386 -c -o strstr.o strstr.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.17/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i386 -c -o iodebug.o iodebug.c
rm -f lib.a
ar rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o strstr.o iodebug.o make[2]: Leaving directory `/usr/src/linux-2.4.17/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux-2.4.17/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux-2.4.17/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/acpi/acpi.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/drm/drm.o drivers/net/fc/fc.o drivers/net/appletalk/appletalk.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/net/pcmcia/pcmcia_net.o drivers/net/wireless/wireless_net.o
drivers/video/video.o drivers/net/hamradio/hamradio.o drivers/md/mddev.o \
net/network.o \
/usr/src/linux-2.4.17/arch/i386/lib/lib.a /usr/src/linux-2.4.17/lib/lib.a /usr/src/linux-2.4.17/arch/i386/lib/lib.a \
--end-group \
-o vmlinuxdrivers/char/char.o: In function `setup_serial_acpi':
drivers/char/char.o(.text.init+0xf8d): undefined reference to `early_serial_setup'
make: *** [vmlinux] Error 1