[Snort-users] Errors compiling Snort 2.8.1 with IPv6 and Prelude support

Christopher Blume cblume.lists at ...11827...
Wed Apr 16 10:46:30 EDT 2008


Hello all,

We had someone drop by the #snort channel last night; skor.  He
reported a problem compiling Snort 2.8.1 with both IPv6 and Prelude
support enabled.  I was able to reproduce the problem.  I ran
configure as './configure --enable-ipv6 --enable-prelude' and ran
'make'.  Here is the relevant error:

... snip ...
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
-fno-strict-aliasing  -g -O2 -Wall -pthread -DSUP_IP6 -DDYNAMIC_PLUGIN
-fno-strict-aliasing -c spo_alert_prelude.c
spo_alert_prelude.c: In function 'packet_to_data':
spo_alert_prelude.c:415: error: incompatible type for argument 1 of
'sfip_to_str'
spo_alert_prelude.c: In function 'AlertPreludeSetup':
spo_alert_prelude.c:801: warning: passing argument 3 of
'RegisterOutputPlugin' from incompatible pointer type
make[3]: *** [spo_alert_prelude.o] Error 1
make[3]: Leaving directory `/usr/src/snort-2.8.1/src/output-plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/snort-2.8.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/snort-2.8.1'
make: *** [all] Error 2

Thank You,
Christopher Blume




More information about the Snort-users mailing list