Compile error

Edmond Chu edmond25 at gmail.com
Tue Jul 7 18:58:08 PDT 2015


Hi,

When I try to update OCSERV to lastest version 0.10.6 from 0.10.1, it
prompts error as following:

  CC       worker-vpn.o
In file included from worker-vpn.c:51:
/usr/include/linux/in6.h:31: error: redefinition of ‘struct in6_addr’
/usr/include/linux/in6.h:48: error: redefinition of ‘struct sockaddr_in6’
/usr/include/linux/in6.h:56: error: redefinition of ‘struct ipv6_mreq’
make[3]: *** [worker-vpn.o] Error 1
make[3]: Leaving directory `/root/ocserv-0.10.6/src'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/root/ocserv-0.10.6/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/ocserv-0.10.6/src'
make: *** [install-recursive] Error 1


However, I compile 0.10.5 is updated successfully.

is bug in new version?

Regards,
Edmond



More information about the openconnect-devel mailing list