Compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux