[Openswan Users] 2.6.41 build error

Neal Murphy neal.p.murphy at alum.wpi.edu
Fri Aug 15 02:05:23 EDT 2014


This is for a fresh build of Smoothwall 3.1 RC6.

Building openswan 2.6.41 for linux 3.4.103:

---------------
/build/sources/openswan/openswan-2.6.41/modobj26/ipsec_xmit.c: In function 
'ipsec_xmit_ipip':
/build/sources/openswan/openswan-2.6.41/modobj26/ipsec_xmit.c:1172:3: warning: 
passing argument 2 of '__ip_select_ident' makes integer from pointer without a 
cast [enabled by default]
In file included from include/net/tcp.h:42:0,
                 from 
/build/sources/openswan/openswan-2.6.41/modobj26/ipsec_xmit.c:46:
include/net/ip.h:268:6: note: expected 'int' but argument is of type 'struct 
dst_entry *'
/build/sources/openswan/openswan-2.6.41/modobj26/ipsec_xmit.c:1172:3: error: 
too many arguments to function '__ip_select_ident'
In file included from include/net/tcp.h:42:0,
                 from 
/build/sources/openswan/openswan-2.6.41/modobj26/ipsec_xmit.c:46:
include/net/ip.h:268:6: note: declared here
make[4]: *** [/build/sources/openswan/openswan-2.6.41/modobj26/ipsec_xmit.o] 
Error 1
---------------

Happens with 'make -j 1' and 'make -j 8'.

It was building OK up to linux 3.4.98. Did something in the kernel change?

Thanks,
N


More information about the Users mailing list