[Swan] Compile error in libreswan : error: too many arguments to function ‘__ip_select_ident’
Paul Wouters
paul at nohats.ca
Thu Jul 16 23:46:06 EEST 2015
On Thu, 16 Jul 2015, Abhishek Gupta wrote:
> Subject: [Swan] Compile error in libreswan : error: too many arguments to
> function ‘__ip_select_ident’
> I am getting the following compile error, using libreswan 3.12 and 3.13, on Ubuntu:
> In file included from /home/lab/agupta/new/libreswan-3.13/modobj/ipsec_xmit.c:57:0:
>
> /home/lab/agupta/new/libreswan-3.13/modobj/ipsec_xmit.c: In function ‘ipsec_xmit_ipip’:
>
> /home/lab/agupta/new/libreswan-3.13/linux/include/libreswan/ipsec_tunnel.h:33:42: warning: passing argument 2 of
> ‘__ip_select_ident’ makes integer from point
>
> #define lsw_ip4_hdr(ixirs) ((struct iphdr *) (ixirs)->iph)
That is either a new kernel we do not yet support with KLIPS, or some
kernel with backport we did not expect? As always, check
ipsec_kversion.h for code related to our macros, eg KLIPS_IP_SELECT_IDENT
Paul
More information about the Swan
mailing list