Snort mailing list archives
Re: DPX starter kit installation
From: Alex Adamos <alexthakidadam () hotmail com>
Date: Tue, 22 Jan 2013 14:21:20 +0200
Sorry for the previous message!!! Well, changed the directory in build.sh to the one containing the required .c files----fixed the previous erro. Then a libtool error occured, searched and found an answer by Russ---fixed... After that, the header files like snort_debug.h, were not in the specified directory by configure (that was /usr/local/include). Moved them in there, tried to build and what i got now is "Making clean in test make[1]: Entering directory `/home/alex/Desktop/dpx-1.4/test' rm -rf .libs _libs rm -f *.lo make[1]: Leaving directory `/home/alex/Desktop/dpx-1.4/test' Making clean in src make[1]: Entering directory `/home/alex/Desktop/dpx-1.4/src' test -z "libdpx.la" || rm -f libdpx.la rm -f "./so_locations" rm -rf .libs _libs rm -f sf_dynamic_preproc_lib.c sfPolicyUserData.c rm -f *.o rm -f *.lo make[1]: Leaving directory `/home/alex/Desktop/dpx-1.4/src' Making clean in . make[1]: Entering directory `/home/alex/Desktop/dpx-1.4' rm -rf .libs _libs rm -f *.lo make[1]: Leaving directory `/home/alex/Desktop/dpx-1.4' make all-recursive make[1]: Entering directory `/home/alex/Desktop/dpx-1.4' Making all in src make[2]: Entering directory `/home/alex/Desktop/dpx-1.4/src' cp /home/alex/Desktop/snort-2.9.0/src/dynamic-plugins/sf_preproc_example/sf_dynamic_preproc_lib.c sf_dynamic_preproc_lib.c cp /home/alex/Desktop/snort-2.9.0/src/dynamic-plugins/sf_preproc_example/sfPolicyUserData.c sfPolicyUserData.c make all-am make[3]: Entering directory `/home/alex/Desktop/dpx-1.4/src' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/home/alex/Desktop/snort-2.9.0/src/dynamic-plugins/sf_preproc_example -g -O0 -fvisibility=hidden -fno-strict-aliasing -Wall -DDYNAMIC_PLUGIN -DDEBUG -DSOURCEFIRE -DPERF_PROFILING -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR -DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include -fvisibility=hidden -c -o dpx.lo dpx.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/alex/Desktop/snort-2.9.0/src/dynamic-plugins/sf_preproc_example -g -O0 -fvisibility=hidden -fno-strict-aliasing -Wall -DDYNAMIC_PLUGIN -DDEBUG -DSOURCEFIRE -DPERF_PROFILING -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR -DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include -fvisibility=hidden -c dpx.c -fPIC -DPIC -o .libs/dpx.o In file included from /usr/local/include/sf_dynamic_preprocessor.h:61:0, from dpx.c:38: /usr/local/include/stream_api.h:602:5: error: expected specifier-qualifier-list before 'bool' In file included from dpx.c:38:0: /usr/local/include/sf_dynamic_preprocessor.h:160:15: error: expected declaration specifiers or '...' before '*' token /usr/local/include/sf_dynamic_preprocessor.h:303:5: error: unknown type name 'PafEnabledFunc' make[3]: *** [dpx.lo] Error 1 make[3]: Leaving directory `/home/alex/Desktop/dpx-1.4/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/alex/Desktop/dpx-1.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/alex/Desktop/dpx-1.4' make: *** [all] Error 2 Making install in src make[1]: Entering directory `/home/alex/Desktop/dpx-1.4/src' make install-am make[2]: Entering directory `/home/alex/Desktop/dpx-1.4/src' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/home/alex/Desktop/snort-2.9.0/src/dynamic-plugins/sf_preproc_example -g -O0 -fvisibility=hidden -fno-strict-aliasing -Wall -DDYNAMIC_PLUGIN -DDEBUG -DSOURCEFIRE -DPERF_PROFILING -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR -DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include -fvisibility=hidden -c -o dpx.lo dpx.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/alex/Desktop/snort-2.9.0/src/dynamic-plugins/sf_preproc_example -g -O0 -fvisibility=hidden -fno-strict-aliasing -Wall -DDYNAMIC_PLUGIN -DDEBUG -DSOURCEFIRE -DPERF_PROFILING -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR -DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include -fvisibility=hidden -c dpx.c -fPIC -DPIC -o .libs/dpx.o In file included from /usr/local/include/sf_dynamic_preprocessor.h:61:0, from dpx.c:38: /usr/local/include/stream_api.h:602:5: error: expected specifier-qualifier-list before 'bool' In file included from dpx.c:38:0: /usr/local/include/sf_dynamic_preprocessor.h:160:15: error: expected declaration specifiers or '...' before '*' token /usr/local/include/sf_dynamic_preprocessor.h:303:5: error: unknown type name 'PafEnabledFunc' make[2]: *** [dpx.lo] Error 1 make[2]: Leaving directory `/home/alex/Desktop/dpx-1.4/src' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/alex/Desktop/dpx-1.4/src' make: *** [install-recursive] Error 1 " Alex. From: alexthakidadam () hotmail com To: snort-users () lists sourceforge net Date: Tue, 22 Jan 2013 11:25:21 +0200 Subject: Re: [Snort-users] DPX starter kit installation Hi again, tried it with snort-2.9.0 as mentioned in README but same error...Please help From: alexthakidadam () hotmail com To: snort-users () lists sourceforge net Subject: DPX starter kit installation Date: Mon, 21 Jan 2013 14:44:06 +0200 Hello, I'm trying to install and test the dpx starter kit but i get this error when after "./build.sh": make[2]: *** No rule to make target `/usr/local/snort/src/dynamic-examples/include/sf_dynamic_preproc_lib.c', needed by `sf_dynamic_preproc_lib.c'. Stop. In my snort installation, this file is in /usr/local/snort/src/snort_dynamicsrc. I use 2.9.4 version, i suppose that the dpx is compatible with this version, isn't it? Alex. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users Please visit http://blog.snort.org to stay current on all the latest Snort news!
------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d
_______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users Please visit http://blog.snort.org to stay current on all the latest Snort news!
Current thread:
- DPX starter kit installation Alex Adamos (Jan 21)
- Re: DPX starter kit installation Alex Adamos (Jan 22)
- Re: DPX starter kit installation Alex Adamos (Jan 22)
- Re: DPX starter kit installation Hui Cao (Jan 22)
- Re: DPX starter kit installation Alex Adamos (Jan 22)
- Re: DPX starter kit installation Hui Cao (Jan 22)
- Re: DPX starter kit installation Alex Adamos (Jan 22)
- Re: DPX starter kit installation Alex Adamos (Jan 22)
- Re: DPX starter kit installation Alex Adamos (Jan 22)
- Re: Snort Unixsock patricio (Jan 23)