[Openswan Users] Kernel 2.6.14 compile attempt
Mario Lobo
mario.lobo at ipad.com.br
Mon Nov 7 11:55:52 CET 2005
Hi to all;
I have successfully compiled/tested/production-using openswan 2.4.0 on a 2.6.13.4 kernel, using the
ipsec inertfaces (not as modules!).
I was compiling a recently downloaded and klips patched 2.6.14 kernel when I got those messages
bellow:
net/ipsec/ipsec_tunnel.c: In function `ipsec_tunnel_SAlookup':
net/ipsec/ipsec_tunnel.c:279: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:279: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:279: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:280: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:280: error: dereferencing pointer to incomplete type
net/ipsec/ipsec_tunnel.c:280: error: dereferencing pointer to incomplete type
make[2]: *** [net/ipsec/ipsec_tunnel.o] Error 1
make[1]: *** [net/ipsec] Error 2
make: *** [net] Error 2
I´ve look at all 2.4.x and 2.3.x version I have and lines 279/280 are all the same, so I figured
there must be something on the kernel version.
if(ixs->skb->sk) {
#ifdef NET_26
struct tcp_tw_bucket *tw;
tw = (struct tcp_tw_bucket *)ixs->skb->sk;
279 ixs->sport = ntohs(tw->tw_sport);
280 ixs->dport = ntohs(tw->tw_dport);
#else
ixs->sport = ntohs(ixs->skb->sk->sport);
ixs->dport = ntohs(ixs->skb->sk->dport);
#endif
}
any ideas?
Thanks
--
//| //||
// | // ||
-//--//---|| ARIO LOBO
// // ||
---------------------------------
mario.lobo at ipad.com.br
http://www.ipad.com.br
More information about the Users
mailing list