<div dir="ltr">Just wanted to give an update. <div><br></div><div>I changed the <span style="font-size:12.8000001907349px">ipsec_kversion.h</span><span style="font-size:12.8000001907349px">  file to include my kernel version in the backported version and it has compiled now.</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 2:30 PM, Abhishek Gupta <span dir="ltr">&lt;<a href="mailto:abhigup1986@gmail.com" target="_blank">abhigup1986@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div>Abhishek </div></div></font></span><div><div class="h5">
<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>
<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><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><font color="#888888"><br>
<br>
Paul<br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div>