[Openswan dev] Openswan on OSX GSoC code merged in git master

Paul Wouters paul at xelerance.com
Tue Jan 26 12:49:51 EST 2010

On Tue, 26 Jan 2010, Jose Quaresma wrote:

>>> I got a problem with net/if.h, but adding this #include <sys/socket.h> in the previous line fixed it.
>> Which file is that?
> Eiks, sorry. added it in /programs/pluto/nat_traversal.c

Okay, I've added that.

>>> Now there is another error. It says that, in nat_traversal.c, ‘IPSEC_UDP_ENCAP_CONVERT’ is undeclared.
>>> It is declared in the ipsec_tunnel.h, but inside an #if defined(KLIPS). KLIPS is not defined when compiling in osx?
>> Can you check if you have USE_KLIPS=false in Makefile.inc? Or an environment
>> variable set with that name to false?
> in Makefile its USE_KLIPS?=true. but I found USE_KLIPS=false in packaging/defaults/darwin, but when i change it to true, i get a compilation errors
> before than when is set to false. In file lib/libopenswan/udpfromto.c: ‘SOL_IP’ undeclared, ‘IP_PKTINFO’ undeclared, etc.

I'll have to check this later, when I have time to do an OSX compile.


More information about the Dev mailing list