Link error, Token Ring related (my employer still uses Token Ring):
make[1]: Entering directory `/usr/src/linux-2.5.40/init'
Generating /usr/src/linux-2.5.40/include/linux/compile.h (updated)
gcc -Wp,-MD,./.version.o.d -D__KERNEL__ -I/usr/src/linux-2.5.40/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux-2.5.40/arch/i386/mach-generic -nostdinc -iwithprefix include -DKBUILD_BASENAME=version -c -o version.o version.c
ld -m elf_i386 -r -o built-in.o main.o version.o do_mounts.o
make[1]: Leaving directory `/usr/src/linux-2.5.40/init'
ld -m elf_i386 -e stext -T arch/i386/vmlinux.lds.s arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/built-in.o --start-group arch/i386/kernel/built-in.o arch/i386/mm/built-in.o arch/i386/mach-generic/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o lib/lib.a arch/i386/lib/lib.a drivers/built-in.o sound/built-in.o
arch/i386/pci/built-in.o net/built-in.o --end-group -o vmlinux
net/built-in.o: In function `p8022_request':
net/built-in.o(.text+0xdb69): undefined reference to `llc_build_and_send_ui_pkt'
net/built-in.o: In function `register_8022_client':
net/built-in.o(.text+0xdbb2): undefined reference to `llc_sap_open'
net/built-in.o: In function `unregister_8022_client':
net/built-in.o(.text+0xdbde): undefined reference to `llc_sap_close'
net/built-in.o: In function `snap_request':
net/built-in.o(.text+0xdd10): undefined reference to `llc_build_and_send_ui_pkt'
net/built-in.o: In function `snap_init':
net/built-in.o(.text.init+0x58b): undefined reference to `llc_sap_open'
make: *** [vmlinux] Fehler 1
Compile-Error, IRDA-related:
gcc -Wp,-MD,./.ircomm_tty_ioctl.o.d -D__KERNEL__ -I/usr/src/linux-2.5.40/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux-2.5.40/arch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=ircomm_tty_ioctl -c -o ircomm_tty_ioctl.o ircomm_tty_ioctl.c
gcc -Wp,-MD,./.ircomm_param.o.d -D__KERNEL__ -I/usr/src/linux-2.5.40/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/linux-2.5.40/arch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=ircomm_param -c -o ircomm_param.o ircomm_param.c
net/irda/ircomm/ircomm_param.c: In function `ircomm_param_request':
net/irda/ircomm/ircomm_param.c:169: warning:param.c: In function `ircomm_param_request':
net/irda/ircomm/ircomm_param.c:169: warning: implicit declaration of function `queue_task'
net/irda/ircomm/ircomm_param.c:169: `tq_immediate' undeclared (first use in this function)
net/irda/ircomm/ircomm_param.c:169: (Each undeclared identifier is reported only once
net/irda/ircomm/ircomm_param.c:169: for each function it appears in.)
net/irda/ircomm/ircomm_param.c:170: warning: implicit declaration of function `mark_bh'
net/irda/ircomm/ircomm_param.c:170: `IMMEDIATE_BH' undeclared (first use in this function)
With both disabled, I get a kernel image and will try that.
Jochen
-- Wenn Du nicht weißt was Du tust, tu's mit Eleganz. - 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/