[Snort-devel] Dynamic Preprocessor Starter Kit on v. compile error.

enrico enrico.papi at ...2575...
Sun Sep 11 07:36:08 EDT 2011

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, 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.


More information about the Snort-devel mailing list