[Openswan Users] Error / Kernel 3.9.x

Simon Deziel simon at xelerance.com
Tue May 28 12:32:44 UTC 2013


Hi Dennis,

Thanks for reporting. The next release will address this issue and will
be available soon.

Regards,
Simon

On 13-05-27 11:23 AM, Dennis Kelbert wrote:
> 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
> 
> 
> _______________________________________________
> Users at lists.openswan.org
> https://lists.openswan.org/mailman/listinfo/users
> Micropayments: https://flattr.com/thing/38387/IPsec-for-Linux-made-easy
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
> 



More information about the Users mailing list