[Snort-users] problems with installing daq

Al Lewis (allewi) allewi at cisco.com
Tue Nov 14 10:42:53 EST 2017


Hello,

Couple of questions..


1) What operation system is this?
2) What version of the daq are you trying to install
3) Are you trying to install a new daq on top of another (older) daq?



Albert Lewis
ENGINEER.SOFTWARE ENGINEERING
SOURCEfire, Inc. now part of Cisco
Email: allewi at cisco.com<mailto:allewi at cisco.com>

From: Snort-users <snort-users-bounces at lists.snort.org<mailto:snort-users-bounces at lists.snort.org>> on behalf of Rafa hernandez via Snort-users <snort-users at lists.snort.org<mailto:snort-users at lists.snort.org>>
Reply-To: Rafa hernandez <originalsample at gmail.com<mailto:originalsample at gmail.com>>
Date: Tuesday, November 14, 2017 at 10:37 AM
To: "snort-users at lists.snort.org<mailto:snort-users at lists.snort.org>" <snort-users at lists.snort.org<mailto:snort-users at lists.snort.org>>
Subject: [Snort-users] problems with installing daq

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<http://daq_ipfw.la> -rpath /usr/local/lib/daq daq_ipfw_la-daq_ipfw.lo ../sfbpf/libsfbpf.la<http://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<http://daq_ipfw.la>" && ln -s "../daq_ipfw.la<http://daq_ipfw.la>" "daq_ipfw.la<http://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/c9e216e3/attachment.html>


More information about the Snort-users mailing list