Error building ocserv 0.2.2

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

 



On Fri, 2013-12-06 at 21:59 +0100, Per Juborg wrote:
> Hi,
> 
> That helped, but not all the way :(
> 
> Look at this:
> make
> make  all-recursive
> Making all in gl
> make  all-recursive
> make[4]: Nothing to be done for `all-am'.
> Making all in src
> Making all in pcl
> make[3]: Nothing to be done for `all'.
>   CC       worker-vpn.o
> In file included from worker-vpn.c:35:
> /usr/include/net/if.h:306:19: error: field has incomplete type 'struct sockaddr'
>                 struct  sockaddr ifru_addr;
>                                  ^
> /usr/include/net/if.h:306:10: note: forward declaration of 'struct sockaddr'

No idea what is that. It looks like an issue in this system's headers.
Could you try editing worker-vpn.c and moving the "include net/if.h" at
the end of the include list?

regards,
Nikos





[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