<div dir="ltr"><div>It works!<br></div>Thank you very much,Eric.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/27 Eric Leblond <span dir="ltr"><<a href="mailto:eric@regit.org" target="_blank">eric@regit.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, 2013-11-26 at 09:12 +0800, modversion wrote:<br>
> All headers and libs was installed to /usr/local/include<br>
> and /usr/local/lib ,and I've point the path to them.<br>
> --with-libpfring-includes=/<br>
><br>
> usr/local/include/ --with-libpfring-libraries=/usr/local/lib/<br>
> --with-libpcap-includes=/usr/local/include/<br>
> --with-libpcap-libraries=/usr/local/lib<br>
><br>
><br>
> Would you like to tell me what shall I do ?<br>
<br>
</div>This is a a configuration change in recent pf_ring. You can fix the<br>
build by adding LIBs="-lrt" at start of your configure call:<br>
<br>
LIBS="-lrt" ./configure<br>
<br>
BR,<br>
<div><div class="h5"><br>
><br>
> Thank you !<br>
><br>
><br>
><br>
><br>
><br>
> 2013/11/26 Charlie Jr. <<a href="mailto:cdevoe57@nycap.rr.com">cdevoe57@nycap.rr.com</a>><br>
>         You need to move the headers and libraries or change the path<br>
>         so they the point to them.<br>
><br>
><br>
><br>
>         From: <a href="mailto:discussion-bounces@lists.openinfosecfoundation.org">discussion-bounces@lists.openinfosecfoundation.org</a><br>
>         [mailto:<a href="mailto:discussion-bounces@lists.openinfosecfoundation.org">discussion-bounces@lists.openinfosecfoundation.org</a>] On<br>
>         Behalf Of modversion<br>
>         Sent: Monday, November 25, 2013 7:51 PM<br>
>         To: <a href="mailto:discussion@lists.openinfosecfoundation.org">discussion@lists.openinfosecfoundation.org</a><br>
>         Subject: [Discussion] suricata with pfring clock_gettime error<br>
><br>
><br>
><br>
>         I checked out pfring from svn,compiled the lib and libpcap<br>
>         with ./configure ; make ; make install .All files were install<br>
>         to /usr/local/.<br>
><br>
><br>
>         Then I compiled suricata-2.0beta1 with ./configure<br>
>         --enable-pfring --with-libpfring-includes=/usr/local/include/<br>
>         --with-libpfring-libraries=/usr/local/lib/<br>
>         --with-libpcap-includes=/usr/local/include/<br>
>         --with-libpcap-libraries=/usr/local/lib ,but it returns "<br>
>         ERROR! --enable-pfring was passed but the library was not<br>
>         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>"<br>
><br>
><br>
>         I grep the pfring from config.log, it returns<br>
>         "/usr/local/lib//libpfring.so: undefined reference to<br>
>         `clock_gettime'"<br>
><br>
><br>
>         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)<br>
><br>
><br>
>         I did all in centos 6.4 x86_64 os.<br>
><br>
><br>
>         How can I fix it ?Thank you !<br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Discussion mailing list<br>
> <a href="mailto:Discussion@lists.openinfosecfoundation.org">Discussion@lists.openinfosecfoundation.org</a><br>
> <a href="https://lists.openinfosecfoundation.org/mailman/listinfo/discussion" target="_blank">https://lists.openinfosecfoundation.org/mailman/listinfo/discussion</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Leblond <<a href="mailto:eric@regit.org">eric@regit.org</a>><br>
<br>
</font></span></blockquote></div><br></div>