[Snort-devel] Error to build snort 2.9.0.4 using --enable-rzb-saac option

CleBeer clebeer at ...2499...
Fri Feb 11 12:21:57 EST 2011


Hello Guys,

Is someone facing this problem to build snort 2.9.0.4 with --enable-rzb-saac
option  in ubuntu server 10.10 ?

Im trying to build with this options:

 ./configure --enable-dynamicplugin --enable-build-dynamic-examples
--enable-ipv6 --enable-zlib --enable-gre --enable-mpls --enable-targetbased
--enable-decoder-preprocessor-rules --enable-ppm --enable-perfprofiling
--enable-linux-smp-stats --enable-prelude --enable-pthread --enable-ppm-test
--enable-active-response  --enable-normalizer --enable-reload
--enable-reload-error-restart --enable-react --enable-flexresp3
--enable-rzb-saac --with-mysql

And I'm getting this error:

/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../../.. -I../../../src/dynamic-preprocessors/include
-I../../../src/dynamic-preprocessors/libs  -DDYNAMIC_PLUGIN -DSUP_IP6 -DZLIB
-DGRE -DMPLS -DTARGET_BASED -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR
-DPERF_PROFILING -DLINUX_SMP -DPPM_TEST -DSNORT_RELOAD -I/usr/include/mysql
-DENABLE_MYSQL -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3
-DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include   -Werror -g -O2
-fvisibility=hidden -fno-strict-aliasing -Wall -c -o
sf_rzb_saac_preproc_la-sf_dynamic_preproc_lib.lo `test -f
'../../../src/dynamic-preprocessors/include/sf_dynamic_preproc_lib.c' ||
echo
'./'`../../../src/dynamic-preprocessors/include/sf_dynamic_preproc_lib.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../..
-I../../../src/dynamic-preprocessors/include
-I../../../src/dynamic-preprocessors/libs -DDYNAMIC_PLUGIN -DSUP_IP6 -DZLIB
-DGRE -DMPLS -DTARGET_BASED -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR
-DPERF_PROFILING -DLINUX_SMP -DPPM_TEST -DSNORT_RELOAD -I/usr/include/mysql
-DENABLE_MYSQL -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3
-DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include -Werror -g -O2
-fvisibility=hidden -fno-strict-aliasing -Wall -c
../../../src/dynamic-preprocessors/include/sf_dynamic_preproc_lib.c  -fPIC
-DPIC -o .libs/sf_rzb_saac_preproc_la-sf_dynamic_preproc_lib.o
cc1: warnings being treated as errors
../../../src/dynamic-preprocessors/include/sf_dynamic_preproc_lib.c: In
function ‘InitializePreprocessor’:
../../../src/dynamic-preprocessors/include/sf_dynamic_preproc_lib.c:64:
error: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has
type ‘unsigned int’
make[5]: *** [sf_rzb_saac_preproc_la-sf_dynamic_preproc_lib.lo] Error 1
make[5]: Leaving directory
`/home/malware/snort-2.9.0.4/src/dynamic-preprocessors/rzb_saac'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/malware/snort-2.9.0.4/src/dynamic-preprocessors'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/malware/snort-2.9.0.4/src/dynamic-preprocessors'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/malware/snort-2.9.0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/malware/snort-2.9.0.4'
make: *** [all] Error 2


When I don't set the  --enable-rzb-saac option I get succes on build.

I'm using razorback-0.1.3,

Some one can help me?

thanks

-- 
-----------------------------
Cleber S. Brandão
Mob. +55 011 9333-9429

clebeerpub.blogspot.com
www.snort.org.br
  ,, _
 o"    )~
   '' ''
http://www.linkedin.com/in/clebeer
-----------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20110211/71a6a8c1/attachment.html>


More information about the Snort-devel mailing list