[Openswan Users] Problem linux-2.6.22.2/openswan-2.4.9 KLIPS

Den brusok at gmail.com
Thu Aug 16 02:54:12 EDT 2007


Hi.
I can't compile linux-2.6.22.2/openswan-2.4.9 KLIPS.
Please, help me.

openswan-2.4.9>make nattpatch | (cd /usr/src/linux-2.6.22.2 && patch -p1)
patching file include/net/xfrmudp.h
patching file net/ipv4/Kconfig
Hunk #1 succeeded at 351 with fuzz 1.
patching file net/ipv4/udp.c
Hunk #1 succeeded at 110 with fuzz 1.
Hunk #2 succeeded at 922 with fuzz 2 (offset 25 lines).
Hunk #3 FAILED at 965.
Hunk #4 FAILED at 1085.
Hunk #5 FAILED at 1182.
Hunk #6 succeeded at 1759 (offset 146 lines).
3 out of 6 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej

/usr/src/linux-2.6.22.2>make
...
  IP: TCP syncookie support (disabled per default) (SYN_COOKIES) [N/y/?] n
  IPSEC NAT-Traversal (KLIPS compatible) (IPSEC_NAT_TRAVERSAL) [N/y/?] (NEW)
...

/usr/src/openswan-2.4.9>make KERNELSRC=/usr/src/linux-2.6 programs module
...
/usr/src/openswan-2.4.9/linux/include/openswan/ipsec_proto.h:76:
warning: "struct iphdr" declared inside parameter list
/usr/src/openswan-2.4.9/linux/include/openswan/ipsec_proto.h:76:
error: conflicting types for 'ipsec_print_ip'
/usr/src/openswan-2.4.9/linux/include/openswan/ipsec_param.h:178:
error: previous declaration of 'ipsec_print_ip' was here
/usr/src/openswan-2.4.9/linux/include/openswan/ipsec_proto.h:76:
error: conflicting types for 'ipsec_print_ip'
/usr/src/openswan-2.4.9/linux/include/openswan/ipsec_param.h:178:
error: previous declaration of 'ipsec_print_ip' was here
make[3]: *** [/usr/src/openswan-2.4.9/modobj26/ipsec_life.o] Error 1
make[2]: *** [_module_/usr/src/openswan-2.4.9/modobj26] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.22.2'


More information about the Users mailing list