[build failure] hp-plus.c:(.text+0xad73b): undefined reference to`ei_close'

From: Christian Kujau
Date: Sun Aug 03 2008 - 10:52:10 EST


Hi there,

this has been reported[0] in July already but randconfig just hit it again, I think:

-------
gcc -Wp,-MD,init/.version.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.1/include -D__KERNEL__ -Iinclude -I/data/Scratch/src/linux-2.6/arch/x86/include -i
ld -m elf_i386 -r -o init/built-in.o init/main.o init/version.o init/mounts.o init/noinitramfs.o init/calibrate.o
ld -m elf_i386 --build-id -o .tmp_vmlinux1 -T \
arch/x86/kernel/vmlinux.lds arch/x86/kernel/head_32.o \
arch/x86/kernel/head32.o arch/x86/kernel/head.o \
arch/x86/kernel/drivers/built-in.o:In function `hpp_close':hp-plus.c:(.text+0xad73b):
undefined reference to `ei_close'
drivers/built-in.o: In function `hpp_open': hp-plus.c:(.text+0xad777):
undefined reference to `ei_interrupt'
hp-plus.c:(.text+0xad7e7): undefined reference to `ei_open'
drivers/built-in.o: In function `hp_plus_probe':
(.init.text+0xa286): undefined reference to `__alloc_ei_netdev'
make: *** [.tmp_vmlinux1] Error 1
------

This 'ei_open' is defined in 8390.h, which is included in hp-plus.c, so I fail to understand why it wouldn't compile.

I've attached the .config to this mail.

Thanks,
Christian.

[0] http://lkml.org/lkml/2008/7/21/301
--
BOFH excuse #409:

The vulcan-death-grip ping has been applied.

Attachment: config.25.gz
Description: Binary data