Compile error

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Wed Jul 8 02:01:24 PDT 2015


On Wed, Jul 8, 2015 at 3:58 AM, Edmond Chu <edmond25 at gmail.com> wrote:
> Hi,
> When I try to update OCSERV to lastest version 0.10.6 from 0.10.1, it
> prompts error as following:

I realized the is a conflict in some versions of glibc. If you change
in worker-vpn.c the following

#ifdef __linux__
/* for IPV6_PATHMTU */
# include <linux/in6.h>
#endif

with

#if defined(__linux__) && !defined(IPV6_PATHMTU)
/* for IPV6_PATHMTU */
# include <linux/in6.h>
#endif

does it avoid the compilation error?



More information about the openconnect-devel mailing list