Re: build issue #565 for v2.6.27-rc5 : undefined reference to`ei_interrupt' in hp-plus.c

From: Randy.Dunlap
Date: Sun Sep 07 2008 - 19:25:56 EST


On Sun, 7 Sep 2008, Toralf Förster wrote:

> Hello,
>
> the build (.config attached) failed, make ends with :
> ...
> AR arch/x86/lib/lib.a
> LD vmlinux.o
> MODPOST vmlinux.o
> WARNING: modpost: Found 7 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> drivers/built-in.o: In function `hpp_open':
> hp-plus.c:(.text+0x1952a7): undefined reference to `ei_interrupt'
> hp-plus.c:(.text+0x195318): undefined reference to `ei_open'
> drivers/built-in.o: In function `hpp_close':
> hp-plus.c:(.text+0x1953fe): undefined reference to `ei_close'
> drivers/built-in.o: In function `hp_plus_probe':
> (.init.text+0x12013): undefined reference to `__alloc_ei_netdev'
> make: *** [.tmp_vmlinux1] Error 1
>
> The build was made with :
> $>make randconfig; make clean; make
>
> Here's the config:

Hi,

hopefully this patch from last week fixes this build error, but
the patch needs to be merged....
http://marc.info/?l=linux-next&m=122038632306156&w=2

--
~Randy