Hi, I've read the instructions at
http://wiki.strongswan.org/projects/strongswan/wiki/FreeBSD I've applied the patch described here (that's why I omitted "--enable-vstr" from the configure invocation): http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/133776 Nevertheless, I still had to add #include <stdint.h> to src/libcharon/config/child_cfg.c in order to proceed further, since UINT64_MAX wasn't declared. However, I'm currently stuck here === libtool: compile: gcc -DPACKAGE_NAME=\"strongSwan\" -DPACKAGE_TARNAME=\"strongswan\" -DPACKAGE_VERSION=\"4.4.0\" "-DPACKAGE_STRING=\"strongSwan 4.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"strongswan\" -DVERSION=\"4.4.0\" -DIPSEC_GROUP=\"wheel\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_ALLOCA=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_DLADDR=1 -DHAVE_CONDATTR_CLOCK_MONOTONIC=1 -DHAVE_PTHREAD_CONDATTR_INIT=1 -DHAVE_PTHREAD_CANCEL=1 -DHAVE_PTHREAD_RWLOCK_INIT=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_NET_PFKEYV2_H=1 -DHAVE_NETIPSEC_IPSEC_H=1 -DHAVE_STRUCT_SOCKADDR_SA_LEN=1 -DHAVE_IN6ADDR_ANY=1 -DHAVE_IN6_PKTINFO=1 -DHAVE_GCC_ATOMIC_OPERATIONS=1 -DHAVE_PRINTF_FUNCTION=1 -DHAVE_LIBGMP=1 -DHAVE_MPZ_POWM_SEC=1 -I. -I../../../../src/include -I../../../../src/libstrongswan -I../../../../src/libhydra -I../../../../src/libcharon -I/usr/pkg/include -rdynamic -g -O2 -Wall -Wno-format -Wno-pointer-sign -Wno-strict-aliasing -MT kernel_pfkey_ipsec.lo -MD -MP -MF .deps/kernel_pfkey_ipsec.Tpo -c kernel_pfkey_ipsec.c -fPIC -DPIC -o .libs/kernel_pfkey_ipsec.o kernel_pfkey_ipsec.c: In function 'receive_events': kernel_pfkey_ipsec.c:1141: error: 'SADB_X_NAT_T_NEW_MAPPING' undeclared (first use in this function) kernel_pfkey_ipsec.c:1141: error: (Each undeclared identifier is reported only once kernel_pfkey_ipsec.c:1141: error: for each function it appears in.) gmake[4]: *** [kernel_pfkey_ipsec.lo] Error 1 === I'm doing this on a HP DL320G5p system (it's 64bit capable so I chose the amd64 variant). Sorry, I don't have the in depth knowledge of FreeBSD's NAT-T implementation in order to fix this myself. Any hints as to how to get rid of this error? Thanks in advance & kind regards, Holger
signature.asc
Description: Digital signature
_______________________________________________ Users mailing list [email protected] https://lists.strongswan.org/mailman/listinfo/users
