Argus on Bivio 7500

Eric Gustafson subwire at gmail.com
Mon Jun 22 16:49:59 EDT 2009


Hi Carter et al,
I'm trying to compile the latest test argus (3.0.2 beta8) on one of our
Bivio 7500s, and am running into linking trouble.

gcc -O3 -I.  -I./../include  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1
-DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_VFPRINTF=1
-DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -DHAVE_SETLINEBUF=1
-DHAVE_ALARM=1 -DHAVE_STRERROR=1 -DHAVE_STRTOF=1 -DHAVE_SYS_BITYPES_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1
-DHAVE_GETADDRINFO=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_NETINET_ETHER_H=1
-DNETINET_ETHER_H_DECLARES_ETHER_HOSTTON= -DHAVE_DECL_ETHER_HOSTTON=1
-D_FILE_OFFSET_BITS=64 -DHAVE_TCP_WRAPPER=1 -DLBL_ALIGN=1 -DSTDC_HEADERS=1
-DARGUS_SYSLOG=1 -o ../bin/argus argus.o ArgusModeler.o ArgusSource.o
ArgusUtil.o ArgusOutput.o ArgusUdp.o ArgusTcp.o ArgusIcmp.o ArgusIgmp.o
ArgusEsp.o ArgusArp.o ArgusFrag.o ArgusAuth.o ArgusApp.o  ../lib/libpcap.a
-lwrap -lnsl  ../lib/argus_common.a -lm
ArgusSource.o: In function `ArgusGetPackets':ArgusSource.c:(.text+0x2cf8):
undefined reference to `pcap_get_selectable_fd'
:ArgusSource.c:(.text+0x2d90): undefined reference to `pcap_next_ex'
:ArgusSource.c:(.text+0x2dcc): undefined reference to `pcap_next_ex'
:ArgusSource.c:(.text+0x2e08): undefined reference to `pcap_next_ex'
:ArgusSource.c:(.text+0x2e44): undefined reference to `pcap_next_ex'
:ArgusSource.c:(.text+0x2eac): undefined reference to `pcap_next_ex'
ArgusSource.o:ArgusSource.c:(.text+0x2ec8): more undefined references to
`pcap_next_ex' follow
collect2: ld returned 1 exit status
make[1]: *** [../bin/argus] Error 1
make[1]: Leaving directory `/bivio/shared/root/argus-3.0.1.beta.3/argus'
### Done with /root/argus-3.0.1.beta.3/argus

I configured with --with-libpcap=/usr/lib/zcp/, which is where Bivio stashes
its special version of libpcap.
I noticed your mention of "changes to support Bivio hardware" for this
release, but I didn't see any instructions regarding extra steps to get it
to work.
Any ideas?

Thanks so much,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20090622/25157b75/attachment.html>


More information about the argus mailing list