<div dir="ltr">All headers and libs was installed to /usr/local/include and /usr/local/lib ,and I've point the path to them.<br>--with-libpfring-includes=/<p class="MsoNormal">usr/local/include/ --with-libpfring-libraries=/usr/local/lib/ --with-libpcap-includes=/usr/local/include/ --with-libpcap-libraries=/usr/local/lib</p>
<p class="MsoNormal"><br></p><p class="MsoNormal">Would you like to tell me what shall I do ?</p><p class="MsoNormal">Thank you !<br></p><br><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/26 Charlie Jr. <span dir="ltr"><<a href="mailto:cdevoe57@nycap.rr.com" target="_blank">cdevoe57@nycap.rr.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">You need to move the headers and libraries or change the path so they the point to them.  <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif""> <a href="mailto:discussion-bounces@lists.openinfosecfoundation.org" target="_blank">discussion-bounces@lists.openinfosecfoundation.org</a> [mailto:<a href="mailto:discussion-bounces@lists.openinfosecfoundation.org" target="_blank">discussion-bounces@lists.openinfosecfoundation.org</a>] <b>On Behalf Of </b>modversion<br>
<b>Sent:</b> Monday, November 25, 2013 7:51 PM<br><b>To:</b> <a href="mailto:discussion@lists.openinfosecfoundation.org" target="_blank">discussion@lists.openinfosecfoundation.org</a><br><b>Subject:</b> [Discussion] suricata with pfring clock_gettime error<u></u><u></u></span></p>
<div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><div><div><div><div><p class="MsoNormal">I checked out pfring from svn,compiled the lib and libpcap with ./configure ; make ; make install .All files were install to /usr/local/.<u></u><u></u></p>
</div><p class="MsoNormal" style="margin-bottom:12pt">Then I compiled suricata-2.0beta1 with ./configure --enable-pfring --with-libpfring-includes=/usr/local/include/ --with-libpfring-libraries=/usr/local/lib/ --with-libpcap-includes=/usr/local/include/ --with-libpcap-libraries=/usr/local/lib ,but it returns "   ERROR! --enable-pfring was passed but the library was not found or version is >4, go get it<br>
   from <a href="http://www.ntop.org/PF_RING.html" target="_blank">http://www.ntop.org/PF_RING.html</a>"<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12pt">I grep the pfring from config.log, it returns "/usr/local/lib//libpfring.so: undefined reference to `clock_gettime'"<u></u><u></u></p>
</div><p class="MsoNormal" style="margin-bottom:12pt">I've compiled the userland example and it seems works fine.<br>[root@localhost examples]# ./alldevs<br>1. dna0 (PF_RING DNA)<br>2. em1 (PF_RING)<br>3. usbmon1 (USB bus number 1)<br>
4. em2 (PF_RING)<u></u><u></u></p></div><div><p class="MsoNormal">I did all in centos 6.4 x86_64 os.<u></u><u></u></p></div><p class="MsoNormal">How can I fix it ?Thank you !<u></u><u></u></p></div></div></div></div></div>
</blockquote></div><br></div></div></div>