Re: 2.5.55: local symbols in net/ipv6/af_inet6.o

David van Hoose (davidvh@cox.net)
Thu, 09 Jan 2003 04:47:31 -0600


Niels den Otter wrote:
> As of 2.5.54bk6 (including 2.5.55) I get the following compilation error:
>
SNIP!
> net/built-in.o(.init.text+0x1a34): In function `inet6_init':
> : undefined reference to `local symbols in discarded section .exit.text'
> make: *** [vmlinux] Error 1
>
>
> The reference_discarded.pl script says following:
> pangsit:/usr/src/linux/net> perl ~otter/reference_discarded.pl
> Finding objects, 245 objects, ignoring 0 module(s)
> Finding conglomerates, ignoring 11 conglomerate(s)
> Scanning objects
> Error: ./ipv6/af_inet6.o .init.text refers to 000003e4 R_386_PC32 .exit.text
> Done
>
> I tried both gcc-2.95 & gcc-3.2.2 .

Change the IPv6 option in your config from Y to M. That is a workaround
until whoever fixes that. I get it too.

-David

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