Re: Compiling 2.5.32

Dave Hansen (haveblue@us.ibm.com)
Thu, 29 Aug 2002 13:23:59 -0700


Michael Obster wrote:
> can anybody give me hint. I don't think it is a bug, but i don't know
> what this error means for me. It is in "make bzImage" and the config is
> attached. Symlink asm is on asm-i386 and i added "ln -s
> /usr/src/linux/include/asm-generic /usr/include/asm-generic". Build
> environment is Athlon, Kernel 2.4.18, gcc 2.95.3
> <snip>
> drivers/built-in.o(.data+0x2fab4): undefined reference to `local symbols

From what I understand this happens when these conditions are met:
1. You use a recent version of binutils (Debian has one)
2. CONFIG_HOTPLUG is not set
3. You compile a driver that doesn't properly use __devexit_p macro

I fixed this in the IPS driver:
haveblue/cset@1.485.7.2">http://linus.bkbits.net:8080/linux-2.5/user=haveblue/cset@1.485.7.2

So, find and fix the driver, use hotplug, or get an older binutils.

-- 
Dave Hansen
haveblue@us.ibm.com

- 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/