Error building ocserv 0.2.2

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

 



On Sun, 2013-12-08 at 00:53 +0100, Per Juborg wrote:
> Hi,
> 
> I tested bith moving it and removing the include of net/if.h, both helped.
> 
> Then I ran in to another include in tun.c to "net/if_tun.h" that don't exist in Apple headers so I removed that one.
> 
> Now it got a bit more complicated. Can anyone make anything out of this?
> 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       icmp-ping.o
> In file included from icmp-ping.c:76:
> /usr/include/netinet/ip_icmp.h:92:4: error: unknown type name 'n_short'; did you mean 'u_short'?
>                         n_short icd_id;

Try adding:
#include <netinet/in_systm.h>
before ip_icmp.h.

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