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

2 messages, 2 authors, 2007-02-13 · open the first message on its own page

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

From: Neil Brown <hidden>
Date: 2007-02-13 02:53:29

On Monday February 12, clem@clem.clem-digital.net wrote:
Quoting YOSHIFUJIHideaki/=?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?=
  > In article [off-list ref] (at Mon, 12 Feb 2007 18:12:16 -0800), Andrew Morton [off-list ref] says:
  > 
  > > > On Mon, 12 Feb 2007 20:10:13 -0500 (EST) Pete Clements [off-list ref] 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?

NeilBrown

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

From: David Miller <davem@davemloft.net>
Date: 2007-02-13 04:23:31

From: Neil Brown <redacted>
Date: Tue, 13 Feb 2007 13:52:26 +1100
On Monday February 12, clem@clem.clem-digital.net wrote:
quoted
Quoting YOSHIFUJIHideaki/=?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?=
  > In article [off-list ref] (at Mon, 12 Feb 2007 18:12:16 -0800), Andrew Morton [off-list ref] says:
  > 
  > > > On Mon, 12 Feb 2007 20:10:13 -0500 (EST) Pete Clements [off-list ref] 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.  
quoted
CONFIG_IPV6=m
combined with
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help