[Openswan Users] Bug report: Openswan 2.3.1 + Linux 2.6.12-rc3 + KLIPS

Dirk Nehring dnehring at marcant.net
Mon May 2 16:10:37 CEST 2005


Hi,

I try to compile KLIPS support into the kernel, since SNAT/DNAT does not
work correctly with 2.6.x. My kernel is module only and failed while
compiling:

  CC      net/ipsec/pfkey_v2.o
net/ipsec/pfkey_v2.c: In function `pfkey_create':
net/ipsec/pfkey_v2.c:654: warning: passing arg 3 of `sk_alloc' makes pointer from integer without a cast
net/ipsec/pfkey_v2.c:654: warning: passing arg 4 of `sk_alloc' makes integer from pointer without a cast
net/ipsec/pfkey_v2.c:682: error: structure has no member named `sk_zapped'
net/ipsec/pfkey_v2.c: In function `pfkey_get_info':
net/ipsec/pfkey_v2.c:1486: error: structure has no member named `sk_zapped'
net/ipsec/pfkey_v2.c: At top level:
net/ipsec/pfkey_v2.c:1863: warning: "struct net_proto" declared inside parameter list
net/ipsec/pfkey_v2.c:1863: warning: its scope is only this definition or declaration, which is probably not what you want
make[2]: *** [net/ipsec/pfkey_v2.o] Error 1
make[1]: *** [net/ipsec] Error 2
make: *** [net] Error 2


Any ideas?

Dirk


More information about the Users mailing list