[Openswan Users] Error compiling 2.5.17 (KLIPS, vanilla kernel)

Muenz, Michael m.muenz at spam-fetish.org
Thu Mar 6 05:29:50 EST 2008


Hi,

today I plan to upgrade my VPN-Server from 2.4.11 (KLIPS, NAT-T)
to 2.5.17. It's a Debian Etch with a 2.6.23.14 vanilla kernel.

"make programs" does it's job very well, but when executing
"make module" I get:

ln -s -f /root/source/openswan-2.5.17/linux/net/ipsec/ipsec_tunnel.c 
/root/source/openswan-2.5.17/modobj26/ipsec_tunnel.c
   CC [M]  /root/source/openswan-2.5.17/modobj26/ipsec_tunnel.o
/root/source/openswan-2.5.17/modobj26/ipsec_tunnel.c: In function 
ipsec_xmit_state_cache_init:
/root/source/openswan-2.5.17/modobj26/ipsec_tunnel.c:1895: error: 
invalid application of sizeof to incomplete type struct ipsec_ixs
/root/source/openswan-2.5.17/modobj26/ipsec_tunnel.c:1895: error: 
invalid application of __alignof__ to incomplete type struct ipsec_ixs
/root/source/openswan-2.5.17/modobj26/ipsec_tunnel.c:1888: warning: 
unused variable ipsec_ixs
make[3]: *** [/root/source/openswan-2.5.17/modobj26/ipsec_tunnel.o] Error 1
make[2]: *** [_module_/root/source/openswan-2.5.17/modobj26] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.23.14'
make[1]: *** [module26] Error 2
make[1]: Leaving directory `/root/source/openswan-2.5.17'
make: *** [module] Error 2


Can't find anything suitable with google. Any ideas?

Thanks
Michael


More information about the Users mailing list