Argus on Bivio 7500

Jason Carr jcarr at andrew.cmu.edu
Mon Jun 22 21:39:57 EDT 2009


Hi Eric,

We also had the same problem compiling the 3.x series on our Bivio  
units.  Bivio ships (even with the newest OS 5.0.5) with an older  
libpcap.  We were told that the new libpcap that implements the  
pcap_get_selectable_fd method is in beta and should be released with  
the next OS release.

Right now we're running argus 2.x and running rastream 3.x on a non- 
Bivio machine.  The 2.x series compiles just fine (but no IPv6).

This was before Carter implemented any sort of Bivio changes, so I  
have not tested those.

Let me know if you have any questions.  I'm also interested in what  
else you might be using your Bivio for.

- Jason


On Jun 22, 2009, at 4:49 PM, Eric Gustafson wrote:

> 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




More information about the argus mailing list