[Openswan Users] kernel 2.4.31 + KLIPS patch compilation error

Paul Wouters paul at xelerance.com
Wed Oct 5 19:01:05 CEST 2005


On Wed, 5 Oct 2005, Ethy H. Brito wrote:

> OpenSwan-2.4.2-dr1
> Kernel 2.4.31 with KLIPS patch applied.
>
> When making modules:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.31/include -Wall -Wstrict-prototypes -Wno-
> trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpref
> erred-stack-boundary=2 -march=i486  -DMODULE -DIPCOMP_PREFIX -nostdinc -iwithpre
> fix include -DKBUILD_BASENAME=ipsec_rcv  -c -o ipsec_rcv.o ipsec_rcv.c
> ipsec_rcv.c: In function `ipsec_rcv_natt_decap':
> ipsec_rcv.c:1266: error: structure has no member named `natt_sport'
> ipsec_rcv.c:1267: error: structure has no member named `natt_dport'
> ipsec_rcv.c:1292: error: structure has no member named `natt_type'
> ipsec_rcv.c:1293: error: structure has no member named `natt_len'
> ipsec_rcv.c:1299: error: structure has no member named `natt_type'
> ipsec_rcv.c:1300: error: structure has no member named `natt_len'
> make[2]: *** [ipsec_rcv.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.31/net/ipsec'
> make[1]: *** [_modsubdir_ipsec] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.31/net'
> make: *** [_mod_net] Error 2
>
> How to solve this??

I will be testing 2.4.2-dr1 at some point today or tomorrow myself. We might
need to rleease a dr2 with a fix for this.

> I kindly ask you to answer this quickly because I am on my dead line here.
> Boss is quite not satisfied with my results.

This list is a free community service. Please contact someone for commercial
support if you need to have things resolved within close dead lines.

Paul


More information about the Users mailing list