[Snort-users] compile problem with snort and flexresp2

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

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

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

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/Stream5  -I/usr/include/pcre 
-DENABLE_RESPONSE2 -I/usr/include  -g -O2 -Wall -DDYNAMIC_PLUGIN -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-'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/snort/snort-'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/snort/snort-'
make: *** [all] Error 2

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

Flexresp2 compile and works with snort, but not with snort  :(

Any ideas?

More information about the Snort-users mailing list