[Openswan dev] ipcomp.c: structure has no member named `ips_comp_adapt_skip'

Axel Thimm Axel.Thimm at ATrpms.net
Sat Apr 10 10:54:14 CEST 2004


Hi,

I have built FC1 kernels with openswan 2.1.1 natt/kern patches
included and the following config:

CONFIG_IPSEC=m
CONFIG_IPSEC_IPIP=y
CONFIG_IPSEC_AH=y
CONFIG_IPSEC_AUTH_HMAC_MD5=y
CONFIG_IPSEC_AUTH_HMAC_SHA1=y
CONFIG_IPSEC_ESP=y
CONFIG_IPSEC_ENC_3DES=y
# CONFIG_IPSEC_IPCOMP is not set
CONFIG_IPSEC_DEBUG=y
# CONFIG_IPSEC_REGRESS is not set
CONFIG_IPSEC_NAT_TRAVERSAL=y

Building openswan against such a kernel (*), I get the following
error:
/usr/bin/gcc32  -DIPCOMP_PREFIX -I../../include -I/amd/heretic/1/data_nobkp/bach/bach-kernel/rhfc1/2.4.22-1.2174.nptl_44.rhfc1.at-i686/include -I../. ./lib/zlib  -Wall -DARCH=i386  -DMODVERSIONS -include /amd/heretic/1/data_nobkp/bach/bach-kernel/rhfc1/2.4.22-1.2174.nptl_44.rhfc1.at-i686/include/linux/modversions.h -include /tmp/atrpms-mykernel-2.4.22-1.2174.nptl_44.rhfc1.at-i686.h -DMODULE -DMODVERSIONS -include /amd/heretic/1/data_nobkp/bach/bach-kernel/rhfc1/2.4.22-1.2174.nptl_44.rhfc1.at-i686/include/linux/modversions.h -include /var/tmp/bach-build/BUILD/openswan-2.1.1/autoconf_ipsec.h  -D __KERNEL__ -I/amd/heretic/1/data_nobkp/bach/bach-kernel/rhfc1/2.4.22-1.2174.nptl_44.rhfc1.at-i686/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=ipcomp   -c -o ipcomp.o ipcomp.c
ipcomp.c: In function `skb_compress':
ipcomp.c:169: structure has no member named `ips_comp_adapt_skip'
ipcomp.c:173: structure has no member named `ips_comp_adapt_skip'
ipcomp.c:174: structure has no member named `ips_comp_adapt_skip'
ipcomp.c:256: structure has no member named `ips_comp_adapt_tries'
ipcomp.c:263: structure has no member named `ips_comp_adapt_skip'
ipcomp.c:265: structure has no member named `ips_comp_adapt_tries'
ipcomp.c:272: structure has no member named `ips_comp_adapt_skip'
ipcomp.c:273: structure has no member named `ips_comp_adapt_tries'
ipcomp.c:336: structure has no member named `ips_comp_adapt_skip'
ipcomp.c:337: structure has no member named `ips_comp_adapt_tries'
make[1]: *** [ipcomp.o] Error 1

Is there a way to get openswan building again on this kernel?

(*) It seems redundant to build again openswan's kernel module as an
    external build, but I want to be able to upgrade openswan w/o
    rebuilding the ATrpms' kernels and assorted kernel modules each
    time.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.openswan.org/pipermail/dev/attachments/20040410/fb9d4607/attachment-0001.bin


More information about the Dev mailing list