Compile error

Edmond Chu edmond25 at gmail.com
Wed Jul 8 02:40:35 PDT 2015


I am only successfully to compile by remove  all lines following:

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

failed compilation even modified to

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

2015-07-08 17:01 GMT+08:00 Nikos Mavrogiannopoulos
<n.mavrogiannopoulos at gmail.com>:
> 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