<div dir="ltr">Thank you for the reply.<div><br></div><div>The kernel version is: <span style="font-family:Calibri;font-size:11pt">3.13.0-57-generic. </span></div><div><span style="font-family:Calibri;font-size:11pt"><br></span></div><div><span style="font-family:Calibri;font-size:11pt">I checked ipsec_kversion.h, but how to do I know which kernel version are supported for KLIPS?</span></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Abhishek </div></div>
<br><div class="gmail_quote">On Thu, Jul 16, 2015 at 1:46 PM, Paul Wouters <span dir="ltr">&lt;<a href="mailto:paul@nohats.ca" target="_blank">paul@nohats.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 16 Jul 2015, Abhishek Gupta wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Subject: [Swan] Compile error in libreswan : error: too many arguments to<br>
    function ‘__ip_select_ident’<br>
</blockquote>
<br><span class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am getting the following compile error, using libreswan 3.12 and 3.13, on Ubuntu: <br>
</blockquote>
<br>
</span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In file included from /home/lab/agupta/new/libreswan-3.13/modobj/ipsec_xmit.c:57:0:<br>
<br>
/home/lab/agupta/new/libreswan-3.13/modobj/ipsec_xmit.c: In function ‘ipsec_xmit_ipip’:<br>
<br>
/home/lab/agupta/new/libreswan-3.13/linux/include/libreswan/ipsec_tunnel.h:33:42: warning: passing argument 2 of<br>
‘__ip_select_ident’ makes integer from point<br>
<br>
 #define lsw_ip4_hdr(ixirs)      ((struct iphdr *) (ixirs)-&gt;iph)<br>
</blockquote>
<br></span>
That is either a new kernel we do not yet support with KLIPS, or some<br>
kernel with backport we did not expect? As always, check<br>
ipsec_kversion.h for code related to our macros, eg KLIPS_IP_SELECT_IDENT<span class="HOEnZb"><font color="#888888"><br>
<br>
Paul<br>
</font></span></blockquote></div><br></div>