View Single Post
  #5   (View Single Post)  
Old 21st May 2008
hex hex is offline
New User
 
Join Date: May 2008
Posts: 3
Default

I also got the port version of openvpn-2.1rc7. It seems to be the same file as from the http://openvpn.net/index.php/downloads.html. I too ha the same error with `IFF_MULTICAST' and I followed the s2scott's fix but now I get

/usr/include/net/if.h:224: error: `AF_MAX' undeclared here (not in a function)
/usr/include/net/if.h:556: error: field `ifru_addr' has incomplete type
/usr/include/net/if.h:557: error: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:558: error: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:575: error: field `ifra_addr' has incomplete type
/usr/include/net/if.h:576: error: field `ifra_dstaddr' has incomplete type
/usr/include/net/if.h:578: error: field `ifra_mask' has incomplete type
/usr/include/net/if.h:616: error: field `addr' has incomplete type
/usr/include/net/if.h:617: error: field `dstaddr' has incomplete type
In file included from /usr/include/net/if.h:634,
from tun.c:40:
/usr/include/net/if_arp.h:79: error: field `arp_pa' has incomplete type
/usr/include/net/if_arp.h:80: error: field `arp_ha' has incomplete type
*** Error code 1

Stop in /usr/src/openvpn-2.1_rc7 (line 92 of /usr/share/mk/sys.mk).


Anybody encountered this?
Reply With Quote