Snort mailing list archives
Compile error with open-appid
From: Theron ZORBAS <theronzorbas () yahoo com>
Date: Sun, 13 Apr 2014 06:05:58 -0700 (PDT)
Hello Snort-Users, I'm trying to compile Snort 2.9.7.0.Alpha under OpenBSD 5.5 amd64. I've added these parameters to configure script: ./configure --disable-static-daq --enable-non-ether-decoders --enable-open-appid and changed this line #include <endian.h> to <sys/endian.h> located at ./src/dynamic-preprocessors/appid/service_plugins/service_api.h file But it fails with these error messages: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/dynamic-preprocessors/include -I./../libs -I./includes -I.. -I../client_plugins -I../detector_plugins -I../util -I /usr/local/include/luajit-2.0 -I/usr/local/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 -DNORMALIZER -DACTIVE_RESPONSE -DFEAT_OPEN_APPID -g -O2 -DSF_VISIBILITY -fvisibility=hidden -fno-strict-aliasing -Wall -c service_rfb.c -fPIC -DPIC -o .libs/service_rfb.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/dynamic-preprocessors/include -I./../libs -I./includes -I.. -I../client_plugins -I../detector_plugins -I../util -I /usr/local/include/luajit-2.0 -I/usr/local/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 -DNORMALIZER -DACTIVE_RESPONSE -DFEAT_OPEN_APPID -g -O2 -DSF_VISIBILITY -fvisibility=hidden -fno-strict-aliasing -Wall -c service_rfb.c -o service_rfb.o >/dev/null 2>&1 /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/dynamic-preprocessors/include -I./../libs -I./includes -I.. -I../client_plugins -I../detector_plugins -I../util -I /usr/local/include/luajit-2.0 -I/usr/local/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 -DNORMALIZER -DACTIVE_RESPONSE -DFEAT_OPEN_APPID -g -O2 -DSF_VISIBILITY -fvisibility=hidden -fno-strict-aliasing -Wall -c -o service_rpc.lo service_rpc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/dynamic-preprocessors/include -I./../libs -I./includes -I.. -I../client_plugins -I../detector_plugins -I../util -I /usr/local/include/luajit-2.0 -I/usr/local/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 -DNORMALIZER -DACTIVE_RESPONSE -DFEAT_OPEN_APPID -g -O2 -DSF_VISIBILITY -fvisibility=hidden -fno-strict-aliasing -Wall -c service_rpc.c -fPIC -DPIC -o .libs/service_rpc.o service_rpc.c: In function 'rpc_init': service_rpc.c:229: warning: implicit declaration of function 'getrpcent' service_rpc.c:229: warning: assignment makes pointer from integer without a cast service_rpc.c:231: error: dereferencing pointer to incomplete type service_rpc.c:236: error: dereferencing pointer to incomplete type service_rpc.c:237: error: dereferencing pointer to incomplete type service_rpc.c:243: warning: implicit declaration of function 'endrpcent' *** Error 1 in src/dynamic-preprocessors/appid/service_plugins (Makefile:440 'service_rpc.lo') *** Error 1 in src/dynamic-preprocessors/appid (Makefile:571 'all-recursive') *** Error 1 in src/dynamic-preprocessors (Makefile:908 'all-recursive') *** Error 1 in src/dynamic-preprocessors (Makefile:716 'all') *** Error 1 in src (Makefile:596 'all-recursive') *** Error 1 in . (Makefile:529 'all-recursive') *** Error 1 in /home/theron/snort-2.9.7.0.alpha (Makefile:369 'all') Any help is appreciated. Thanks. -- Theron ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ 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:
- Compile error with open-appid Theron ZORBAS (Apr 13)