[Openswan Users] kernel 2.4.31 + KLIPS patch compilation error

Ethy H. Brito ethy.brito at inexo.com.br
Wed Oct 5 10:53:32 CEST 2005


Dears

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 kindly ask you to answer this quickly because I am on my dead line here.
Boss is quite not satisfied with my results.

Regards

Ethy


More information about the Users mailing list