Regression in hostap build using HS20 and proxyarp

Peer, Ilan ilan.peer
Tue Nov 25 06:32:31 PST 2014


Hi,

I tried building hwsim with the default example configuration files using the latest master, but this failed the hostapd compilation with the below error. 

I tried resolving this by moving includes, changing include order etc. without much success. Apparently this is a known issue (for example see http://www.redhat.com/archives/libvir-list/2013-January/msg01084.html)

Any ideas on to resolve this are welcomed :)

Thanks in advance,

Ilan.

In file included from /usr/include/linux/ipv6.h:5:0,
                 from ../src/ap/ndisc_snoop.c:10:
/usr/include/linux/in6.h:30:8: error: redefinition of 'struct in6_addr'
 struct in6_addr {
        ^
In file included from /home/hipluser/devel/hostap/maintain/jouni/src/utils/includes.h:41:0,
                 from ../src/ap/ndisc_snoop.c:9:
/usr/include/netinet/in.h:197:8: note: originally defined here
 struct in6_addr
        ^
In file included from /usr/include/linux/ipv6.h:5:0,
                 from ../src/ap/ndisc_snoop.c:10:
/usr/include/linux/in6.h:41:8: error: redefinition of 'struct sockaddr_in6'
 struct sockaddr_in6 {
        ^
In file included from /home/hipluser/devel/hostap/maintain/jouni/src/utils/includes.h:41:0,
                 from ../src/ap/ndisc_snoop.c:9:
/usr/include/netinet/in.h:238:8: note: originally defined here
 struct sockaddr_in6
        ^
In file included from /usr/include/linux/ipv6.h:5:0,
                 from ../src/ap/ndisc_snoop.c:10:
/usr/include/linux/in6.h:49:8: error: redefinition of 'struct ipv6_mreq'
 struct ipv6_mreq {
        ^
In file included from /home/hipluser/devel/hostap/maintain/jouni/src/utils/includes.h:41:0,
                 from ../src/ap/ndisc_snoop.c:9:
/usr/include/netinet/in.h:274:8: note: originally defined here
 struct ipv6_mreq
        ^
make: *** [../src/ap/ndisc_snoop.o] Error 1
make: *** Waiting for unfinished jobs....



More information about the Hostap mailing list