Snort mailing list archives
Re: Cannot build Snort 2.9.5.6 with--enable-build-dynamic-examples option
From: 손은영 <eyson () miritek com>
Date: Fri, 14 Feb 2014 12:31:21 +0900
Hi! I have compiled dynamic-example/dynamic-preprocessor as follows. --------------------------------------------- # cd dynamic-example/dynamic-preprocessor # make # make install --------------------------------------------- That's what I did a few days ago with snort-2.9.6.0 at linux. I hope it helps you. ----- Original Message ----- From: Hai Minh Nguyen To: snort-devel () lists sourceforge net Sent: Friday, February 14, 2014 11:49 AM Subject: [Snort-devel] Cannot build Snort 2.9.5.6 with--enable-build-dynamic-examples option Hi, I'm gonna make a dynamic preprocessor with DPX 1.5 and Snort 2.9.5.6. But I cant build Snort with --enable-build-dynamic-examples option. Here it's the error: make[6]: Entering directory `/root/snort-2.9.5.6/src/dynamic-examples/dynamic-rule' /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../include -I/usr/local/include -DZLIB -DGRE -DMPLS -DPPM_MGR -DNDEBUG -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -DSF_WCHAR -DTARGET_BASED -DPERF_PROFILING -DSNORT_RELOAD -DNO_NON_ETHER_DECODER -DNORMALIZER -DACTIVE_RESPONSE -g -O2 -DSF_VISIBILITY -fvisibility=hidden -fno-strict-aliasing -Wall -c -o sfsnort_dynamic_detection_lib.lo sfsnort_dynamic_detection_lib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../include -I/usr/local/include -DZLIB -DGRE -DMPLS -DPPM_MGR -DNDEBUG -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -DSF_WCHAR -DTARGET_BASED -DPERF_PROFILING -DSNORT_RELOAD -DNO_NON_ETHER_DECODER -DNORMALIZER -DACTIVE_RESPONSE -g -O2 -DSF_VISIBILITY -fvisibility=hidden -fno-strict-aliasing -Wall -c sfsnort_dynamic_detection_lib.c -fPIC -DPIC -o .libs/sfsnort_dynamic_detection_lib.o sfsnort_dynamic_detection_lib.c: In function 'InitializeDetection': sfsnort_dynamic_detection_lib.c:37:5: warning: passing argument 1 of 'RegisterRules' from incompatible pointer type [enabled by default] In file included from sfsnort_dynamic_detection_lib.c:26:0: ../include/sf_snort_plugin_api.h:430:20: note: expected 'struct _SnortConfig *' but argument is of type 'struct Rule **' sfsnort_dynamic_detection_lib.c:37:5: error: too few arguments to function 'RegisterRules' In file included from sfsnort_dynamic_detection_lib.c:26:0: ../include/sf_snort_plugin_api.h:430:20: note: declared here sfsnort_dynamic_detection_lib.c:38:1: warning: control reaches end of non-void function [-Wreturn-type] make[6]: *** [sfsnort_dynamic_detection_lib.lo] Error 1 make[6]: Leaving directory `/root/snort-2.9.5.6/src/dynamic-examples/dynamic-rule' make[5]: *** [all] Error 2 make[5]: Leaving directory `/root/snort-2.9.5.6/src/dynamic-examples/dynamic-rule' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/root/snort-2.9.5.6/src/dynamic-examples' make[3]: *** [all] Error 2 make[3]: Leaving directory `/root/snort-2.9.5.6/src/dynamic-examples' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/snort-2.9.5.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/snort-2.9.5.6' make: *** [all] Error 2 Any idea? -- Kiếm ma độc cô cầu bại - Ôi, một đời oanh liệt, chỉ mong được chiến bại một lần, nhưng chưa ai qua nổi quá tam chiêu!!! ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk ------------------------------------------------------------------------------ _______________________________________________ Snort-devel mailing list Snort-devel () lists sourceforge net https://lists.sourceforge.net/lists/listinfo/snort-devel Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel Please visit http://blog.snort.org for the latest news about Snort!
------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________ Snort-devel mailing list Snort-devel () lists sourceforge net https://lists.sourceforge.net/lists/listinfo/snort-devel Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel Please visit http://blog.snort.org for the latest news about Snort!
Current thread:
- Cannot build Snort 2.9.5.6 with --enable-build-dynamic-examples option Hai Minh Nguyen (Feb 13)
- Re: Cannot build Snort 2.9.5.6 with--enable-build-dynamic-examples option 손은영 (Feb 13)
- Re: Cannot build Snort 2.9.5.6 with--enable-build-dynamic-examples option Hai Minh Nguyen (Feb 14)
- Re: Cannot build Snort 2.9.5.6 with--enable-build-dynamic-examples option Russ Combs (rucombs) (Feb 14)
- Re: Cannot build Snort 2.9.5.6 with--enable-build-dynamic-examples option Hai Minh Nguyen (Feb 17)
- Re: Cannot build Snort 2.9.5.6 with--enable-build-dynamic-examples option Hai Minh Nguyen (Feb 14)
- Re: Cannot build Snort 2.9.5.6 with--enable-build-dynamic-examples option 손은영 (Feb 13)