[Openswan Users] Compile error: sk_zapped in pfkey_v2

Bas Rijniersce bas at brijn.nu
Thu Feb 15 17:26:51 EST 2007


Hi,
 
I'm trying to compile openswan from cvs (cvs -d
:pserver:anoncvs at anoncvs.openswan.org:/public/cvs co openswan-2) on a Fedora
Core 4 system with kernel 2.6.11-1.1369
The following error comes up:
 
  CC [M]  /usr/src/openswan-2/modobj26/pfkey_v2.o
/usr/src/openswan-2/modobj26/pfkey_v2.c: In function âpfkey_createâ:
/usr/src/openswan-2/modobj26/pfkey_v2.c:684: warning: passing argument 3 of
âsk_allocâ makes pointer from integer without a cast
/usr/src/openswan-2/modobj26/pfkey_v2.c:684: warning: passing argument 4 of
âsk_allocâ makes integer from pointer without a cast
/usr/src/openswan-2/modobj26/pfkey_v2.c: In function âpfkey_get_infoâ:
/usr/src/openswan-2/modobj26/pfkey_v2.c:1504: error: âstruct sockâ has no
member named âsk_zappedâ
make[3]: *** [/usr/src/openswan-2/modobj26/pfkey_v2.o] Error 1
make[2]: *** [_module_/usr/src/openswan-2/modobj26] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i586'
make[1]: *** [module26] Error 2
make[1]: Leaving directory `/usr/src/openswan-2'
make: *** [module] Error 2

Google showed me a patch that talked about sk_zapped missing in 2.6.12
(instead using SOCK flags i think). Apparently that patch is not in the
version I try to compile? Is there another version I can get from CVS or
other trick to get it to compile?
 
Tx,
Bas

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.17.39/687 - Release Date: 14/02/2007
4:17 PM
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20070215/10e8dacb/attachment.html 


More information about the Users mailing list