Re: 2.5.29 compile error [undefined reference to `register_serial']

Nick Martens (nickm@kabelfoon.nl)
Wed, 31 Jul 2002 20:18:26 +0000


I think this output is better

[......]
make[1]: Leaving directory `/usr/src/newkrnls/linux-2.5.29/arch/i386/pci'
Generating build number
make[1]: Entering directory `/usr/src/newkrnls/linux-2.5.29/init'
Generating /usr/src/newkrnls/linux-2.5.29/include/linux/compile.h (updated)
gcc -Wp,-MD,./.version.o.d -D__KERNEL__
-I/usr/src/newkrnls/linux-2.5.29/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include
-DKBUILD_BASENAME=version -c -o version.o version.c
ld -m elf_i386 -r -o init.o main.o version.o do_mounts.o
make[1]: Leaving directory `/usr/src/newkrnls/linux-2.5.29/init'
ld -m elf_i386 -T arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o
arch/i386/kernel/init_task.o init/init.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 security/built-in.o
/usr/src/newkrnls/linux-2.5.29/arch/i386/lib/lib.a lib/lib.a
/usr/src/newkrnls/linux-2.5.29/arch/i386/lib/lib.a drivers/built-in.o
sound/sound.o arch/i386/pci/pci.o net/network.o --end-group -o vmlinux
drivers/built-in.o: In function `serial_register':
drivers/built-in.o(.text+0x316af): undefined reference to `register_serial'
drivers/built-in.o: In function `parport_serial_pci_remove':
drivers/built-in.o(.text+0x319a8): undefined reference to `unregister_serial'
make: *** [vmlinux] Error 1

> I am trying to compile 2.5.29 but I am running into some compilation
> problems i have attached my .config
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/