Re: 2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type

From: David Miller
Date: Mon Feb 12 2007 - 23:23:48 EST


From: Neil Brown <neilb@xxxxxxx>
Date: Tue, 13 Feb 2007 13:52:26 +1100

> On Monday February 12, clem@xxxxxxxxxxxxxxxxxxxxx wrote:
> > Quoting YOSHIFUJIHideaki/=?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?=
> > > In article <20070212181216.c55ca788.akpm@xxxxxxxxxxxxxxxxxxxx> (at Mon, 12 Feb 2007 18:12:16 -0800), Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> says:
> > >
> > > > > On Mon, 12 Feb 2007 20:10:13 -0500 (EST) Pete Clements <clem@xxxxxxxxxxxxxxxxxxxxx> wrote:
> > > > > 2.6.20-git8 fails compile:
> > > > >
> > > > > CHK include/linux/compile.h
> > > > > UPD include/linux/compile.h
> > > > > CC init/version.o
> > > > > LD init/built-in.o
> > > > > LD .tmp_vmlinux1
> > > > > net/built-in.o: In function `svc_udp_recvfrom':
> > > > > svcsock.c:(.text+0x61be4): undefined reference to `__ipv6_addr_type'
> > > > > make: *** [.tmp_vmlinux1] Error 1
> > > > >
>
> Hmmm.
>
> > CONFIG_IPV6=m
> combined with
> > CONFIG_SUNRPC=y
>
> is a combination that isn't going to work at the moment....
>
> Options?
>
> - Move __ipv6_addr_type to lib/ ??
> Might not work for modules.
> - Disallow that combination in the .config.
> .. a bit harsh.
> - Only include IPv6 support in SUNRPC is a module or IPV6 is built-in
> A bit of a kludge..
>
> Chuck? Any ideas?

Make the proper dependencies, so that SUNRPC is only possibly built
modular is IPV6 is modular, that's the correct way to do this.
-
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/