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

From: Ingo Molnar
Date: Mon Jul 21 2008 - 15:16:22 EST



* Atsushi Nemoto <anemo@xxxxxxxxxxxxx> wrote:

> Since commit 055e5110ae0c0c1176a75b78d789294f2ff2f7af ("8390: Split
> 8390 support into a pausing and a non pausing driver core"), ne.c
> cause this build failure:
>
> drivers/built-in.o: In function `ne_probe1':
> ne.c:(.init.text+0x2464): undefined reference to `NS8390_init'
> drivers/built-in.o: In function `ne_block_output':
> ne.c:(.text.ne_block_output+0x1b0): undefined reference to `NS8390_init'

i just triggered a similar build failure, but in a different
ne2000-derived file:

drivers/built-in.o: In function `hpp_close':
hp-plus.c:(.text+0xd7c1a): undefined reference to `ei_close'
drivers/built-in.o: In function `hpp_open':
hp-plus.c:(.text+0xd7c3c): undefined reference to `ei_interrupt'
hp-plus.c:(.text+0xd7ca9): undefined reference to `ei_open'
drivers/built-in.o: In function `hpp_probe1':
hp-plus.c:(.init.text+0xab54): undefined reference to `ei_poll'
hp-plus.c:(.init.text+0xabed): undefined reference to `NS8390_init'
drivers/built-in.o: In function `hp_plus_probe':
(.init.text+0xac4c): undefined reference to `__alloc_ei_netdev'
make: *** [.tmp_vmlinux1] Error 1

with this config:

http://redhat.com/~mingo/misc/config-Mon_Jul_21_20_21_08_CEST_2008.bad

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