Snort mailing list archives
Re: Snort 2.8 compile error
From: "J. Jefferson Gray" <cybrspy () comcast net>
Date: Thu, 27 Sep 2007 17:01:37 -0400
You have to not use flexresp2. For some reason this doesn't seem to want to compile. If you enable flexresp make sure you don't enable react as it's implied. I ran into this on os x 10.4 Cheers Jeff James Lay wrote:
Woot! gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I../../src/sfutil -I/usr/include/pcap -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../../src/target-based -I/usr/local/mysql/include/mysql -DENABLE_MYSQL -DENABLE_RESPONSE2 -DENABLE_REACT -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -g -O2 -Wall -DSTREAM4_UDP -DDYNAMIC_PLUGIN -c sp_respond2.c In file included from ../../src/decode.h:49, from sp_respond2.c:99: ../../src/ipv6_port.h:71: error: conflicting types for 'ip_t' /usr/include/dnet/ip.h:411: error: previous declaration of 'ip_t' was here In file included from sp_respond2.c:99: ../../src/decode.h:948:1: warning: "IP_PROTO_HOPOPTS" redefined In file included from /usr/include/dnet.h:15, from sp_respond2.c:97: /usr/include/dnet/ip.h:97:1: warning: this is the location of the previous definition sp_respond2.c: In function `Respond2Init': sp_respond2.c:260: warning: assignment from incompatible pointer type sp_respond2.c: In function `Respond2Restart': sp_respond2.c:299: warning: passing arg 1 of `ip_close' from incompatible pointer type sp_respond2.c:299: warning: assignment from incompatible pointer type sp_respond2.c: In function `SendReset': sp_respond2.c:682: warning: passing arg 1 of `ip_send' from incompatible pointer type sp_respond2.c: In function `SendUnreach': sp_respond2.c:806: warning: passing arg 1 of `ip_send' from incompatible pointer type make[3]: *** [sp_respond2.o] Error 1 make[3]: Leaving directory `/home/jlay/snort-2.8.0/src/detection-plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/jlay/snort-2.8.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jlay/snort-2.8.0' make: *** [all] Error 2 Any hints on how to fixie this? James On 9/27/07 8:20 AM, "Snort Releases" <snortreleases () snort org> wrote:Hi everybody, Snort 2.8 is now available for download! Feature highlights: * Port lists * IPv6 support * Packet performance monitoring * Experimental support for target-based stream and IP frag reassembly * Ability to take actions on preprocessor events * Detection for TCP session hijacking based on MAC address * Unified2 output plugin * Improved performance and detection capabilities Please submit bugs, questions, and feedback to snort-beta () sourcefire com Happy Snorting! The Snort Release Team ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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:
- Snort 2.8 Now Available Snort Releases (Sep 27)
- Snort 2.8 compile error James Lay (Sep 27)
- Re: Snort 2.8 compile error J. Jefferson Gray (Sep 27)
- Re: Snort 2.8 compile error M. Shirk (Sep 27)
- Re: Snort 2.8 compile error J. Jefferson Gray (Sep 27)
- Re: Snort 2.8 compile error J. Jefferson Gray (Sep 27)
- Re: Snort 2.8 compile error Adam Keeton (Sep 28)
- Re: Snort 2.8 compile error James Lay (Sep 28)
- Re: Snort 2.8 compile error Adam Keeton (Sep 28)
- Snort 2.8 compile error James Lay (Sep 27)