Re: build failure in 2.4.20

Adrian Bunk (bunk@fs.tum.de)
Tue, 10 Dec 2002 14:42:51 +0100


On Mon, Dec 09, 2002 at 10:22:29AM -0500, David Ronis wrote:
Content-Description: message body text
>
> I've been trying to upgrade my kernel from 2.4.19 to 2.4.20 on a
> linux-i686-gnu box [I use gcc-2.95.3, GNU ld version 2.13, GNU
> assembler 2.13].
>
> I first tried patching the kernel sources, reran xconfig and then
>
> make bzImage && make modules && make modules install
>
> The build died in the make modules step, in the ppp driver tree
> complaining about not finding zlib.c.
>
> I deleted the source tree and started again with a full 2.4.20
> tarball. After configureing, I ran
>
> make dep && make clean && make bzImage && make modules && make modules install
>
> and get:
>...
> -o vmlinux
> drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in discarded section .text.exit'
> make: *** [vmlinux] Error 1
>
>
> It sounds like this is a problem with ld or as, but I'm not sure. Any
> suggestions?
>...
> Here's my .config file
>...
> CONFIG_M686FXSR=y
>...

This doesn't look right, it should be CONFIG_M686. Did you apply any
patches against the "full 2.4.20 tarball" after you unpackaged it or did
you accidentially send the wrong .config?

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

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