[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oisf-discussion
Subject:    Re: [Discussion] suricata with pfring clock_gettime error
From:       modversion <modversion () gmail ! com>
Date:       2013-12-06 6:39:22
Message-ID: CALXo+ww5hnUuMVGMPTaoAQ7uAN4vujvMVXiM2LytR8kpyC6e+A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


It works!
Thank you very much,Eric.


2013/11/27 Eric Leblond <eric@regit.org>

> On Tue, 2013-11-26 at 09:12 +0800, modversion wrote:
> > All headers and libs was installed to /usr/local/include
> > and /usr/local/lib ,and I've point the path to them.
> > --with-libpfring-includes=/
> >
> > usr/local/include/ --with-libpfring-libraries=/usr/local/lib/
> > --with-libpcap-includes=/usr/local/include/
> > --with-libpcap-libraries=/usr/local/lib
> >
> >
> > Would you like to tell me what shall I do ?
>
> This is a a configuration change in recent pf_ring. You can fix the
> build by adding LIBs="-lrt" at start of your configure call:
>
> LIBS="-lrt" ./configure
>
> BR,
>
> >
> > Thank you !
> >
> >
> >
> >
> >
> > 2013/11/26 Charlie Jr. <cdevoe57@nycap.rr.com>
> >         You need to move the headers and libraries or change the path
> >         so they the point to them.
> >
> >
> >
> >         From: discussion-bounces@lists.openinfosecfoundation.org
> >         [mailto:discussion-bounces@lists.openinfosecfoundation.org] On
> >         Behalf Of modversion
> >         Sent: Monday, November 25, 2013 7:51 PM
> >         To: discussion@lists.openinfosecfoundation.org
> >         Subject: [Discussion] suricata with pfring clock_gettime error
> >
> >
> >
> >         I checked out pfring from svn,compiled the lib and libpcap
> >         with ./configure ; make ; make install .All files were install
> >         to /usr/local/.
> >
> >
> >         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
> >            from http://www.ntop.org/PF_RING.html"
> >
> >
> >         I grep the pfring from config.log, it returns
> >         "/usr/local/lib//libpfring.so: undefined reference to
> >         `clock_gettime'"
> >
> >
> >         I've compiled the userland example and it seems works fine.
> >         [root@localhost examples]# ./alldevs
> >         1. dna0 (PF_RING DNA)
> >         2. em1 (PF_RING)
> >         3. usbmon1 (USB bus number 1)
> >         4. em2 (PF_RING)
> >
> >
> >         I did all in centos 6.4 x86_64 os.
> >
> >
> >         How can I fix it ?Thank you !
> >
> >
> >
> >
> > _______________________________________________
> > Discussion mailing list
> > Discussion@lists.openinfosecfoundation.org
> > https://lists.openinfosecfoundation.org/mailman/listinfo/discussion
>
> --
> Eric Leblond <eric@regit.org>
>
>

[Attachment #5 (text/html)]

<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">&lt;<a href="mailto:eric@regit.org" \
target="_blank">eric@regit.org</a>&gt;</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> &gt; All headers \
and libs was installed to /usr/local/include<br> &gt; and /usr/local/lib ,and \
I&#39;ve point the path to them.<br> &gt; --with-libpfring-includes=/<br>
&gt;<br>
&gt; usr/local/include/ --with-libpfring-libraries=/usr/local/lib/<br>
&gt; --with-libpcap-includes=/usr/local/include/<br>
&gt; --with-libpcap-libraries=/usr/local/lib<br>
&gt;<br>
&gt;<br>
&gt; 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=&quot;-lrt&quot; at start of your configure call:<br>
<br>
LIBS=&quot;-lrt&quot; ./configure<br>
<br>
BR,<br>
<div><div class="h5"><br>
&gt;<br>
&gt; Thank you !<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2013/11/26 Charlie Jr. &lt;<a \
href="mailto:cdevoe57@nycap.rr.com">cdevoe57@nycap.rr.com</a>&gt;<br> &gt;         \
You need to move the headers and libraries or change the path<br> &gt;         so \
they the point to them.<br> &gt;<br>
&gt;<br>
&gt;<br>
&gt;         From: <a \
href="mailto:discussion-bounces@lists.openinfosecfoundation.org">discussion-bounces@lists.openinfosecfoundation.org</a><br>
 &gt;         [mailto:<a \
href="mailto:discussion-bounces@lists.openinfosecfoundation.org">discussion-bounces@lists.openinfosecfoundation.org</a>] \
On<br> &gt;         Behalf Of modversion<br>
&gt;         Sent: Monday, November 25, 2013 7:51 PM<br>
&gt;         To: <a href="mailto:discussion@lists.openinfosecfoundation.org">discussion@lists.openinfosecfoundation.org</a><br>
 &gt;         Subject: [Discussion] suricata with pfring clock_gettime error<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         I checked out pfring from svn,compiled the lib and libpcap<br>
&gt;         with ./configure ; make ; make install .All files were install<br>
&gt;         to /usr/local/.<br>
&gt;<br>
&gt;<br>
&gt;         Then I compiled suricata-2.0beta1 with ./configure<br>
&gt;         --enable-pfring --with-libpfring-includes=/usr/local/include/<br>
&gt;         --with-libpfring-libraries=/usr/local/lib/<br>
&gt;         --with-libpcap-includes=/usr/local/include/<br>
&gt;         --with-libpcap-libraries=/usr/local/lib ,but it returns &quot;<br>
&gt;         ERROR! --enable-pfring was passed but the library was not<br>
&gt;         found or version is &gt;4, go get it<br>
&gt;            from <a href="http://www.ntop.org/PF_RING.html" \
target="_blank">http://www.ntop.org/PF_RING.html</a>&quot;<br> &gt;<br>
&gt;<br>
&gt;         I grep the pfring from config.log, it returns<br>
&gt;         &quot;/usr/local/lib//libpfring.so: undefined reference to<br>
&gt;         `clock_gettime&#39;&quot;<br>
&gt;<br>
&gt;<br>
&gt;         I&#39;ve compiled the userland example and it seems works fine.<br>
&gt;         [root@localhost examples]# ./alldevs<br>
&gt;         1. dna0 (PF_RING DNA)<br>
&gt;         2. em1 (PF_RING)<br>
&gt;         3. usbmon1 (USB bus number 1)<br>
&gt;         4. em2 (PF_RING)<br>
&gt;<br>
&gt;<br>
&gt;         I did all in centos 6.4 x86_64 os.<br>
&gt;<br>
&gt;<br>
&gt;         How can I fix it ?Thank you !<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Discussion mailing list<br>
&gt; <a href="mailto:Discussion@lists.openinfosecfoundation.org">Discussion@lists.openinfosecfoundation.org</a><br>
 &gt; <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 &lt;<a href="mailto:eric@regit.org">eric@regit.org</a>&gt;<br>
<br>
</font></span></blockquote></div><br></div>



_______________________________________________
Discussion mailing list
Discussion@lists.openinfosecfoundation.org
https://lists.openinfosecfoundation.org/mailman/listinfo/discussion


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic