[Openswan Users] openswan 2.6.38 compiling error on linux kernel 2.6.22

Val histfak at gmail.com
Wed Oct 3 13:45:32 EDT 2012


Hello everyone.

I'm trying to compile vanilla linux 2.6.22 kernel from source with
NAT-T and KLIPS patches from the openswan distribution
(patches/kernel/2.6.22).

Patches are applied without any problems or warnings, but at compile
time, I get the following error:

net/ipv4/udp.c: In function ‘udp_lib_setsockopt’:
net/ipv4/udp.c:1477: error: ‘struct udp_sock’ has no member named ‘encap_rcv’
make[2]: *** [net/ipv4/udp.o] Error 1
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2

Does anyone have any solution?

I found no mention of this error on the internet, but I kept repeating
the action several times on two different systems, and always got the
same error.

Best Regards, Val


More information about the Users mailing list