<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi.</span><div><span style="font-family:arial,sans-serif;font-size:13px">I'm trying to compile OpenSwan, but with Kernel > 3.9.x it cant be done.</span><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div><div style="font-family:arial,sans-serif;font-size:13px"> CC [M] /usr/src/kernel/openswan-2.6.39dr4/modobj26/sysctl_net_ipsec.o</div><div style="font-family:arial,sans-serif;font-size:13px">
CC [M] /usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.o</div><div style="font-family:arial,sans-serif;font-size:13px">/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1166:40: <span style="background-color:rgb(255,0,0)">error: macro "sk_for_each" passed 3 arguments, but takes just 2</span></div>
<div style="font-family:arial,sans-serif;font-size:13px">/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c: In function ‘pfkey_get_info’:</div><div style="font-family:arial,sans-serif;font-size:13px">/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1166: error: ‘sk_for_each’ undeclared (first use in this function)</div>
<div style="font-family:arial,sans-serif;font-size:13px">/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1166: error: (Each undeclared identifier is reported only once</div><div style="font-family:arial,sans-serif;font-size:13px">
/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1166: error: for each function it appears in.)</div><div style="font-family:arial,sans-serif;font-size:13px">/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1166: error: expected ‘;’ before ‘{’ token</div>
<div style="font-family:arial,sans-serif;font-size:13px">/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1156: warning: unused variable ‘sk’</div><div style="font-family:arial,sans-serif;font-size:13px">/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1152: warning: unused variable ‘node’</div>
<div style="font-family:arial,sans-serif;font-size:13px">/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1150: warning: unused variable ‘max_content’</div><div style="font-family:arial,sans-serif;font-size:13px">/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c: In function ‘pfkey_cleanup’:</div>
<div style="font-family:arial,sans-serif;font-size:13px">/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.c:1575: error: implicit declaration of function ‘proc_net_remove’</div><div style="font-family:arial,sans-serif;font-size:13px">
make[3]: ** [/usr/src/kernel/openswan-2.6.39dr4/modobj26/pfkey_v2.o] Erro 1</div><div style="font-family:arial,sans-serif;font-size:13px">make[2]: ** [_module_/usr/src/kernel/openswan-2.6.39dr4/modobj26] Erro 2</div><div style="font-family:arial,sans-serif;font-size:13px">
make[2]: Saindo do diretório `/usr/src/kernel/linux-3.9.0'</div><div style="font-family:arial,sans-serif;font-size:13px">make[1]: ** [module26] Erro 2</div><div style="font-family:arial,sans-serif;font-size:13px">make[1]: Saindo do diretório `/usr/src/kernel/openswan-2.6.39dr4'</div>
<div style="font-family:arial,sans-serif;font-size:13px">make: ** [module] Erro 2</div></div></div></div>