[Openswan dev] Error building klips-ipv6 (missing include?)

Ruben Laban r.laban at ism.nl
Thu Aug 12 04:12:07 EDT 2010

When I try to build the klips-ipv6 branch, I get the following error:

make[3]: Entering directory `/root/openswan-ipv6/OBJ.linux.i386/programs/tncfg'
cc -c -g -Werror -DSCANDIR_HAS_CONST  -I/root/openswan-ipv6/ports/linux/include  -I/root/openswan-ipv6/ports/linux/include  -I/root/openswan-
ipv6/ports/linux/include  -I/root/openswan-ipv6/ports/linux/include  -I/root/openswan-ipv6 -I/root/openswan-ipv6/linux/include -I/root/openswan-ipv6/include  -Wall -
Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast  -DKLIPS -DNAT_TRAVERSAL -DNAT_TRAVERSAL -DKERNEL_ALG -DIKE_ALG -
DFINALCONFDIR=\"/etc\" -DFINALCONFDDIR=\"/etc/ipsec.d\" -DFINALCONFFILE=\"/etc/ipsec.conf\" -DFINALVARDIR=\"/var\" -Werror /root/openswan-
cc1: warnings being treated as errors
In file included from /root/openswan-ipv6/programs/tncfg/tncfg.c:51:
/root/openswan-ipv6/linux/include/openswan/ipsec_tunnel.h:145: error: 'struct sk_buff' declared inside parameter list
/root/openswan-ipv6/linux/include/openswan/ipsec_tunnel.h:145: error: its scope is only this definition or declaration, which is probably not what you want
make[3]: *** [tncfg.o] Error 1

To me it appears to be a missing include file (containing the definition of struct sk_buff).

Ruben Laban

More information about the Dev mailing list