Snort mailing list archives

Re: Snort 2.8 compile error


From: Adam Keeton <akeeton () sourcefire com>
Date: Fri, 28 Sep 2007 10:04:57 -0400


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


  
Thanks for the report. I'm working on a fix right now. As as work
around, you can rerun configure without --enable-flexresp2 and recompile.

-- 
Adam Keeton      Software Engineer
Snort Team       Sourcefire,Inc   
www.snort.org    www.sourcefire.com


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