Snort mailing list archives

Re: problems compiling 2.7.0.1 on Open BSD


From: "Justin Heath" <justin.heath () gmail com>
Date: Tue, 14 Aug 2007 10:37:44 -0400

What version of OpenBSD are you using? What options are you compiling
Snort with?

BTW, a standard build works fine for me on OpenBSD 4.1

bash-3.2# uname -rs
OpenBSD 4.1
bash-3.2# ./bin/snort -V

   ,,_     -*> Snort! <*-
  o"  )~   Version 2.7.0.1 (Build 36)
   ''''    By Martin Roesch & The Snort Team: http://www.snort.org/team.html
           (C) Copyright 1998-2007 Sourcefire Inc., et al.



Cheers,
Justin

On 8/13/07, Russell Fulton <r.fulton () auckland ac nz> wrote:
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


-------------------------------------------------------------------------
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: