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

Jose Quaresma josequaresma at gmail.com
Tue Jan 26 10:30:15 EST 2010

On Jan 26, 2010, at 4:13 PM, Paul Wouters wrote:

> On Tue, 26 Jan 2010, Jose Quaresma wrote:
>> I was here testing the compilation in OSX.
>> 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

>> 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.

> Paul


More information about the Dev mailing list