Snort mailing list archives

Dynamic Preprocessor Starter Kit on v. 2.9.1.0 compile error.


From: enrico <enrico.papi () cern ch>
Date: Sun, 11 Sep 2011 11:36:08 +0000 (UTC)

Hi all,
this is my first post in the list.
I trying to use the Dynamic Preprocessor Starter Kit 
(http://www.snort.org/snort-downloads/dynamic-preprocessor-starter-kit/)
because it can help us in developing our dynamic preprocessor

We are using version 2.9.1.0, compiled with debug options.
After extracting dpx.tax.gz in a separate directory and setting the snort path variables,
we receive an error in the build.sh compilation process (the whole configure part is clean)

"
cp /usr/local/src/snort-2.9.1/src/dynamic-examples/include/sf_dynamic_preproc_lib.c sf_dynamic_preproc_lib.c
cp /usr/local/src/snort-2.9.1/src/dynamic-examples/include/sfPolicyUserData.c sfPolicyUserData.c
make  all-am
make[3]: Entering directory `/usr/local/src/dpx-1.4/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   
-I/usr/local/src/snort-2.9.1/src/dynamic-examples/include  -lssl -O0 -fPIC -pipe -march=core2 -mtune=generic -g -pg 
-DSF_VISIBILITY -fvisibility=hidden -fno-strict-aliasing -Wall -DDYNAMIC_PLUGIN -DZLIB -DGRE -DMPLS -DPPM_MGR 
-DDEBUG_MSGS -DDEBUG -DPROFILE -DENABLE_PAF -DENABLE_RESPOND -DENABLE_RESPONSE3 -DSF_WCHAR -DSUP_IP6 -DTARGET_BASED 
-DPERF_PROFILING -DSNORT_RELOAD -DACTIVE_RESPONSE   -fvisibility=hidden -c -o dpx.lo dpx.c
../libtool: line 2075: dpx.c: command not found
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/src/snort-2.9.1/src/dynamic-examples/include -lssl -O0 
-fPIC -pipe -march=core2 -mtune=generic -g -pg -DSF_VISIBILITY -fvisibility=hidden -fno-strict-aliasing -Wall 
-DDYNAMIC_PLUGIN -DZLIB -DGRE -DMPLS -DPPM_MGR -DDEBUG_MSGS -DDEBUG -DPROFILE -DENABLE_PAF -DENABLE_RESPOND 
-DENABLE_RESPONSE3 -DSF_WCHAR -DSUP_IP6 -DTARGET_BASED -DPERF_PROFILING -DSNORT_RELOAD -DACTIVE_RESPONSE 
-fvisibility=hidden -c ""  -fPIC -DPIC -o .libs/dpx.o
gcc: : No such file or directory
make[3]: *** [dpx.lo] Error 1
make[3]: Leaving directory `/usr/local/src/dpx-1.4/src'
make[2]: *** [all] Error 2
"

in particular:
../libtool: line 2075: dpx.c: command not found


the dpx.c source file exists in the src/ directory
it can be that this toolkit is incompatible with 2.9.1?

any suggestions are welcomed.

another brief question: can a dynamic preprocessor be linked against an external library like ssl?

thank you.

Enrico.


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel

Please visit http://blog.snort.org for the latest news about Snort!


Current thread: