[Openswan Users] Error compiling Openswan on 2.6.14.2

Mario Lobo mario.lobo at ipad.com.br
Tue Nov 22 08:22:17 CET 2005


Hi Paul;

Forgive me for writing directly to you but my attempts to write to the list got no reply so far. 

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:

[Snip] ----------------------------------------

LD      net/ieee80211/built-in.o
  CC      net/ipsec/ipsec_init.o
  CC      net/ipsec/ipsec_sa.o
  CC      net/ipsec/ipsec_radij.o
  CC      net/ipsec/radij.o
  CC      net/ipsec/ipsec_life.o
  CC      net/ipsec/ipsec_proc.o
  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
make[1]: *** [net/ipsec] Error 2
make: *** [net] Error 2

----------------------------------------------------

I tried openswan 2.4.4 but it yield the same results.

In kernel 2.6.13.2 (and previous kernels) this doesn´t happen. Could it be a .config switch that 
needs to be tweaked ? compiling options, perhaps (make.conf) ?

Thanks for any advice
-- 
   //|  //||
  // | // ||
-//--//---|| ARIO LOBO
//  //    ||
---------------------------------
mario.lobo at ipad.com.br
http://www.ipad.com.br



More information about the Users mailing list