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

Russ Combs rcombs at ...402...
Tue Sep 20 15:02:29 EDT 2011


Did you get this working?  See below.

On Sun, Sep 11, 2011 at 7:36 AM, enrico <enrico.papi at ...2575...> wrote:

> 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
>
> That dpx.c should be in the "" between -c and -fPIC above.  Weird.

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


> any suggestions are welcomed.
>
> another brief question: can a dynamic preprocessor be linked against an
> external library like ssl?
>

Yes - as long as you have a shared object flavor (.so).

>
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel
>
> Please visit http://blog.snort.org for the latest news about Snort!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20110920/555ee84d/attachment.html>


More information about the Snort-devel mailing list