ArgusSource.c:310:15: error: ‘PCAP_ERROR_PROMISC_PERM_DENIED’ undeclared (first use in this function)

Monah Baki monahbaki at gmail.com
Fri May 29 14:37:23 EDT 2015


Hi All,


Compiling Argus in a virtualbox environment on Ubuntu 12.04.5 LTS

Linux devsrvr 3.13.0-32-generic #57~precise1-Ubuntu SMP Tue Jul 15 03:50:54
UTC 2014 i686 i686 i386 GNU/Linux

When running make:
### Making in /home/mbaki/argus-3.0.8.1/common
make[1]: Entering directory `/home/mbaki/argus-3.0.8.1/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mbaki/argus-3.0.8.1/common'
### Done with /home/mbaki/argus-3.0.8.1/common
### Making in /home/mbaki/argus-3.0.8.1/argus
make[1]: Entering directory `/home/mbaki/argus-3.0.8.1/argus'
gcc -O -I. -I/usr/include -I./../include  -DHAVE_CONFIG_H -c ArgusSource.c
ArgusSource.c: In function ‘ArgusOpenInterface’:
ArgusSource.c:310:15: error: ‘PCAP_ERROR_PROMISC_PERM_DENIED’ undeclared
(first use in this function)
ArgusSource.c:310:15: note: each undeclared identifier is reported only
once for each function it appears in
ArgusSource.c:321:15: error: ‘PCAP_WARNING_TSTAMP_TYPE_NOTSUP’ undeclared
(first use in this function)
make[1]: *** [ArgusSource.o] Error 1
make[1]: Leaving directory `/home/mbaki/argus-3.0.8.1/argus'
### Done with /home/mbaki/argus-3.0.8.1/argus
### Making in /home/mbaki/argus-3.0.8.1/events
make[1]: Entering directory `/home/mbaki/argus-3.0.8.1/events'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mbaki/argus-3.0.8.1/events'
### Done with /home/mbaki/argus-3.0.8.1/events


eth0      Link encap:Ethernet  HWaddr 08:00:27:cc:04:80
          inet addr:10.254.100.246  Bcast:10.254.100.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fecc:480/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:625231 errors:0 dropped:422 overruns:0 frame:0
          TX packets:554068 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:162240718 (162.2 MB)  TX bytes:132712698 (132.7 MB)



Thank you
Monah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20150529/176b19e8/attachment.html>


More information about the argus mailing list