[Snort-users] compile problem with snort 2.6.1.4 and flexresp2

Julio E. Gonzalez P. jegp at ...8756...
Wed Apr 25 11:42:56 EDT 2007


I have a compile problem with snort 2.6.1.4 and flexresp2.
This is with CentOS 4.4 (Redhat EL 4.4 clone).

I do:
=============================================
./configure --enable-dynamicplugin --enable-flexresp2
make
============================================

and "make" stops with this error:

gcc -DHAVE_CONFIG_H -I. -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/usr/include/pcre 
-DENABLE_RESPONSE2 -I/usr/include  -g -O2 -Wall -DDYNAMIC_PLUGIN -c 
sp_respond2.c
In file included from sp_respond2.c:114:
../../src/decode.h:889: error: redefinition of `struct ip6_hdr'
make[3]: *** [sp_respond2.o] Error 1
make[3]: Leaving directory `/root/snort/snort-2.6.1.4/src/detection-plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/snort/snort-2.6.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/snort/snort-2.6.1.4'
make: *** [all] Error 2

If I just do "./configure --enable-dynamicplugin", "make", "make 
install", all works OK with snort 2.6.1.4.

Flexresp2 compile and works with snort 2.6.1.3, but not with snort 
2.6.1.4.  :(

Any ideas?
Thanks.
Julio.





More information about the Snort-users mailing list