[Openswan Users] Error compiling Openswan on 2.6.14.2

Paul Wouters paul at xelerance.com
Tue Nov 22 16:46:29 CET 2005


On Tue, 22 Nov 2005, Mario Lobo wrote:

> I have sucessfully compiled openswan 2.4.0 on a 2.6.13.2 kernel, using KLIPS inside of it (no
> module). It is fully functional on a production (auto=add) machine, connected to other 10
> endpoints. I know, I know ("if it ain´t broke, don´t fix it") but I am trying to compile openswan
> 2.4.0 on a 2.6.14.2 kernel, because of an updated set of scsi/network/wireless drivers in it.
>
> It goes fine until:

>   CC      net/ipsec/ipsec_tunnel.o
> 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

openswan-2.4.5 will have support for the 2.6.14 kernel. Or you will have to
backport the 2.6.14 changed from cvs HEAD to a 2.4.x version yourself.

Paul


More information about the Users mailing list