Snort mailing list archives

problems compiling 2.7.0.1 on Open BSD


From: Russell Fulton <r.fulton () auckland ac nz>
Date: Tue, 14 Aug 2007 15:59:17 +1200

Hi folks,

Continuing my effort to update snort to 2.7.0.1 on all my sensors I am
having problems with undefined symbols in some of the pcap includes on
Open BSD:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil 
-I../src/output-plugins -I../src/detection-plugins
-I../src/dynamic-plugins -I../src/preprocessors
-I../src/preprocessors/flow -I../src/preprocessors/portscan 
-I../src/preprocessors/flow/int-snort 
-I../src/preprocessors/HttpInspect/include
-I../src/preprocessors/Stream5   -I/usr/local/include  -g -O2 -Wall
-DDYNAMIC_PLUGIN -c util.c
util.c: In function `DefineAllIfaceVars':
util.c:274: error: `pcap_if_t' undeclared (first use in this function)
util.c:274: error: (Each undeclared identifier is reported only once
util.c:274: error: for each function it appears in.)
util.c:274: error: `alldevs' undeclared (first use in this function)
util.c:277: warning: implicit declaration of function `pcap_findalldevs'
util.c:292: warning: implicit declaration of function `pcap_freealldevs'


Again any suggestions as to how to fix this would be very welcome.

Russell



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Snort-users mailing list
Snort-users () 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


Current thread: