[Snort-users] compiling daq in old custom environment...

Russ Combs rcombs at ...1935...
Tue Oct 5 16:24:53 EDT 2010


On Tue, Oct 5, 2010 at 4:13 PM, waldo kitty <wkitty42 at ...14940...> wrote:

>
> any clues about the following failure?
>
> Looks like you need to update your pcap library to at least 1.0.0 (1.1.1 or
later recommended).


> daq_pcap.c: In function `pcap_daq_open':
> daq_pcap.c:119: warning: implicit declaration of function `pcap_create'
> daq_pcap.c:119: warning: assignment makes pointer from integer without a
> cast
> daq_pcap.c:122: warning: implicit declaration of function
> `pcap_set_snaplen'
> daq_pcap.c:124: warning: implicit declaration of function
> `pcap_set_promisc'
> daq_pcap.c:126: warning: implicit declaration of function
> `pcap_set_timeout'
> daq_pcap.c:128: warning: implicit declaration of function
> `pcap_set_buffer_size'
> daq_pcap.c:130: warning: implicit declaration of function `pcap_activate'
> daq_pcap.c:155: error: `PCAP_ERROR' undeclared (first use in this function)
> daq_pcap.c:155: error: (Each undeclared identifier is reported only once
> daq_pcap.c:155: error: for each function it appears in.)
> daq_pcap.c:155: error: `PCAP_ERROR_NO_SUCH_DEVICE' undeclared (first use in
> this
> function)
> daq_pcap.c:155: error: `PCAP_ERROR_PERM_DENIED' undeclared (first use in
> this
> function)
> daq_pcap.c:158: warning: implicit declaration of function
> `pcap_statustostr'
> daq_pcap.c:158: warning: format argument is not a pointer (arg 5)
> make[4]: *** [libdaq_static_modules_la-daq_pcap.lo] Error 1
> make[4]: Leaving directory `/build/sources/daq/daq-0.2/os-daq-modules'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/build/sources/daq/daq-0.2'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/build/sources/daq/daq-0.2'
> make[1]: *** [compile] Error 2
> make[1]: Leaving directory `/build/sources/daq'
> Failed:
> daq FAILED
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Snort-users mailing list
> Snort-users at lists.sourceforge.net
> Go to this URL to change user options or unsubscribe:
> https://lists.sourceforge.net/lists/listinfo/snort-users
> Snort-users list archive:
> http://www.geocrawler.com/redir-sf.php3?list=snort-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20101005/cf48cd16/attachment.html>


More information about the Snort-users mailing list