[Snort-users] problems with installing daq

Rafa hernandez originalsample at gmail.com
Tue Nov 14 10:37:13 EST 2017


i am trying to install daq for snort but when i do the make for compile i
get this error
 #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__)
                                                  ^~~~~~~~~~~
daq_ipfw.c:334:25: warning: ISO C does not support ‘__FUNCTION__’
predefined identifier [-Wpedantic]
                         __FUNCTION__, strerror(errno));
                         ^
../api/daq_api.h:118:50: note: in definition of macro ‘DPE’
 #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__)
                                                  ^~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf
-I../sfbpf -DBUILDING_SO -g -O2 -fvisibility=hidden -Wall -Wwrite-strings
-Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security
-Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option
-pedantic -std=c99 -D_GNU_SOURCE -MT daq_ipfw_la-daq_ipfw.lo -MD -MP -MF
.deps/daq_ipfw_la-daq_ipfw.Tpo -c daq_ipfw.c -o daq_ipfw_la-daq_ipfw.o
>/dev/null 2>&1
mv -f .deps/daq_ipfw_la-daq_ipfw.Tpo .deps/daq_ipfw_la-daq_ipfw.Plo
/bin/bash ../libtool  --tag=CC   --mode=link gcc -DBUILDING_SO -g -O2
-fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align
-Wextra -Wformat -Wformat-security -Wno-unused-parameter
-fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99
-D_GNU_SOURCE -module -export-dynamic -avoid-version -shared   -o
daq_ipfw.la -rpath /usr/local/lib/daq daq_ipfw_la-daq_ipfw.lo ../sfbpf/
libsfbpf.la
libtool: link: gcc -shared  -fPIC -DPIC  .libs/daq_ipfw_la-daq_ipfw.o
-Wl,-rpath -Wl,/home/rata/snort_src/daq-2.0.6/sfbpf/.libs
../sfbpf/.libs/libsfbpf.so  -g -O2   -Wl,-soname -Wl,daq_ipfw.so -o
.libs/daq_ipfw.so
libtool: link: ( cd ".libs" && rm -f "daq_ipfw.la" && ln -s "../daq_ipfw.la"
"daq_ipfw.la" )
make[2]: se sale del directorio '/home//snort_src/daq-2.0.6/os-daq-modules'
make[2]: se entra en el directorio '/home/snort_src/daq-2.0.6'
make[2]: se sale del directorio '/home/snort_src/daq-2.0.6'
make[1]: se sale del directorio '/home//snort_src/daq-2.0.6'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20171114/0d286e56/attachment.html>


More information about the Snort-users mailing list