[Openswan Users] Error / Kernel 3.9.x

Dennis Kelbert denniskelbert at gmail.com
Mon May 27 15:23:35 UTC 2013


Hi.
I'm trying to compile OpenSwan, but with Kernel > 3.9.x it cant be done.






  CC [M]  /usr/src/kernel/openswan-2.6.39dr4/modobj26/sysctl_net_ipsec.o
  CC [M]  /usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.o
/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1166:40: error:
macro "sk_for_each" passed 3 arguments, but takes just 2
/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c: In function
‘pfkey_get_info’:
/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1166: error:
‘sk_for_each’ undeclared (first use in this function)
/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1166: error: (Each
undeclared identifier is reported only once
/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1166: error: for
each function it appears in.)
/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1166: error:
expected ‘;’ before ‘{’ token
/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1156: warning:
unused variable ‘sk’
/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1152: warning:
unused variable ‘node’
/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1150: warning:
unused variable ‘max_content’
/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c: In function
‘pfkey_cleanup’:
/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1575: error:
implicit declaration of function ‘proc_net_remove’
make[3]: ** [/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.o] Erro 1
make[2]: ** [_module_/usr/src/kernel/openswan-2.6.39dr4/modobj26] Erro 2
make[2]: Saindo do diretório `/usr/src/kernel/linux-3.9.0'
make[1]: ** [module26] Erro 2
make[1]: Saindo do diretório `/usr/src/kernel/openswan-2.6.39dr4'
make: ** [module] Erro 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openswan.org/pipermail/users/attachments/20130527/c346f673/attachment.html>


More information about the Users mailing list