[Buildroot] [PATCH 7/8] avahi: needs IPv6

Peter Korsgaard jacmet at uclibc.org
Mon May 17 13:00:43 UTC 2010


>>>>> "Peter" == Peter Korsgaard <jacmet at uclibc.org> writes:

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
 Thomas> Otherwise the build fails with:
 Thomas> socket.c: In function 'avahi_mdns_mcast_join_ipv6':
 Thomas> socket.c:159: error: 'IPV6_DROP_MEMBERSHIP' undeclared (first use in this function)
 Thomas> socket.c:159: error: (Each undeclared identifier is reported only once
 Thomas> socket.c:159: error: for each function it appears in.)
 Thomas> socket.c:161: error: 'IPV6_ADD_MEMBERSHIP' undeclared (first use in this function)

 Peter> Strange, I'm using it here with a non-ipv6 / non-locale toolchain.

Looking closer I see that's with uclibc 0.9.30 - On 0.9.31 those defines
are protected by __UCLIBC_HAS_IPV6__.

I'll add a patch #ifdef'ing those functions out if not available, which
should give the same behaviour as with < 0.9.31.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list