[Openswan Users] kernel compilation error

Jorge Davila davila at nicaraguaopensource.com
Thu Aug 9 20:51:53 EDT 2007


Hello:

I received this error when compiling the kernel 2.6.22.1 with openswan 2.4.9 
and iptables 1.3.8. The compiler used is gcc 4.1.2 in a Debian Etch box.

   CC [M]  net/ipsec/ipsec_init.o
In file included from net/ipsec/ipsec_init.c:30:
include/openswan/ipsec_param.h:178: warning: ‘struct iphdr’ declared inside 
parameter list
include/openswan/ipsec_param.h:178: warning: its scope is only this 
definition or declaration, which is probably not what you want
In file included from net/ipsec/ipsec_init.c:90:
include/openswan/ipsec_proto.h:76: error: conflicting types for 
‘ipsec_print_ip’
include/openswan/ipsec_param.h:178: error: previous declaration of 
‘ipsec_print_ip’ was here
make[3]: *** [net/ipsec/ipsec_init.o] Error 1
make[2]: *** [net/ipsec] Error 2
make[1]: *** [net] Error 2
make[1]: se sale del directorio `/root/downloads/vpn/linux-2.6.22.1'
make: *** [debian/stamp-build-kernel] Error 2

Someone knows about this error?

Jorge Isaac Davila Lopez
Nicaragua Open Source
+505 430 5462
davila at nicaraguaopensource.com


More information about the Users mailing list