Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dhcpcd breaks build w/o IPv6



On Wed, Aug 01, 2012 at 12:28:50PM -0700, Scott Ellis wrote:
> Building -current on amd64 with build.sh and MKINET6=no yields:
> 
> [snip]
> ipv6.o: In function `make_prefix':
> ipv6.c:(.text+0x2ca): undefined reference to `in6addr_any'
> ipv6.c:(.text+0x2d5): undefined reference to `in6addr_any'
> ipv6.o: In function `desc_route':
> ipv6.c:(.text+0x41f): undefined reference to `in6addr_any'
> ipv6.o: In function `ipv6_build_routes':
> ipv6.c:(.text+0x636): undefined reference to `in6addr_any'
> ipv6.c:(.text+0x63d): undefined reference to `in6addr_any'
> ipv6.o:ipv6.c:(.text+0x972): more undefined references to
> `in6addr_any' follow
> collect2: ld returned 1 exit status
> [snip]
> 
> I don't see anything even attempting an #ifdef.

#ifdefs, yuck. :-)  Use the linker, Luke....

http://mail-index.netbsd.org/tech-userlevel/2012/07/26/msg006577.html

Dave

-- 
David Young
dyoung%pobox.com@localhost    Urbana, IL    (217) 721-9981


Home | Main Index | Thread Index | Old Index