Carter Bullard | 1 Dec 17:31 2011

Re: Argus 3.0.5.6 failed to compile on Ubuntu Server 11.10

Hey CS Lee,
Found the problem and its now fixed in a refreshed version of argus-3.0.5.6-tar.gz that is now the server.

In ./include/argus_os.h
Sorry for the delay, and if there is anything else, don't hesitate to send to the list.

Carter

On Nov 27, 2011, at 2:27 PM, Carter Bullard wrote:

I'll give it a test on my Unbuntu system later today.
So a correct quick fix would be to define IPPROTO_TTP in the code before its use:

#if !defined(IPPROTO_TTP)
#define IPPROTO_TTP 84 /* TTP */
#endif

Carter

On Nov 27, 2011, at 1:23 PM, CS Lee wrote:

hi Carter,

I couldn't find IPPROTO_TTP defined in any file under /usr directory in Ubuntu 11.10, for FreeBSD system IPPROTO_TTP is defined in /usr/include/netinet/in.h though.

On Mon, Nov 28, 2011 at 12:18 AM, Carter Bullard <carter <at> qosient.com> wrote:
Hey CS Lee,
IPPROTO_TTP should be defined in ./include/argus_os.h, with an #if !defined(IPPROTO_TTP).
This does on machines where I have removed the system definition of IPPROTO_TTP,
so not sure where the break down is.

Is IPPROTO_TTP defined on your machine somewhere? /usr/include/netinet/?.h
Carter

On Nov 27, 2011, at 9:06 AM, CS Lee wrote:

hi Carter,

It seems the latest argus fails to compile on Ubuntu Server 11.10, I have ./configure run, then got this result when make

make[1]: Entering directory `/home/cslee/argus-3.0.5.6/argus'
gcc -O3 -I. -I/usr/include -I./../include  -DHAVE_CONFIG_H -c argus.c
argus.c: In function ‘ArgusParseResourceFile’:
argus.c:1247:42: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
gcc -O3 -I. -I/usr/include -I./../include  -DHAVE_CONFIG_H -c ArgusModeler.c
ArgusModeler.c: In function ‘ArgusProcessPacketHdrs’:
ArgusModeler.c:683:24: error: ‘IPPROTO_TTP’ undeclared (first use in this function)
ArgusModeler.c:683:24: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [ArgusModeler.o] Error 1
make[1]: Leaving directory `/home/cslee/argus-3.0.5.6/argus'
### Done with /home/cslee/argus-3.0.5.6/argus
### Making in /home/cslee/argus-3.0.5.6/events
make[1]: Entering directory `/home/cslee/argus-3.0.5.6/events'
sed 's+ <at> PERLBIN <at> +/usr/bin/perl+' argus-lsof.pl > ../bin/argus-lsof
chmod +x ../bin/argus-lsof
cp -f argus-snmp.sh ../bin/argus-snmp
cp -f argus-vmstat.sh ../bin/argus-vmstat
make[1]: Leaving directory `/home/cslee/argus-3.0.5.6/events'
### Done with /home/cslee/argus-3.0.5.6/events

I go to the file ArgusModeler.c and check line 683 

case IPPROTO_TTP: { /* Preparation for Juniper TTP */
                     retn = ArgusProcessTtpHdr(model, ip, length);
                     break;
                  }

I don't see IPPROTO_TTP is declared anyway but you do have IPPROTO_TCP, therefore I just changed it to IPPROTO_TCP and it compiles succesfully, however I'm not sure if I break things here since in your comment it states "Preparation for Juniper TTP". I make a quick guess it should be TCP instead since the next few lines show UDP processing.

Cheers

--
Best Regards,

CS Lee<geek00L[at]gmail.com>

http://geek00l.blogspot.com
http://defcraft.net




--
Best Regards,

CS Lee<geek00L[at]gmail.com>

http://geek00l.blogspot.com
http://defcraft.net


Attachment (smime.p7s): application/pkcs7-signature, 5901 bytes
Jason Carr | 1 Dec 22:05 2011
Picon

Compile failure on 3.0.5.6 - Bivio hardware/pcap

Hello guys,

I'm having some compile errors on the Bivio hardware.  It uses a hacked
pcap library so I'm betting these functions are not implemented.  Also
noted that these functions were noted as "no" in the configure stage.

Thanks,

Jason

Here's the log:

[bivio-01] root <at> CPU-X argus-3.0.5.6$ ./configure
--with-libpcap=/usr/lib/zcp/
checking build system type... powerpc-unknown-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
checking target system type... powerpc-unknown-linux-gnu
checking for standard perl installation... /usr/bin/perl
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking gcc version... 4
checking for inline... inline
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... bison -y
checking for ranlib... ranlib
checking for flex... flex
checking for flex 2.4 or higher... yes
checking for bison... bison
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for string.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for fcntl.h... (cached) yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/file.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking for syslog.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... (cached) inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking if unaligned accesses fail... no
checking for int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for vprintf... yes
checking for _doprnt... no
checking whether closedir returns void... no
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... yes
checking for backtrace... yes
checking for openlog... yes
checking for syslog... yes
checking for vfprintf... yes
checking for strlcpy... no
checking for strftime... (cached) yes
checking for inet_aton... yes
checking for setlinebuf... yes
checking for strerror... yes
checking for strtof... yes
checking for floorf... no
checking for remainderf... no
checking for xdrmem_create... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing putmsg... none required
checking for ether_hostton... yes
checking for getaddrinfo... yes
checking for gethostname... yes
checking netinet/ether.h usability... yes
checking netinet/ether.h presence... yes
checking for netinet/ether.h... yes
checking whether ether_hostton is declared... yes
checking for alarm... (cached) yes
checking for bzero... yes
checking for endgrent... yes
checking for endpwent... yes
checking for floor... no
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for getpass... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for isascii... yes
checking for localtime_r... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for modf... yes
checking for pow... no
checking for putenv... yes
checking for realpath... yes
checking for regcomp... yes
checking for select... yes
checking for setenv... yes
checking for socket... yes
checking for sqrt... no
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strlcat... no
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for srandomdev... no
checking for tzset... yes
checking for .threads... yes
checking for sched_get_priority_min... yes
checking for specified library... /usr/lib/zcp//libpcap.a
checking for specified pcap.h... configure: WARNING: not found
checking for pcap_list_datalinks... no
checking for pcap_set_datalink... no
checking for pcap_datalink_name_to_val... no
checking for pcap_get_selectable_fd... no
checking for pcap_next_ex... no
checking for pcap_dump_ftell... no
checking for local tcp_wrappers library... not found
checking for system tcp_wrappers library... yes
checking for xdrmem_create... (cached) yes
checking tm_gmtoff in struct tm... yes
checking sys_errlist in stdio.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ./common/Makefile
config.status: creating ./argus/Makefile
config.status: creating ./events/Makefile
config.status: creating include/argus_config.h
config.status: include/argus_config.h is unchanged
[bivio-01] root <at> CPU-X argus-3.0.5.6$ make
### Making in /root/src/argus-3.0.5.6/common
make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/common'
gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_util.c
gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_code.c
gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_filter.c
bison -y -p argus_ -d grammar.y
mv y.tab.c grammar.c
mv y.tab.h tokdefs.h
gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H
-Dyylval=argus_lval -c grammar.c
flex -Pargus_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c scanner.c
sed -e 's/.*/char version[] = "&";/' ./../VERSION > version.c
gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c version.c
rm -f ../lib/argus_common.a; ar qc ../lib/argus_common.a argus_util.o
argus_code.o argus_filter.o grammar.o scanner.o version.o
ranlib ../lib/argus_common.a
make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/common'
### Done with /root/src/argus-3.0.5.6/common
### Making in /root/src/argus-3.0.5.6/argus
make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c argus.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusModeler.c
ArgusModeler.c: In function 'ArgusUpdateBasicFlow':
ArgusModeler.c:2047: warning: comparison is always true due to limited
range of data type
ArgusModeler.c:2054: warning: comparison is always true due to limited
range of data type
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSource.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUtil.c
ArgusUtil.c: In function 'ArgusUpdateTime':
ArgusUtil.c:778: warning: incompatible implicit declaration of built-in
function 'llabs'
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusOutput.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusTcp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIcmp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIgmp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEsp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusArp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusFrag.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdt.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusLcp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIsis.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusAuth.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c Argus802.11.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusApp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEvents.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusNetflow.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSflow.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -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
ArgusUdt.o ArgusLcp.o ArgusIsis.o ArgusAuth.o Argus802.11.o ArgusApp.o
ArgusEvents.o ArgusNetflow.o ArgusSflow.o  ../lib/libpcap.a -lpthread
-lwrap -lnsl  -lm -lz ../lib/argus_common.a -lm
ArgusSource.o: In function
`Argus802_11Packet':ArgusSource.c:(.text+0x9bc): undefined reference to
`pcap_dump_ftell'
ArgusSource.o: In function `ArgusIpPacket':ArgusSource.c:(.text+0xb7c):
undefined reference to `pcap_dump_ftell'
ArgusSource.o: In function `ArgusNullPacket':ArgusSource.c:(.text+0xd0c):
undefined reference to `pcap_dump_ftell'
ArgusSource.o: In function
`ArgusEtherPacket':ArgusSource.c:(.text+0x245c): undefined reference to
`pcap_dump_ftell'
ArgusSource.o: In function
`ArgusArcnetPacket':ArgusSource.c:(.text+0x26fc): undefined reference to
`pcap_dump_ftell'
ArgusSource.o:ArgusSource.c:(.text+0x297c): more undefined references to
`pcap_dump_ftell' follow
ArgusSource.o: In function `ArgusGetPackets':ArgusSource.c:(.text+0x451c):
undefined reference to `pcap_next_ex'
:ArgusSource.c:(.text+0x4558): undefined reference to `pcap_next_ex'
:ArgusSource.c:(.text+0x4594): undefined reference to `pcap_next_ex'
:ArgusSource.c:(.text+0x45d0): undefined reference to `pcap_next_ex'
:ArgusSource.c:(.text+0x4634): undefined reference to `pcap_next_ex'
ArgusSource.o:ArgusSource.c:(.text+0x4650): more undefined references to
`pcap_next_ex' follow
ArgusSource.o: In function `ArgusGetPackets':ArgusSource.c:(.text+0x46c0):
undefined reference to `pcap_get_selectable_fd'
:ArgusSource.c:(.text+0x4b14): undefined reference to `pcap_next_ex'
ArgusSource.o: In function `ArgusFddiPacket':ArgusSource.c:(.text+0x545c):
undefined reference to `pcap_dump_ftell'
ArgusSource.o: In function `setArgusDevice':ArgusSource.c:(.text+0x6f94):
undefined reference to `pcap_datalink_name_to_val'
:ArgusSource.c:(.text+0x713c): undefined reference to
`pcap_datalink_name_to_val'
collect2: ld returned 1 exit status
make[1]: *** [../bin/argus] Error 1
make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
### Done with /root/src/argus-3.0.5.6/argus
### Making in /root/src/argus-3.0.5.6/events
make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/events'
sed 's+ <at> PERLBIN <at> +/usr/bin/perl+' argus-lsof.pl > ../bin/argus-lsof
chmod +x ../bin/argus-lsof
cp -f argus-snmp.sh ../bin/argus-snmp
cp -f argus-vmstat.sh ../bin/argus-vmstat
make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/events'
### Done with /root/src/argus-3.0.5.6/events

Carter Bullard | 1 Dec 22:24 2011

Re: Compile failure on 3.0.5.6 - Bivio hardware/pcap

Hey Jason,
Thanks !!!!   I'll fix this tonight, and I'll have a new argus up before the weekend.
Sorry for any inconvenience,
Carter

On Dec 1, 2011, at 4:05 PM, Jason Carr wrote:

> Hello guys,
> 
> I'm having some compile errors on the Bivio hardware.  It uses a hacked
> pcap library so I'm betting these functions are not implemented.  Also
> noted that these functions were noted as "no" in the configure stage.
> 
> Thanks,
> 
> Jason
> 
> Here's the log:
> 
> [bivio-01] root <at> CPU-X argus-3.0.5.6$ ./configure
> --with-libpcap=/usr/lib/zcp/
> checking build system type... powerpc-unknown-linux-gnu
> checking host system type... powerpc-unknown-linux-gnu
> checking target system type... powerpc-unknown-linux-gnu
> checking for standard perl installation... /usr/bin/perl
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking gcc version... 4
> checking for inline... inline
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking how to run the C preprocessor... gcc -E
> checking whether make sets $(MAKE)... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for ranlib... ranlib
> checking for bison... bison -y
> checking for ranlib... ranlib
> checking for flex... flex
> checking for flex 2.4 or higher... yes
> checking for bison... bison
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking for ANSI C header files... (cached) yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking sys/sockio.h usability... no
> checking sys/sockio.h presence... no
> checking for sys/sockio.h... no
> checking for string.h... (cached) yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking sys/file.h usability... yes
> checking sys/file.h presence... yes
> checking for sys/file.h... yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> checking arpa/inet.h usability... yes
> checking arpa/inet.h presence... yes
> checking for arpa/inet.h... yes
> checking for fcntl.h... (cached) yes
> checking for inttypes.h... (cached) yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking libintl.h usability... yes
> checking libintl.h presence... yes
> checking for libintl.h... yes
> checking malloc.h usability... yes
> checking malloc.h presence... yes
> checking for malloc.h... yes
> checking for memory.h... (cached) yes
> checking netdb.h usability... yes
> checking netdb.h presence... yes
> checking for netdb.h... yes
> checking netinet/in.h usability... yes
> checking netinet/in.h presence... yes
> checking for netinet/in.h... yes
> checking for stdlib.h... (cached) yes
> checking stddef.h usability... yes
> checking stddef.h presence... yes
> checking for stddef.h... yes
> checking for string.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for sys/file.h... (cached) yes
> checking sys/ioctl.h usability... yes
> checking sys/ioctl.h presence... yes
> checking for sys/ioctl.h... yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking sys/vfs.h usability... yes
> checking sys/vfs.h presence... yes
> checking for sys/vfs.h... yes
> checking for syslog.h... (cached) yes
> checking termios.h usability... yes
> checking termios.h presence... yes
> checking for termios.h... yes
> checking for unistd.h... (cached) yes
> checking values.h usability... yes
> checking values.h presence... yes
> checking for values.h... yes
> checking for an ANSI C-conforming const... yes
> checking for inline... (cached) inline
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... 64
> checking if unaligned accesses fail... no
> checking for int8_t... yes
> checking for uint8_t... yes
> checking for int16_t... yes
> checking for uint16_t... yes
> checking for int32_t... yes
> checking for uint32_t... yes
> checking for uid_t in sys/types.h... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for struct tm.tm_zone... yes
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for vprintf... yes
> checking for _doprnt... no
> checking whether closedir returns void... no
> checking for error_at_line... yes
> checking vfork.h usability... no
> checking vfork.h presence... no
> checking for vfork.h... no
> checking for fork... yes
> checking for vfork... yes
> checking for working fork... yes
> checking for working vfork... (cached) yes
> checking whether gcc needs -traditional... no
> checking for stdlib.h... (cached) yes
> checking for GNU libc compatible malloc... yes
> checking for working memcmp... yes
> checking for sys/time.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for alarm... yes
> checking for working mktime... no
> checking for stdlib.h... (cached) yes
> checking for GNU libc compatible realloc... yes
> checking sys/select.h usability... yes
> checking sys/select.h presence... yes
> checking for sys/select.h... yes
> checking for sys/socket.h... (cached) yes
> checking types of arguments for select... int,fd_set *,struct timeval *
> checking return type of signal handlers... void
> checking whether lstat correctly handles trailing slash... yes
> checking whether stat accepts an empty string... no
> checking for strftime... yes
> checking for working strtod... yes
> checking for backtrace... yes
> checking for openlog... yes
> checking for syslog... yes
> checking for vfprintf... yes
> checking for strlcpy... no
> checking for strftime... (cached) yes
> checking for inet_aton... yes
> checking for setlinebuf... yes
> checking for strerror... yes
> checking for strtof... yes
> checking for floorf... no
> checking for remainderf... no
> checking for xdrmem_create... yes
> checking for vsnprintf... yes
> checking for snprintf... yes
> checking for library containing gethostbyname... none required
> checking for library containing socket... none required
> checking for library containing putmsg... none required
> checking for ether_hostton... yes
> checking for getaddrinfo... yes
> checking for gethostname... yes
> checking netinet/ether.h usability... yes
> checking netinet/ether.h presence... yes
> checking for netinet/ether.h... yes
> checking whether ether_hostton is declared... yes
> checking for alarm... (cached) yes
> checking for bzero... yes
> checking for endgrent... yes
> checking for endpwent... yes
> checking for floor... no
> checking for gethostbyaddr... yes
> checking for gethostbyname... yes
> checking for getpass... yes
> checking for gettimeofday... yes
> checking for inet_ntoa... yes
> checking for isascii... yes
> checking for localtime_r... yes
> checking for memchr... yes
> checking for memmove... yes
> checking for memset... yes
> checking for mkdir... yes
> checking for modf... yes
> checking for pow... no
> checking for putenv... yes
> checking for realpath... yes
> checking for regcomp... yes
> checking for select... yes
> checking for setenv... yes
> checking for socket... yes
> checking for sqrt... no
> checking for strcasecmp... yes
> checking for strchr... yes
> checking for strdup... yes
> checking for strlcat... no
> checking for strncasecmp... yes
> checking for strpbrk... yes
> checking for strrchr... yes
> checking for strstr... yes
> checking for strtol... yes
> checking for srandomdev... no
> checking for tzset... yes
> checking for .threads... yes
> checking for sched_get_priority_min... yes
> checking for specified library... /usr/lib/zcp//libpcap.a
> checking for specified pcap.h... configure: WARNING: not found
> checking for pcap_list_datalinks... no
> checking for pcap_set_datalink... no
> checking for pcap_datalink_name_to_val... no
> checking for pcap_get_selectable_fd... no
> checking for pcap_next_ex... no
> checking for pcap_dump_ftell... no
> checking for local tcp_wrappers library... not found
> checking for system tcp_wrappers library... yes
> checking for xdrmem_create... (cached) yes
> checking tm_gmtoff in struct tm... yes
> checking sys_errlist in stdio.h... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating ./common/Makefile
> config.status: creating ./argus/Makefile
> config.status: creating ./events/Makefile
> config.status: creating include/argus_config.h
> config.status: include/argus_config.h is unchanged
> [bivio-01] root <at> CPU-X argus-3.0.5.6$ make
> ### Making in /root/src/argus-3.0.5.6/common
> make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/common'
> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_util.c
> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_code.c
> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_filter.c
> bison -y -p argus_ -d grammar.y
> mv y.tab.c grammar.c
> mv y.tab.h tokdefs.h
> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H
> -Dyylval=argus_lval -c grammar.c
> flex -Pargus_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c scanner.c
> sed -e 's/.*/char version[] = "&";/' ./../VERSION > version.c
> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c version.c
> rm -f ../lib/argus_common.a; ar qc ../lib/argus_common.a argus_util.o
> argus_code.o argus_filter.o grammar.o scanner.o version.o
> ranlib ../lib/argus_common.a
> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/common'
> ### Done with /root/src/argus-3.0.5.6/common
> ### Making in /root/src/argus-3.0.5.6/argus
> make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c argus.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusModeler.c
> ArgusModeler.c: In function 'ArgusUpdateBasicFlow':
> ArgusModeler.c:2047: warning: comparison is always true due to limited
> range of data type
> ArgusModeler.c:2054: warning: comparison is always true due to limited
> range of data type
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSource.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUtil.c
> ArgusUtil.c: In function 'ArgusUpdateTime':
> ArgusUtil.c:778: warning: incompatible implicit declaration of built-in
> function 'llabs'
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusOutput.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusTcp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIcmp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIgmp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEsp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusArp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusFrag.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdt.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusLcp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIsis.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusAuth.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c Argus802.11.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusApp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEvents.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusNetflow.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSflow.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -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
> ArgusUdt.o ArgusLcp.o ArgusIsis.o ArgusAuth.o Argus802.11.o ArgusApp.o
> ArgusEvents.o ArgusNetflow.o ArgusSflow.o  ../lib/libpcap.a -lpthread
> -lwrap -lnsl  -lm -lz ../lib/argus_common.a -lm
> ArgusSource.o: In function
> `Argus802_11Packet':ArgusSource.c:(.text+0x9bc): undefined reference to
> `pcap_dump_ftell'
> ArgusSource.o: In function `ArgusIpPacket':ArgusSource.c:(.text+0xb7c):
> undefined reference to `pcap_dump_ftell'
> ArgusSource.o: In function `ArgusNullPacket':ArgusSource.c:(.text+0xd0c):
> undefined reference to `pcap_dump_ftell'
> ArgusSource.o: In function
> `ArgusEtherPacket':ArgusSource.c:(.text+0x245c): undefined reference to
> `pcap_dump_ftell'
> ArgusSource.o: In function
> `ArgusArcnetPacket':ArgusSource.c:(.text+0x26fc): undefined reference to
> `pcap_dump_ftell'
> ArgusSource.o:ArgusSource.c:(.text+0x297c): more undefined references to
> `pcap_dump_ftell' follow
> ArgusSource.o: In function `ArgusGetPackets':ArgusSource.c:(.text+0x451c):
> undefined reference to `pcap_next_ex'
> :ArgusSource.c:(.text+0x4558): undefined reference to `pcap_next_ex'
> :ArgusSource.c:(.text+0x4594): undefined reference to `pcap_next_ex'
> :ArgusSource.c:(.text+0x45d0): undefined reference to `pcap_next_ex'
> :ArgusSource.c:(.text+0x4634): undefined reference to `pcap_next_ex'
> ArgusSource.o:ArgusSource.c:(.text+0x4650): more undefined references to
> `pcap_next_ex' follow
> ArgusSource.o: In function `ArgusGetPackets':ArgusSource.c:(.text+0x46c0):
> undefined reference to `pcap_get_selectable_fd'
> :ArgusSource.c:(.text+0x4b14): undefined reference to `pcap_next_ex'
> ArgusSource.o: In function `ArgusFddiPacket':ArgusSource.c:(.text+0x545c):
> undefined reference to `pcap_dump_ftell'
> ArgusSource.o: In function `setArgusDevice':ArgusSource.c:(.text+0x6f94):
> undefined reference to `pcap_datalink_name_to_val'
> :ArgusSource.c:(.text+0x713c): undefined reference to
> `pcap_datalink_name_to_val'
> collect2: ld returned 1 exit status
> make[1]: *** [../bin/argus] Error 1
> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
> ### Done with /root/src/argus-3.0.5.6/argus
> ### Making in /root/src/argus-3.0.5.6/events
> make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/events'
> sed 's+ <at> PERLBIN <at> +/usr/bin/perl+' argus-lsof.pl > ../bin/argus-lsof
> chmod +x ../bin/argus-lsof
> cp -f argus-snmp.sh ../bin/argus-snmp
> cp -f argus-vmstat.sh ../bin/argus-vmstat
> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/events'
> ### Done with /root/src/argus-3.0.5.6/events
> 
> 

Attachment (smime.p7s): application/pkcs7-signature, 5901 bytes
Carter Bullard | 1 Dec 23:36 2011

Re: Compile failure on 3.0.5.6 - Bivio hardware/pcap

Hey Jason,
I uploaded a new argus-3.0.5.6.tar.gz just now that should compile for the older Bivio code.

Please give code a try:
   http://qosient.com/argus/dev/argus-latest.tar.gz

Carter

On Dec 1, 2011, at 4:24 PM, Carter Bullard wrote:

> Hey Jason,
> Thanks !!!!   I'll fix this tonight, and I'll have a new argus up before the weekend.
> Sorry for any inconvenience,
> Carter
> 
> On Dec 1, 2011, at 4:05 PM, Jason Carr wrote:
> 
>> Hello guys,
>> 
>> I'm having some compile errors on the Bivio hardware.  It uses a hacked
>> pcap library so I'm betting these functions are not implemented.  Also
>> noted that these functions were noted as "no" in the configure stage.
>> 
>> Thanks,
>> 
>> Jason
>> 
>> Here's the log:
>> 
>> [bivio-01] root <at> CPU-X argus-3.0.5.6$ ./configure
>> --with-libpcap=/usr/lib/zcp/
>> checking build system type... powerpc-unknown-linux-gnu
>> checking host system type... powerpc-unknown-linux-gnu
>> checking target system type... powerpc-unknown-linux-gnu
>> checking for standard perl installation... /usr/bin/perl
>> checking for gcc... gcc
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... no
>> checking for suffix of object files... o
>> checking whether we are using the GNU C compiler... yes
>> checking whether gcc accepts -g... yes
>> checking for gcc option to accept ISO C89... none needed
>> checking gcc version... 4
>> checking for inline... inline
>> checking for gcc... (cached) gcc
>> checking whether we are using the GNU C compiler... (cached) yes
>> checking whether gcc accepts -g... (cached) yes
>> checking for gcc option to accept ISO C89... (cached) none needed
>> checking how to run the C preprocessor... gcc -E
>> checking whether make sets $(MAKE)... yes
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking for ranlib... ranlib
>> checking for bison... bison -y
>> checking for ranlib... ranlib
>> checking for flex... flex
>> checking for flex 2.4 or higher... yes
>> checking for bison... bison
>> checking for grep that handles long lines and -e... /bin/grep
>> checking for egrep... /bin/grep -E
>> checking for ANSI C header files... yes
>> checking for sys/types.h... yes
>> checking for sys/stat.h... yes
>> checking for stdlib.h... yes
>> checking for string.h... yes
>> checking for memory.h... yes
>> checking for strings.h... yes
>> checking for inttypes.h... yes
>> checking for stdint.h... yes
>> checking for unistd.h... yes
>> checking for dirent.h that defines DIR... yes
>> checking for library containing opendir... none required
>> checking for ANSI C header files... (cached) yes
>> checking for sys/wait.h that is POSIX.1 compatible... yes
>> checking sys/sockio.h usability... no
>> checking sys/sockio.h presence... no
>> checking for sys/sockio.h... no
>> checking for string.h... (cached) yes
>> checking fcntl.h usability... yes
>> checking fcntl.h presence... yes
>> checking for fcntl.h... yes
>> checking sys/file.h usability... yes
>> checking sys/file.h presence... yes
>> checking for sys/file.h... yes
>> checking syslog.h usability... yes
>> checking syslog.h presence... yes
>> checking for syslog.h... yes
>> checking zlib.h usability... yes
>> checking zlib.h presence... yes
>> checking for zlib.h... yes
>> checking arpa/inet.h usability... yes
>> checking arpa/inet.h presence... yes
>> checking for arpa/inet.h... yes
>> checking for fcntl.h... (cached) yes
>> checking for inttypes.h... (cached) yes
>> checking limits.h usability... yes
>> checking limits.h presence... yes
>> checking for limits.h... yes
>> checking libintl.h usability... yes
>> checking libintl.h presence... yes
>> checking for libintl.h... yes
>> checking malloc.h usability... yes
>> checking malloc.h presence... yes
>> checking for malloc.h... yes
>> checking for memory.h... (cached) yes
>> checking netdb.h usability... yes
>> checking netdb.h presence... yes
>> checking for netdb.h... yes
>> checking netinet/in.h usability... yes
>> checking netinet/in.h presence... yes
>> checking for netinet/in.h... yes
>> checking for stdlib.h... (cached) yes
>> checking stddef.h usability... yes
>> checking stddef.h presence... yes
>> checking for stddef.h... yes
>> checking for string.h... (cached) yes
>> checking for strings.h... (cached) yes
>> checking for sys/file.h... (cached) yes
>> checking sys/ioctl.h usability... yes
>> checking sys/ioctl.h presence... yes
>> checking for sys/ioctl.h... yes
>> checking sys/param.h usability... yes
>> checking sys/param.h presence... yes
>> checking for sys/param.h... yes
>> checking sys/socket.h usability... yes
>> checking sys/socket.h presence... yes
>> checking for sys/socket.h... yes
>> checking sys/time.h usability... yes
>> checking sys/time.h presence... yes
>> checking for sys/time.h... yes
>> checking sys/vfs.h usability... yes
>> checking sys/vfs.h presence... yes
>> checking for sys/vfs.h... yes
>> checking for syslog.h... (cached) yes
>> checking termios.h usability... yes
>> checking termios.h presence... yes
>> checking for termios.h... yes
>> checking for unistd.h... (cached) yes
>> checking values.h usability... yes
>> checking values.h presence... yes
>> checking for values.h... yes
>> checking for an ANSI C-conforming const... yes
>> checking for inline... (cached) inline
>> checking for special C compiler options needed for large files... no
>> checking for _FILE_OFFSET_BITS value needed for large files... 64
>> checking if unaligned accesses fail... no
>> checking for int8_t... yes
>> checking for uint8_t... yes
>> checking for int16_t... yes
>> checking for uint16_t... yes
>> checking for int32_t... yes
>> checking for uint32_t... yes
>> checking for uid_t in sys/types.h... yes
>> checking for pid_t... yes
>> checking for size_t... yes
>> checking whether time.h and sys/time.h may both be included... yes
>> checking whether struct tm is in sys/time.h or time.h... time.h
>> checking for struct tm.tm_zone... yes
>> checking for working alloca.h... yes
>> checking for alloca... yes
>> checking for vprintf... yes
>> checking for _doprnt... no
>> checking whether closedir returns void... no
>> checking for error_at_line... yes
>> checking vfork.h usability... no
>> checking vfork.h presence... no
>> checking for vfork.h... no
>> checking for fork... yes
>> checking for vfork... yes
>> checking for working fork... yes
>> checking for working vfork... (cached) yes
>> checking whether gcc needs -traditional... no
>> checking for stdlib.h... (cached) yes
>> checking for GNU libc compatible malloc... yes
>> checking for working memcmp... yes
>> checking for sys/time.h... (cached) yes
>> checking for unistd.h... (cached) yes
>> checking for alarm... yes
>> checking for working mktime... no
>> checking for stdlib.h... (cached) yes
>> checking for GNU libc compatible realloc... yes
>> checking sys/select.h usability... yes
>> checking sys/select.h presence... yes
>> checking for sys/select.h... yes
>> checking for sys/socket.h... (cached) yes
>> checking types of arguments for select... int,fd_set *,struct timeval *
>> checking return type of signal handlers... void
>> checking whether lstat correctly handles trailing slash... yes
>> checking whether stat accepts an empty string... no
>> checking for strftime... yes
>> checking for working strtod... yes
>> checking for backtrace... yes
>> checking for openlog... yes
>> checking for syslog... yes
>> checking for vfprintf... yes
>> checking for strlcpy... no
>> checking for strftime... (cached) yes
>> checking for inet_aton... yes
>> checking for setlinebuf... yes
>> checking for strerror... yes
>> checking for strtof... yes
>> checking for floorf... no
>> checking for remainderf... no
>> checking for xdrmem_create... yes
>> checking for vsnprintf... yes
>> checking for snprintf... yes
>> checking for library containing gethostbyname... none required
>> checking for library containing socket... none required
>> checking for library containing putmsg... none required
>> checking for ether_hostton... yes
>> checking for getaddrinfo... yes
>> checking for gethostname... yes
>> checking netinet/ether.h usability... yes
>> checking netinet/ether.h presence... yes
>> checking for netinet/ether.h... yes
>> checking whether ether_hostton is declared... yes
>> checking for alarm... (cached) yes
>> checking for bzero... yes
>> checking for endgrent... yes
>> checking for endpwent... yes
>> checking for floor... no
>> checking for gethostbyaddr... yes
>> checking for gethostbyname... yes
>> checking for getpass... yes
>> checking for gettimeofday... yes
>> checking for inet_ntoa... yes
>> checking for isascii... yes
>> checking for localtime_r... yes
>> checking for memchr... yes
>> checking for memmove... yes
>> checking for memset... yes
>> checking for mkdir... yes
>> checking for modf... yes
>> checking for pow... no
>> checking for putenv... yes
>> checking for realpath... yes
>> checking for regcomp... yes
>> checking for select... yes
>> checking for setenv... yes
>> checking for socket... yes
>> checking for sqrt... no
>> checking for strcasecmp... yes
>> checking for strchr... yes
>> checking for strdup... yes
>> checking for strlcat... no
>> checking for strncasecmp... yes
>> checking for strpbrk... yes
>> checking for strrchr... yes
>> checking for strstr... yes
>> checking for strtol... yes
>> checking for srandomdev... no
>> checking for tzset... yes
>> checking for .threads... yes
>> checking for sched_get_priority_min... yes
>> checking for specified library... /usr/lib/zcp//libpcap.a
>> checking for specified pcap.h... configure: WARNING: not found
>> checking for pcap_list_datalinks... no
>> checking for pcap_set_datalink... no
>> checking for pcap_datalink_name_to_val... no
>> checking for pcap_get_selectable_fd... no
>> checking for pcap_next_ex... no
>> checking for pcap_dump_ftell... no
>> checking for local tcp_wrappers library... not found
>> checking for system tcp_wrappers library... yes
>> checking for xdrmem_create... (cached) yes
>> checking tm_gmtoff in struct tm... yes
>> checking sys_errlist in stdio.h... yes
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating ./common/Makefile
>> config.status: creating ./argus/Makefile
>> config.status: creating ./events/Makefile
>> config.status: creating include/argus_config.h
>> config.status: include/argus_config.h is unchanged
>> [bivio-01] root <at> CPU-X argus-3.0.5.6$ make
>> ### Making in /root/src/argus-3.0.5.6/common
>> make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/common'
>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_util.c
>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_code.c
>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_filter.c
>> bison -y -p argus_ -d grammar.y
>> mv y.tab.c grammar.c
>> mv y.tab.h tokdefs.h
>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H
>> -Dyylval=argus_lval -c grammar.c
>> flex -Pargus_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c scanner.c
>> sed -e 's/.*/char version[] = "&";/' ./../VERSION > version.c
>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c version.c
>> rm -f ../lib/argus_common.a; ar qc ../lib/argus_common.a argus_util.o
>> argus_code.o argus_filter.o grammar.o scanner.o version.o
>> ranlib ../lib/argus_common.a
>> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/common'
>> ### Done with /root/src/argus-3.0.5.6/common
>> ### Making in /root/src/argus-3.0.5.6/argus
>> make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c argus.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusModeler.c
>> ArgusModeler.c: In function 'ArgusUpdateBasicFlow':
>> ArgusModeler.c:2047: warning: comparison is always true due to limited
>> range of data type
>> ArgusModeler.c:2054: warning: comparison is always true due to limited
>> range of data type
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSource.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUtil.c
>> ArgusUtil.c: In function 'ArgusUpdateTime':
>> ArgusUtil.c:778: warning: incompatible implicit declaration of built-in
>> function 'llabs'
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusOutput.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusTcp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIcmp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIgmp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEsp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusArp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusFrag.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdt.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusLcp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIsis.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusAuth.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c Argus802.11.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusApp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEvents.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusNetflow.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSflow.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -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
>> ArgusUdt.o ArgusLcp.o ArgusIsis.o ArgusAuth.o Argus802.11.o ArgusApp.o
>> ArgusEvents.o ArgusNetflow.o ArgusSflow.o  ../lib/libpcap.a -lpthread
>> -lwrap -lnsl  -lm -lz ../lib/argus_common.a -lm
>> ArgusSource.o: In function
>> `Argus802_11Packet':ArgusSource.c:(.text+0x9bc): undefined reference to
>> `pcap_dump_ftell'
>> ArgusSource.o: In function `ArgusIpPacket':ArgusSource.c:(.text+0xb7c):
>> undefined reference to `pcap_dump_ftell'
>> ArgusSource.o: In function `ArgusNullPacket':ArgusSource.c:(.text+0xd0c):
>> undefined reference to `pcap_dump_ftell'
>> ArgusSource.o: In function
>> `ArgusEtherPacket':ArgusSource.c:(.text+0x245c): undefined reference to
>> `pcap_dump_ftell'
>> ArgusSource.o: In function
>> `ArgusArcnetPacket':ArgusSource.c:(.text+0x26fc): undefined reference to
>> `pcap_dump_ftell'
>> ArgusSource.o:ArgusSource.c:(.text+0x297c): more undefined references to
>> `pcap_dump_ftell' follow
>> ArgusSource.o: In function `ArgusGetPackets':ArgusSource.c:(.text+0x451c):
>> undefined reference to `pcap_next_ex'
>> :ArgusSource.c:(.text+0x4558): undefined reference to `pcap_next_ex'
>> :ArgusSource.c:(.text+0x4594): undefined reference to `pcap_next_ex'
>> :ArgusSource.c:(.text+0x45d0): undefined reference to `pcap_next_ex'
>> :ArgusSource.c:(.text+0x4634): undefined reference to `pcap_next_ex'
>> ArgusSource.o:ArgusSource.c:(.text+0x4650): more undefined references to
>> `pcap_next_ex' follow
>> ArgusSource.o: In function `ArgusGetPackets':ArgusSource.c:(.text+0x46c0):
>> undefined reference to `pcap_get_selectable_fd'
>> :ArgusSource.c:(.text+0x4b14): undefined reference to `pcap_next_ex'
>> ArgusSource.o: In function `ArgusFddiPacket':ArgusSource.c:(.text+0x545c):
>> undefined reference to `pcap_dump_ftell'
>> ArgusSource.o: In function `setArgusDevice':ArgusSource.c:(.text+0x6f94):
>> undefined reference to `pcap_datalink_name_to_val'
>> :ArgusSource.c:(.text+0x713c): undefined reference to
>> `pcap_datalink_name_to_val'
>> collect2: ld returned 1 exit status
>> make[1]: *** [../bin/argus] Error 1
>> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
>> ### Done with /root/src/argus-3.0.5.6/argus
>> ### Making in /root/src/argus-3.0.5.6/events
>> make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/events'
>> sed 's+ <at> PERLBIN <at> +/usr/bin/perl+' argus-lsof.pl > ../bin/argus-lsof
>> chmod +x ../bin/argus-lsof
>> cp -f argus-snmp.sh ../bin/argus-snmp
>> cp -f argus-vmstat.sh ../bin/argus-vmstat
>> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/events'
>> ### Done with /root/src/argus-3.0.5.6/events
>> 
>> 
> 

Attachment (smime.p7s): application/pkcs7-signature, 5901 bytes
Jason Carr | 3 Dec 08:16 2011
Picon

Re: Compile failure on 3.0.5.6 - Bivio hardware/pcap

Still having issues:

[bivio-01] root <at> CPU-X argus-3.0.5.6$ ./configure
--with-libpcap=/usr/lib/zcp/
checking build system type... powerpc-unknown-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
checking target system type... powerpc-unknown-linux-gnu
checking for standard perl installation... /usr/bin/perl
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking gcc version... 4
checking for inline... inline
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... bison -y
checking for ranlib... ranlib
checking for flex... flex
checking for flex 2.4 or higher... yes
checking for bison... bison
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for string.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for fcntl.h... (cached) yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/file.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking for syslog.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... (cached) inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking if unaligned accesses fail... no
checking for int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for vprintf... yes
checking for _doprnt... no
checking whether closedir returns void... no
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... yes
checking for backtrace... yes
checking for openlog... yes
checking for syslog... yes
checking for vfprintf... yes
checking for strlcpy... no
checking for strftime... (cached) yes
checking for inet_aton... yes
checking for setlinebuf... yes
checking for strerror... yes
checking for strtof... yes
checking for floorf... no
checking for remainderf... no
checking for xdrmem_create... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing putmsg... none required
checking for ether_hostton... yes
checking for getaddrinfo... yes
checking for gethostname... yes
checking netinet/ether.h usability... yes
checking netinet/ether.h presence... yes
checking for netinet/ether.h... yes
checking whether ether_hostton is declared... yes
checking for alarm... (cached) yes
checking for bzero... yes
checking for endgrent... yes
checking for endpwent... yes
checking for floor... no
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for getpass... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for isascii... yes
checking for localtime_r... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for modf... yes
checking for pow... no
checking for putenv... yes
checking for realpath... yes
checking for regcomp... yes
checking for select... yes
checking for setenv... yes
checking for socket... yes
checking for sqrt... no
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strlcat... no
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for srandomdev... no
checking for tzset... yes
checking for .threads... yes
checking for sched_get_priority_min... yes
checking for specified library... /usr/lib/zcp//libpcap.a
checking for specified pcap.h... configure: WARNING: not found
checking for pcap_list_datalinks... no
checking for pcap_set_datalink... no
checking for pcap_datalink_name_to_val... no
checking for pcap_get_selectable_fd... no
checking for pcap_next_ex... no
checking for pcap_dump_ftell... no
checking for local tcp_wrappers library... not found
checking for system tcp_wrappers library... yes
checking for xdrmem_create... (cached) yes
checking tm_gmtoff in struct tm... yes
checking sys_errlist in stdio.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ./common/Makefile
config.status: creating ./argus/Makefile
config.status: creating ./events/Makefile
config.status: creating include/argus_config.h
[bivio-01] root <at> CPU-X argus-3.0.5.6$ make
### Making in /root/src/argus-3.0.5.6/common
make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/common'
gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_util.c
gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_code.c
gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_filter.c
bison -y -p argus_ -d grammar.y
mv y.tab.c grammar.c
mv y.tab.h tokdefs.h
gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H
-Dyylval=argus_lval -c grammar.c
flex -Pargus_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c scanner.c
sed -e 's/.*/char version[] = "&";/' ./../VERSION > version.c
gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c version.c
rm -f ../lib/argus_common.a; ar qc ../lib/argus_common.a argus_util.o
argus_code.o argus_filter.o grammar.o scanner.o version.o
ranlib ../lib/argus_common.a
make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/common'
### Done with /root/src/argus-3.0.5.6/common
### Making in /root/src/argus-3.0.5.6/argus
make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c argus.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusModeler.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSource.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUtil.c
ArgusUtil.c: In function 'ArgusUpdateTime':
ArgusUtil.c:779: warning: incompatible implicit declaration of built-in
function 'llabs'
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusOutput.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusTcp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIcmp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIgmp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEsp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusArp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusFrag.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdt.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusLcp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIsis.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusAuth.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c Argus802.11.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusApp.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEvents.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusNetflow.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSflow.c
gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -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
ArgusUdt.o ArgusLcp.o ArgusIsis.o ArgusAuth.o Argus802.11.o ArgusApp.o
ArgusEvents.o ArgusNetflow.o ArgusSflow.o  ../lib/libpcap.a -lpthread
-lwrap -lnsl  -lm -lz ../lib/argus_common.a -lm
ArgusSource.o: In function `ArgusGetPackets':ArgusSource.c:(.text+0x45a4):
undefined reference to `pcap_get_selectable_fd'
collect2: ld returned 1 exit status
make[1]: *** [../bin/argus] Error 1
make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
### Done with /root/src/argus-3.0.5.6/argus
### Making in /root/src/argus-3.0.5.6/events
make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/events'
sed 's+ <at> PERLBIN <at> +/usr/bin/perl+' argus-lsof.pl > ../bin/argus-lsof
chmod +x ../bin/argus-lsof
cp -f argus-snmp.sh ../bin/argus-snmp
cp -f argus-vmstat.sh ../bin/argus-vmstat
make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/events'
### Done with /root/src/argus-3.0.5.6/events

On 12/1/11 5:36 PM, "Carter Bullard" <carter <at> qosient.com> wrote:

>Hey Jason,
>I uploaded a new argus-3.0.5.6.tar.gz just now that should compile for
>the older Bivio code.
>
>Please give code a try:
>   http://qosient.com/argus/dev/argus-latest.tar.gz
>
>Carter
>
>On Dec 1, 2011, at 4:24 PM, Carter Bullard wrote:
>
>> Hey Jason,
>> Thanks !!!!   I'll fix this tonight, and I'll have a new argus up
>>before the weekend.
>> Sorry for any inconvenience,
>> Carter
>> 
>> On Dec 1, 2011, at 4:05 PM, Jason Carr wrote:
>> 
>>> Hello guys,
>>> 
>>> I'm having some compile errors on the Bivio hardware.  It uses a hacked
>>> pcap library so I'm betting these functions are not implemented.  Also
>>> noted that these functions were noted as "no" in the configure stage.
>>> 
>>> Thanks,
>>> 
>>> Jason
>>> 
>>> Here's the log:
>>> 
>>> [bivio-01] root <at> CPU-X argus-3.0.5.6$ ./configure
>>> --with-libpcap=/usr/lib/zcp/
>>> checking build system type... powerpc-unknown-linux-gnu
>>> checking host system type... powerpc-unknown-linux-gnu
>>> checking target system type... powerpc-unknown-linux-gnu
>>> checking for standard perl installation... /usr/bin/perl
>>> checking for gcc... gcc
>>> checking whether the C compiler works... yes
>>> checking for C compiler default output file name... a.out
>>> checking for suffix of executables...
>>> checking whether we are cross compiling... no
>>> checking for suffix of object files... o
>>> checking whether we are using the GNU C compiler... yes
>>> checking whether gcc accepts -g... yes
>>> checking for gcc option to accept ISO C89... none needed
>>> checking gcc version... 4
>>> checking for inline... inline
>>> checking for gcc... (cached) gcc
>>> checking whether we are using the GNU C compiler... (cached) yes
>>> checking whether gcc accepts -g... (cached) yes
>>> checking for gcc option to accept ISO C89... (cached) none needed
>>> checking how to run the C preprocessor... gcc -E
>>> checking whether make sets $(MAKE)... yes
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking for ranlib... ranlib
>>> checking for bison... bison -y
>>> checking for ranlib... ranlib
>>> checking for flex... flex
>>> checking for flex 2.4 or higher... yes
>>> checking for bison... bison
>>> checking for grep that handles long lines and -e... /bin/grep
>>> checking for egrep... /bin/grep -E
>>> checking for ANSI C header files... yes
>>> checking for sys/types.h... yes
>>> checking for sys/stat.h... yes
>>> checking for stdlib.h... yes
>>> checking for string.h... yes
>>> checking for memory.h... yes
>>> checking for strings.h... yes
>>> checking for inttypes.h... yes
>>> checking for stdint.h... yes
>>> checking for unistd.h... yes
>>> checking for dirent.h that defines DIR... yes
>>> checking for library containing opendir... none required
>>> checking for ANSI C header files... (cached) yes
>>> checking for sys/wait.h that is POSIX.1 compatible... yes
>>> checking sys/sockio.h usability... no
>>> checking sys/sockio.h presence... no
>>> checking for sys/sockio.h... no
>>> checking for string.h... (cached) yes
>>> checking fcntl.h usability... yes
>>> checking fcntl.h presence... yes
>>> checking for fcntl.h... yes
>>> checking sys/file.h usability... yes
>>> checking sys/file.h presence... yes
>>> checking for sys/file.h... yes
>>> checking syslog.h usability... yes
>>> checking syslog.h presence... yes
>>> checking for syslog.h... yes
>>> checking zlib.h usability... yes
>>> checking zlib.h presence... yes
>>> checking for zlib.h... yes
>>> checking arpa/inet.h usability... yes
>>> checking arpa/inet.h presence... yes
>>> checking for arpa/inet.h... yes
>>> checking for fcntl.h... (cached) yes
>>> checking for inttypes.h... (cached) yes
>>> checking limits.h usability... yes
>>> checking limits.h presence... yes
>>> checking for limits.h... yes
>>> checking libintl.h usability... yes
>>> checking libintl.h presence... yes
>>> checking for libintl.h... yes
>>> checking malloc.h usability... yes
>>> checking malloc.h presence... yes
>>> checking for malloc.h... yes
>>> checking for memory.h... (cached) yes
>>> checking netdb.h usability... yes
>>> checking netdb.h presence... yes
>>> checking for netdb.h... yes
>>> checking netinet/in.h usability... yes
>>> checking netinet/in.h presence... yes
>>> checking for netinet/in.h... yes
>>> checking for stdlib.h... (cached) yes
>>> checking stddef.h usability... yes
>>> checking stddef.h presence... yes
>>> checking for stddef.h... yes
>>> checking for string.h... (cached) yes
>>> checking for strings.h... (cached) yes
>>> checking for sys/file.h... (cached) yes
>>> checking sys/ioctl.h usability... yes
>>> checking sys/ioctl.h presence... yes
>>> checking for sys/ioctl.h... yes
>>> checking sys/param.h usability... yes
>>> checking sys/param.h presence... yes
>>> checking for sys/param.h... yes
>>> checking sys/socket.h usability... yes
>>> checking sys/socket.h presence... yes
>>> checking for sys/socket.h... yes
>>> checking sys/time.h usability... yes
>>> checking sys/time.h presence... yes
>>> checking for sys/time.h... yes
>>> checking sys/vfs.h usability... yes
>>> checking sys/vfs.h presence... yes
>>> checking for sys/vfs.h... yes
>>> checking for syslog.h... (cached) yes
>>> checking termios.h usability... yes
>>> checking termios.h presence... yes
>>> checking for termios.h... yes
>>> checking for unistd.h... (cached) yes
>>> checking values.h usability... yes
>>> checking values.h presence... yes
>>> checking for values.h... yes
>>> checking for an ANSI C-conforming const... yes
>>> checking for inline... (cached) inline
>>> checking for special C compiler options needed for large files... no
>>> checking for _FILE_OFFSET_BITS value needed for large files... 64
>>> checking if unaligned accesses fail... no
>>> checking for int8_t... yes
>>> checking for uint8_t... yes
>>> checking for int16_t... yes
>>> checking for uint16_t... yes
>>> checking for int32_t... yes
>>> checking for uint32_t... yes
>>> checking for uid_t in sys/types.h... yes
>>> checking for pid_t... yes
>>> checking for size_t... yes
>>> checking whether time.h and sys/time.h may both be included... yes
>>> checking whether struct tm is in sys/time.h or time.h... time.h
>>> checking for struct tm.tm_zone... yes
>>> checking for working alloca.h... yes
>>> checking for alloca... yes
>>> checking for vprintf... yes
>>> checking for _doprnt... no
>>> checking whether closedir returns void... no
>>> checking for error_at_line... yes
>>> checking vfork.h usability... no
>>> checking vfork.h presence... no
>>> checking for vfork.h... no
>>> checking for fork... yes
>>> checking for vfork... yes
>>> checking for working fork... yes
>>> checking for working vfork... (cached) yes
>>> checking whether gcc needs -traditional... no
>>> checking for stdlib.h... (cached) yes
>>> checking for GNU libc compatible malloc... yes
>>> checking for working memcmp... yes
>>> checking for sys/time.h... (cached) yes
>>> checking for unistd.h... (cached) yes
>>> checking for alarm... yes
>>> checking for working mktime... no
>>> checking for stdlib.h... (cached) yes
>>> checking for GNU libc compatible realloc... yes
>>> checking sys/select.h usability... yes
>>> checking sys/select.h presence... yes
>>> checking for sys/select.h... yes
>>> checking for sys/socket.h... (cached) yes
>>> checking types of arguments for select... int,fd_set *,struct timeval *
>>> checking return type of signal handlers... void
>>> checking whether lstat correctly handles trailing slash... yes
>>> checking whether stat accepts an empty string... no
>>> checking for strftime... yes
>>> checking for working strtod... yes
>>> checking for backtrace... yes
>>> checking for openlog... yes
>>> checking for syslog... yes
>>> checking for vfprintf... yes
>>> checking for strlcpy... no
>>> checking for strftime... (cached) yes
>>> checking for inet_aton... yes
>>> checking for setlinebuf... yes
>>> checking for strerror... yes
>>> checking for strtof... yes
>>> checking for floorf... no
>>> checking for remainderf... no
>>> checking for xdrmem_create... yes
>>> checking for vsnprintf... yes
>>> checking for snprintf... yes
>>> checking for library containing gethostbyname... none required
>>> checking for library containing socket... none required
>>> checking for library containing putmsg... none required
>>> checking for ether_hostton... yes
>>> checking for getaddrinfo... yes
>>> checking for gethostname... yes
>>> checking netinet/ether.h usability... yes
>>> checking netinet/ether.h presence... yes
>>> checking for netinet/ether.h... yes
>>> checking whether ether_hostton is declared... yes
>>> checking for alarm... (cached) yes
>>> checking for bzero... yes
>>> checking for endgrent... yes
>>> checking for endpwent... yes
>>> checking for floor... no
>>> checking for gethostbyaddr... yes
>>> checking for gethostbyname... yes
>>> checking for getpass... yes
>>> checking for gettimeofday... yes
>>> checking for inet_ntoa... yes
>>> checking for isascii... yes
>>> checking for localtime_r... yes
>>> checking for memchr... yes
>>> checking for memmove... yes
>>> checking for memset... yes
>>> checking for mkdir... yes
>>> checking for modf... yes
>>> checking for pow... no
>>> checking for putenv... yes
>>> checking for realpath... yes
>>> checking for regcomp... yes
>>> checking for select... yes
>>> checking for setenv... yes
>>> checking for socket... yes
>>> checking for sqrt... no
>>> checking for strcasecmp... yes
>>> checking for strchr... yes
>>> checking for strdup... yes
>>> checking for strlcat... no
>>> checking for strncasecmp... yes
>>> checking for strpbrk... yes
>>> checking for strrchr... yes
>>> checking for strstr... yes
>>> checking for strtol... yes
>>> checking for srandomdev... no
>>> checking for tzset... yes
>>> checking for .threads... yes
>>> checking for sched_get_priority_min... yes
>>> checking for specified library... /usr/lib/zcp//libpcap.a
>>> checking for specified pcap.h... configure: WARNING: not found
>>> checking for pcap_list_datalinks... no
>>> checking for pcap_set_datalink... no
>>> checking for pcap_datalink_name_to_val... no
>>> checking for pcap_get_selectable_fd... no
>>> checking for pcap_next_ex... no
>>> checking for pcap_dump_ftell... no
>>> checking for local tcp_wrappers library... not found
>>> checking for system tcp_wrappers library... yes
>>> checking for xdrmem_create... (cached) yes
>>> checking tm_gmtoff in struct tm... yes
>>> checking sys_errlist in stdio.h... yes
>>> configure: creating ./config.status
>>> config.status: creating Makefile
>>> config.status: creating ./common/Makefile
>>> config.status: creating ./argus/Makefile
>>> config.status: creating ./events/Makefile
>>> config.status: creating include/argus_config.h
>>> config.status: include/argus_config.h is unchanged
>>> [bivio-01] root <at> CPU-X argus-3.0.5.6$ make
>>> ### Making in /root/src/argus-3.0.5.6/common
>>> make[1]: Entering directory
>>>`/bivio/shared/root/src/argus-3.0.5.6/common'
>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>>argus_util.c
>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>>argus_code.c
>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>>argus_filter.c
>>> bison -y -p argus_ -d grammar.y
>>> mv y.tab.c grammar.c
>>> mv y.tab.h tokdefs.h
>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H
>>> -Dyylval=argus_lval -c grammar.c
>>> flex -Pargus_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c scanner.c
>>> sed -e 's/.*/char version[] = "&";/' ./../VERSION > version.c
>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c version.c
>>> rm -f ../lib/argus_common.a; ar qc ../lib/argus_common.a argus_util.o
>>> argus_code.o argus_filter.o grammar.o scanner.o version.o
>>> ranlib ../lib/argus_common.a
>>> make[1]: Leaving directory
>>>`/bivio/shared/root/src/argus-3.0.5.6/common'
>>> ### Done with /root/src/argus-3.0.5.6/common
>>> ### Making in /root/src/argus-3.0.5.6/argus
>>> make[1]: Entering directory
>>>`/bivio/shared/root/src/argus-3.0.5.6/argus'
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c argus.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusModeler.c
>>> ArgusModeler.c: In function 'ArgusUpdateBasicFlow':
>>> ArgusModeler.c:2047: warning: comparison is always true due to limited
>>> range of data type
>>> ArgusModeler.c:2054: warning: comparison is always true due to limited
>>> range of data type
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSource.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUtil.c
>>> ArgusUtil.c: In function 'ArgusUpdateTime':
>>> ArgusUtil.c:778: warning: incompatible implicit declaration of built-in
>>> function 'llabs'
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusOutput.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdp.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusTcp.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIcmp.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIgmp.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEsp.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusArp.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusFrag.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdt.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusLcp.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIsis.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusAuth.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c Argus802.11.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusApp.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEvents.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusNetflow.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSflow.c
>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -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
>>> ArgusUdt.o ArgusLcp.o ArgusIsis.o ArgusAuth.o Argus802.11.o ArgusApp.o
>>> ArgusEvents.o ArgusNetflow.o ArgusSflow.o  ../lib/libpcap.a -lpthread
>>> -lwrap -lnsl  -lm -lz ../lib/argus_common.a -lm
>>> ArgusSource.o: In function
>>> `Argus802_11Packet':ArgusSource.c:(.text+0x9bc): undefined reference to
>>> `pcap_dump_ftell'
>>> ArgusSource.o: In function `ArgusIpPacket':ArgusSource.c:(.text+0xb7c):
>>> undefined reference to `pcap_dump_ftell'
>>> ArgusSource.o: In function
>>>`ArgusNullPacket':ArgusSource.c:(.text+0xd0c):
>>> undefined reference to `pcap_dump_ftell'
>>> ArgusSource.o: In function
>>> `ArgusEtherPacket':ArgusSource.c:(.text+0x245c): undefined reference to
>>> `pcap_dump_ftell'
>>> ArgusSource.o: In function
>>> `ArgusArcnetPacket':ArgusSource.c:(.text+0x26fc): undefined reference
>>>to
>>> `pcap_dump_ftell'
>>> ArgusSource.o:ArgusSource.c:(.text+0x297c): more undefined references
>>>to
>>> `pcap_dump_ftell' follow
>>> ArgusSource.o: In function
>>>`ArgusGetPackets':ArgusSource.c:(.text+0x451c):
>>> undefined reference to `pcap_next_ex'
>>> :ArgusSource.c:(.text+0x4558): undefined reference to `pcap_next_ex'
>>> :ArgusSource.c:(.text+0x4594): undefined reference to `pcap_next_ex'
>>> :ArgusSource.c:(.text+0x45d0): undefined reference to `pcap_next_ex'
>>> :ArgusSource.c:(.text+0x4634): undefined reference to `pcap_next_ex'
>>> ArgusSource.o:ArgusSource.c:(.text+0x4650): more undefined references
>>>to
>>> `pcap_next_ex' follow
>>> ArgusSource.o: In function
>>>`ArgusGetPackets':ArgusSource.c:(.text+0x46c0):
>>> undefined reference to `pcap_get_selectable_fd'
>>> :ArgusSource.c:(.text+0x4b14): undefined reference to `pcap_next_ex'
>>> ArgusSource.o: In function
>>>`ArgusFddiPacket':ArgusSource.c:(.text+0x545c):
>>> undefined reference to `pcap_dump_ftell'
>>> ArgusSource.o: In function
>>>`setArgusDevice':ArgusSource.c:(.text+0x6f94):
>>> undefined reference to `pcap_datalink_name_to_val'
>>> :ArgusSource.c:(.text+0x713c): undefined reference to
>>> `pcap_datalink_name_to_val'
>>> collect2: ld returned 1 exit status
>>> make[1]: *** [../bin/argus] Error 1
>>> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
>>> ### Done with /root/src/argus-3.0.5.6/argus
>>> ### Making in /root/src/argus-3.0.5.6/events
>>> make[1]: Entering directory
>>>`/bivio/shared/root/src/argus-3.0.5.6/events'
>>> sed 's+ <at> PERLBIN <at> +/usr/bin/perl+' argus-lsof.pl > ../bin/argus-lsof
>>> chmod +x ../bin/argus-lsof
>>> cp -f argus-snmp.sh ../bin/argus-snmp
>>> cp -f argus-vmstat.sh ../bin/argus-vmstat
>>> make[1]: Leaving directory
>>>`/bivio/shared/root/src/argus-3.0.5.6/events'
>>> ### Done with /root/src/argus-3.0.5.6/events
>>> 
>>> 
>> 
>

Carter Bullard | 3 Dec 15:31 2011

Re: Compile failure on 3.0.5.6 - Bivio hardware/pcap

Hey Jason,
Here is a patch for the bug fixes for Bivio.  I've included the new ArgusSource.c just for convenience.
Replace ./argus/ArgusSource.c with this file, and recompile.

The patch is now in the refreshed argus-3.0.5.6.tar.gz that is up on the server, if you want to just start
from scratch.

==== //depot/argus/argus/argus/ArgusSource.c#90 -
/Volumes/Users/carter/argus/argus/argus/ArgusSource.c ====
3288a3289
> #if defined(HAVE_PCAP_GET_SELECTABLE_FD)
3289a3291
> #endif

Carter

Attachment (ArgusSource.c): application/octet-stream, 127 KiB

On Dec 3, 2011, at 2:16 AM, Jason Carr wrote:

> Still having issues:
> 
> [bivio-01] root <at> CPU-X argus-3.0.5.6$ ./configure
> --with-libpcap=/usr/lib/zcp/
> checking build system type... powerpc-unknown-linux-gnu
> checking host system type... powerpc-unknown-linux-gnu
> checking target system type... powerpc-unknown-linux-gnu
> checking for standard perl installation... /usr/bin/perl
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking gcc version... 4
> checking for inline... inline
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking how to run the C preprocessor... gcc -E
> checking whether make sets $(MAKE)... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for ranlib... ranlib
> checking for bison... bison -y
> checking for ranlib... ranlib
> checking for flex... flex
> checking for flex 2.4 or higher... yes
> checking for bison... bison
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking for ANSI C header files... (cached) yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking sys/sockio.h usability... no
> checking sys/sockio.h presence... no
> checking for sys/sockio.h... no
> checking for string.h... (cached) yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking sys/file.h usability... yes
> checking sys/file.h presence... yes
> checking for sys/file.h... yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> checking arpa/inet.h usability... yes
> checking arpa/inet.h presence... yes
> checking for arpa/inet.h... yes
> checking for fcntl.h... (cached) yes
> checking for inttypes.h... (cached) yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking libintl.h usability... yes
> checking libintl.h presence... yes
> checking for libintl.h... yes
> checking malloc.h usability... yes
> checking malloc.h presence... yes
> checking for malloc.h... yes
> checking for memory.h... (cached) yes
> checking netdb.h usability... yes
> checking netdb.h presence... yes
> checking for netdb.h... yes
> checking netinet/in.h usability... yes
> checking netinet/in.h presence... yes
> checking for netinet/in.h... yes
> checking for stdlib.h... (cached) yes
> checking stddef.h usability... yes
> checking stddef.h presence... yes
> checking for stddef.h... yes
> checking for string.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for sys/file.h... (cached) yes
> checking sys/ioctl.h usability... yes
> checking sys/ioctl.h presence... yes
> checking for sys/ioctl.h... yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking sys/vfs.h usability... yes
> checking sys/vfs.h presence... yes
> checking for sys/vfs.h... yes
> checking for syslog.h... (cached) yes
> checking termios.h usability... yes
> checking termios.h presence... yes
> checking for termios.h... yes
> checking for unistd.h... (cached) yes
> checking values.h usability... yes
> checking values.h presence... yes
> checking for values.h... yes
> checking for an ANSI C-conforming const... yes
> checking for inline... (cached) inline
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... 64
> checking if unaligned accesses fail... no
> checking for int8_t... yes
> checking for uint8_t... yes
> checking for int16_t... yes
> checking for uint16_t... yes
> checking for int32_t... yes
> checking for uint32_t... yes
> checking for uid_t in sys/types.h... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for struct tm.tm_zone... yes
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for vprintf... yes
> checking for _doprnt... no
> checking whether closedir returns void... no
> checking for error_at_line... yes
> checking vfork.h usability... no
> checking vfork.h presence... no
> checking for vfork.h... no
> checking for fork... yes
> checking for vfork... yes
> checking for working fork... yes
> checking for working vfork... (cached) yes
> checking whether gcc needs -traditional... no
> checking for stdlib.h... (cached) yes
> checking for GNU libc compatible malloc... yes
> checking for working memcmp... yes
> checking for sys/time.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for alarm... yes
> checking for working mktime... no
> checking for stdlib.h... (cached) yes
> checking for GNU libc compatible realloc... yes
> checking sys/select.h usability... yes
> checking sys/select.h presence... yes
> checking for sys/select.h... yes
> checking for sys/socket.h... (cached) yes
> checking types of arguments for select... int,fd_set *,struct timeval *
> checking return type of signal handlers... void
> checking whether lstat correctly handles trailing slash... yes
> checking whether stat accepts an empty string... no
> checking for strftime... yes
> checking for working strtod... yes
> checking for backtrace... yes
> checking for openlog... yes
> checking for syslog... yes
> checking for vfprintf... yes
> checking for strlcpy... no
> checking for strftime... (cached) yes
> checking for inet_aton... yes
> checking for setlinebuf... yes
> checking for strerror... yes
> checking for strtof... yes
> checking for floorf... no
> checking for remainderf... no
> checking for xdrmem_create... yes
> checking for vsnprintf... yes
> checking for snprintf... yes
> checking for library containing gethostbyname... none required
> checking for library containing socket... none required
> checking for library containing putmsg... none required
> checking for ether_hostton... yes
> checking for getaddrinfo... yes
> checking for gethostname... yes
> checking netinet/ether.h usability... yes
> checking netinet/ether.h presence... yes
> checking for netinet/ether.h... yes
> checking whether ether_hostton is declared... yes
> checking for alarm... (cached) yes
> checking for bzero... yes
> checking for endgrent... yes
> checking for endpwent... yes
> checking for floor... no
> checking for gethostbyaddr... yes
> checking for gethostbyname... yes
> checking for getpass... yes
> checking for gettimeofday... yes
> checking for inet_ntoa... yes
> checking for isascii... yes
> checking for localtime_r... yes
> checking for memchr... yes
> checking for memmove... yes
> checking for memset... yes
> checking for mkdir... yes
> checking for modf... yes
> checking for pow... no
> checking for putenv... yes
> checking for realpath... yes
> checking for regcomp... yes
> checking for select... yes
> checking for setenv... yes
> checking for socket... yes
> checking for sqrt... no
> checking for strcasecmp... yes
> checking for strchr... yes
> checking for strdup... yes
> checking for strlcat... no
> checking for strncasecmp... yes
> checking for strpbrk... yes
> checking for strrchr... yes
> checking for strstr... yes
> checking for strtol... yes
> checking for srandomdev... no
> checking for tzset... yes
> checking for .threads... yes
> checking for sched_get_priority_min... yes
> checking for specified library... /usr/lib/zcp//libpcap.a
> checking for specified pcap.h... configure: WARNING: not found
> checking for pcap_list_datalinks... no
> checking for pcap_set_datalink... no
> checking for pcap_datalink_name_to_val... no
> checking for pcap_get_selectable_fd... no
> checking for pcap_next_ex... no
> checking for pcap_dump_ftell... no
> checking for local tcp_wrappers library... not found
> checking for system tcp_wrappers library... yes
> checking for xdrmem_create... (cached) yes
> checking tm_gmtoff in struct tm... yes
> checking sys_errlist in stdio.h... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating ./common/Makefile
> config.status: creating ./argus/Makefile
> config.status: creating ./events/Makefile
> config.status: creating include/argus_config.h
> [bivio-01] root <at> CPU-X argus-3.0.5.6$ make
> ### Making in /root/src/argus-3.0.5.6/common
> make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/common'
> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_util.c
> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_code.c
> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c argus_filter.c
> bison -y -p argus_ -d grammar.y
> mv y.tab.c grammar.c
> mv y.tab.h tokdefs.h
> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H
> -Dyylval=argus_lval -c grammar.c
> flex -Pargus_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c scanner.c
> sed -e 's/.*/char version[] = "&";/' ./../VERSION > version.c
> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c version.c
> rm -f ../lib/argus_common.a; ar qc ../lib/argus_common.a argus_util.o
> argus_code.o argus_filter.o grammar.o scanner.o version.o
> ranlib ../lib/argus_common.a
> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/common'
> ### Done with /root/src/argus-3.0.5.6/common
> ### Making in /root/src/argus-3.0.5.6/argus
> make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c argus.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusModeler.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSource.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUtil.c
> ArgusUtil.c: In function 'ArgusUpdateTime':
> ArgusUtil.c:779: warning: incompatible implicit declaration of built-in
> function 'llabs'
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusOutput.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusTcp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIcmp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIgmp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEsp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusArp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusFrag.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdt.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusLcp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIsis.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusAuth.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c Argus802.11.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusApp.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEvents.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusNetflow.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSflow.c
> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -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
> ArgusUdt.o ArgusLcp.o ArgusIsis.o ArgusAuth.o Argus802.11.o ArgusApp.o
> ArgusEvents.o ArgusNetflow.o ArgusSflow.o  ../lib/libpcap.a -lpthread
> -lwrap -lnsl  -lm -lz ../lib/argus_common.a -lm
> ArgusSource.o: In function `ArgusGetPackets':ArgusSource.c:(.text+0x45a4):
> undefined reference to `pcap_get_selectable_fd'
> collect2: ld returned 1 exit status
> make[1]: *** [../bin/argus] Error 1
> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
> ### Done with /root/src/argus-3.0.5.6/argus
> ### Making in /root/src/argus-3.0.5.6/events
> make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/events'
> sed 's+ <at> PERLBIN <at> +/usr/bin/perl+' argus-lsof.pl > ../bin/argus-lsof
> chmod +x ../bin/argus-lsof
> cp -f argus-snmp.sh ../bin/argus-snmp
> cp -f argus-vmstat.sh ../bin/argus-vmstat
> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/events'
> ### Done with /root/src/argus-3.0.5.6/events
> 
> 
> 
> 
> On 12/1/11 5:36 PM, "Carter Bullard" <carter <at> qosient.com> wrote:
> 
>> Hey Jason,
>> I uploaded a new argus-3.0.5.6.tar.gz just now that should compile for
>> the older Bivio code.
>> 
>> Please give code a try:
>>  http://qosient.com/argus/dev/argus-latest.tar.gz
>> 
>> Carter
>> 
>> On Dec 1, 2011, at 4:24 PM, Carter Bullard wrote:
>> 
>>> Hey Jason,
>>> Thanks !!!!   I'll fix this tonight, and I'll have a new argus up
>>> before the weekend.
>>> Sorry for any inconvenience,
>>> Carter
>>> 
>>> On Dec 1, 2011, at 4:05 PM, Jason Carr wrote:
>>> 
>>>> Hello guys,
>>>> 
>>>> I'm having some compile errors on the Bivio hardware.  It uses a hacked
>>>> pcap library so I'm betting these functions are not implemented.  Also
>>>> noted that these functions were noted as "no" in the configure stage.
>>>> 
>>>> Thanks,
>>>> 
>>>> Jason
>>>> 
>>>> Here's the log:
>>>> 
>>>> [bivio-01] root <at> CPU-X argus-3.0.5.6$ ./configure
>>>> --with-libpcap=/usr/lib/zcp/
>>>> checking build system type... powerpc-unknown-linux-gnu
>>>> checking host system type... powerpc-unknown-linux-gnu
>>>> checking target system type... powerpc-unknown-linux-gnu
>>>> checking for standard perl installation... /usr/bin/perl
>>>> checking for gcc... gcc
>>>> checking whether the C compiler works... yes
>>>> checking for C compiler default output file name... a.out
>>>> checking for suffix of executables...
>>>> checking whether we are cross compiling... no
>>>> checking for suffix of object files... o
>>>> checking whether we are using the GNU C compiler... yes
>>>> checking whether gcc accepts -g... yes
>>>> checking for gcc option to accept ISO C89... none needed
>>>> checking gcc version... 4
>>>> checking for inline... inline
>>>> checking for gcc... (cached) gcc
>>>> checking whether we are using the GNU C compiler... (cached) yes
>>>> checking whether gcc accepts -g... (cached) yes
>>>> checking for gcc option to accept ISO C89... (cached) none needed
>>>> checking how to run the C preprocessor... gcc -E
>>>> checking whether make sets $(MAKE)... yes
>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>> checking for ranlib... ranlib
>>>> checking for bison... bison -y
>>>> checking for ranlib... ranlib
>>>> checking for flex... flex
>>>> checking for flex 2.4 or higher... yes
>>>> checking for bison... bison
>>>> checking for grep that handles long lines and -e... /bin/grep
>>>> checking for egrep... /bin/grep -E
>>>> checking for ANSI C header files... yes
>>>> checking for sys/types.h... yes
>>>> checking for sys/stat.h... yes
>>>> checking for stdlib.h... yes
>>>> checking for string.h... yes
>>>> checking for memory.h... yes
>>>> checking for strings.h... yes
>>>> checking for inttypes.h... yes
>>>> checking for stdint.h... yes
>>>> checking for unistd.h... yes
>>>> checking for dirent.h that defines DIR... yes
>>>> checking for library containing opendir... none required
>>>> checking for ANSI C header files... (cached) yes
>>>> checking for sys/wait.h that is POSIX.1 compatible... yes
>>>> checking sys/sockio.h usability... no
>>>> checking sys/sockio.h presence... no
>>>> checking for sys/sockio.h... no
>>>> checking for string.h... (cached) yes
>>>> checking fcntl.h usability... yes
>>>> checking fcntl.h presence... yes
>>>> checking for fcntl.h... yes
>>>> checking sys/file.h usability... yes
>>>> checking sys/file.h presence... yes
>>>> checking for sys/file.h... yes
>>>> checking syslog.h usability... yes
>>>> checking syslog.h presence... yes
>>>> checking for syslog.h... yes
>>>> checking zlib.h usability... yes
>>>> checking zlib.h presence... yes
>>>> checking for zlib.h... yes
>>>> checking arpa/inet.h usability... yes
>>>> checking arpa/inet.h presence... yes
>>>> checking for arpa/inet.h... yes
>>>> checking for fcntl.h... (cached) yes
>>>> checking for inttypes.h... (cached) yes
>>>> checking limits.h usability... yes
>>>> checking limits.h presence... yes
>>>> checking for limits.h... yes
>>>> checking libintl.h usability... yes
>>>> checking libintl.h presence... yes
>>>> checking for libintl.h... yes
>>>> checking malloc.h usability... yes
>>>> checking malloc.h presence... yes
>>>> checking for malloc.h... yes
>>>> checking for memory.h... (cached) yes
>>>> checking netdb.h usability... yes
>>>> checking netdb.h presence... yes
>>>> checking for netdb.h... yes
>>>> checking netinet/in.h usability... yes
>>>> checking netinet/in.h presence... yes
>>>> checking for netinet/in.h... yes
>>>> checking for stdlib.h... (cached) yes
>>>> checking stddef.h usability... yes
>>>> checking stddef.h presence... yes
>>>> checking for stddef.h... yes
>>>> checking for string.h... (cached) yes
>>>> checking for strings.h... (cached) yes
>>>> checking for sys/file.h... (cached) yes
>>>> checking sys/ioctl.h usability... yes
>>>> checking sys/ioctl.h presence... yes
>>>> checking for sys/ioctl.h... yes
>>>> checking sys/param.h usability... yes
>>>> checking sys/param.h presence... yes
>>>> checking for sys/param.h... yes
>>>> checking sys/socket.h usability... yes
>>>> checking sys/socket.h presence... yes
>>>> checking for sys/socket.h... yes
>>>> checking sys/time.h usability... yes
>>>> checking sys/time.h presence... yes
>>>> checking for sys/time.h... yes
>>>> checking sys/vfs.h usability... yes
>>>> checking sys/vfs.h presence... yes
>>>> checking for sys/vfs.h... yes
>>>> checking for syslog.h... (cached) yes
>>>> checking termios.h usability... yes
>>>> checking termios.h presence... yes
>>>> checking for termios.h... yes
>>>> checking for unistd.h... (cached) yes
>>>> checking values.h usability... yes
>>>> checking values.h presence... yes
>>>> checking for values.h... yes
>>>> checking for an ANSI C-conforming const... yes
>>>> checking for inline... (cached) inline
>>>> checking for special C compiler options needed for large files... no
>>>> checking for _FILE_OFFSET_BITS value needed for large files... 64
>>>> checking if unaligned accesses fail... no
>>>> checking for int8_t... yes
>>>> checking for uint8_t... yes
>>>> checking for int16_t... yes
>>>> checking for uint16_t... yes
>>>> checking for int32_t... yes
>>>> checking for uint32_t... yes
>>>> checking for uid_t in sys/types.h... yes
>>>> checking for pid_t... yes
>>>> checking for size_t... yes
>>>> checking whether time.h and sys/time.h may both be included... yes
>>>> checking whether struct tm is in sys/time.h or time.h... time.h
>>>> checking for struct tm.tm_zone... yes
>>>> checking for working alloca.h... yes
>>>> checking for alloca... yes
>>>> checking for vprintf... yes
>>>> checking for _doprnt... no
>>>> checking whether closedir returns void... no
>>>> checking for error_at_line... yes
>>>> checking vfork.h usability... no
>>>> checking vfork.h presence... no
>>>> checking for vfork.h... no
>>>> checking for fork... yes
>>>> checking for vfork... yes
>>>> checking for working fork... yes
>>>> checking for working vfork... (cached) yes
>>>> checking whether gcc needs -traditional... no
>>>> checking for stdlib.h... (cached) yes
>>>> checking for GNU libc compatible malloc... yes
>>>> checking for working memcmp... yes
>>>> checking for sys/time.h... (cached) yes
>>>> checking for unistd.h... (cached) yes
>>>> checking for alarm... yes
>>>> checking for working mktime... no
>>>> checking for stdlib.h... (cached) yes
>>>> checking for GNU libc compatible realloc... yes
>>>> checking sys/select.h usability... yes
>>>> checking sys/select.h presence... yes
>>>> checking for sys/select.h... yes
>>>> checking for sys/socket.h... (cached) yes
>>>> checking types of arguments for select... int,fd_set *,struct timeval *
>>>> checking return type of signal handlers... void
>>>> checking whether lstat correctly handles trailing slash... yes
>>>> checking whether stat accepts an empty string... no
>>>> checking for strftime... yes
>>>> checking for working strtod... yes
>>>> checking for backtrace... yes
>>>> checking for openlog... yes
>>>> checking for syslog... yes
>>>> checking for vfprintf... yes
>>>> checking for strlcpy... no
>>>> checking for strftime... (cached) yes
>>>> checking for inet_aton... yes
>>>> checking for setlinebuf... yes
>>>> checking for strerror... yes
>>>> checking for strtof... yes
>>>> checking for floorf... no
>>>> checking for remainderf... no
>>>> checking for xdrmem_create... yes
>>>> checking for vsnprintf... yes
>>>> checking for snprintf... yes
>>>> checking for library containing gethostbyname... none required
>>>> checking for library containing socket... none required
>>>> checking for library containing putmsg... none required
>>>> checking for ether_hostton... yes
>>>> checking for getaddrinfo... yes
>>>> checking for gethostname... yes
>>>> checking netinet/ether.h usability... yes
>>>> checking netinet/ether.h presence... yes
>>>> checking for netinet/ether.h... yes
>>>> checking whether ether_hostton is declared... yes
>>>> checking for alarm... (cached) yes
>>>> checking for bzero... yes
>>>> checking for endgrent... yes
>>>> checking for endpwent... yes
>>>> checking for floor... no
>>>> checking for gethostbyaddr... yes
>>>> checking for gethostbyname... yes
>>>> checking for getpass... yes
>>>> checking for gettimeofday... yes
>>>> checking for inet_ntoa... yes
>>>> checking for isascii... yes
>>>> checking for localtime_r... yes
>>>> checking for memchr... yes
>>>> checking for memmove... yes
>>>> checking for memset... yes
>>>> checking for mkdir... yes
>>>> checking for modf... yes
>>>> checking for pow... no
>>>> checking for putenv... yes
>>>> checking for realpath... yes
>>>> checking for regcomp... yes
>>>> checking for select... yes
>>>> checking for setenv... yes
>>>> checking for socket... yes
>>>> checking for sqrt... no
>>>> checking for strcasecmp... yes
>>>> checking for strchr... yes
>>>> checking for strdup... yes
>>>> checking for strlcat... no
>>>> checking for strncasecmp... yes
>>>> checking for strpbrk... yes
>>>> checking for strrchr... yes
>>>> checking for strstr... yes
>>>> checking for strtol... yes
>>>> checking for srandomdev... no
>>>> checking for tzset... yes
>>>> checking for .threads... yes
>>>> checking for sched_get_priority_min... yes
>>>> checking for specified library... /usr/lib/zcp//libpcap.a
>>>> checking for specified pcap.h... configure: WARNING: not found
>>>> checking for pcap_list_datalinks... no
>>>> checking for pcap_set_datalink... no
>>>> checking for pcap_datalink_name_to_val... no
>>>> checking for pcap_get_selectable_fd... no
>>>> checking for pcap_next_ex... no
>>>> checking for pcap_dump_ftell... no
>>>> checking for local tcp_wrappers library... not found
>>>> checking for system tcp_wrappers library... yes
>>>> checking for xdrmem_create... (cached) yes
>>>> checking tm_gmtoff in struct tm... yes
>>>> checking sys_errlist in stdio.h... yes
>>>> configure: creating ./config.status
>>>> config.status: creating Makefile
>>>> config.status: creating ./common/Makefile
>>>> config.status: creating ./argus/Makefile
>>>> config.status: creating ./events/Makefile
>>>> config.status: creating include/argus_config.h
>>>> config.status: include/argus_config.h is unchanged
>>>> [bivio-01] root <at> CPU-X argus-3.0.5.6$ make
>>>> ### Making in /root/src/argus-3.0.5.6/common
>>>> make[1]: Entering directory
>>>> `/bivio/shared/root/src/argus-3.0.5.6/common'
>>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>>> argus_util.c
>>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>>> argus_code.c
>>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>>> argus_filter.c
>>>> bison -y -p argus_ -d grammar.y
>>>> mv y.tab.c grammar.c
>>>> mv y.tab.h tokdefs.h
>>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H
>>>> -Dyylval=argus_lval -c grammar.c
>>>> flex -Pargus_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
>>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c scanner.c
>>>> sed -e 's/.*/char version[] = "&";/' ./../VERSION > version.c
>>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c version.c
>>>> rm -f ../lib/argus_common.a; ar qc ../lib/argus_common.a argus_util.o
>>>> argus_code.o argus_filter.o grammar.o scanner.o version.o
>>>> ranlib ../lib/argus_common.a
>>>> make[1]: Leaving directory
>>>> `/bivio/shared/root/src/argus-3.0.5.6/common'
>>>> ### Done with /root/src/argus-3.0.5.6/common
>>>> ### Making in /root/src/argus-3.0.5.6/argus
>>>> make[1]: Entering directory
>>>> `/bivio/shared/root/src/argus-3.0.5.6/argus'
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c argus.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusModeler.c
>>>> ArgusModeler.c: In function 'ArgusUpdateBasicFlow':
>>>> ArgusModeler.c:2047: warning: comparison is always true due to limited
>>>> range of data type
>>>> ArgusModeler.c:2054: warning: comparison is always true due to limited
>>>> range of data type
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSource.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUtil.c
>>>> ArgusUtil.c: In function 'ArgusUpdateTime':
>>>> ArgusUtil.c:778: warning: incompatible implicit declaration of built-in
>>>> function 'llabs'
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusOutput.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdp.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusTcp.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIcmp.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIgmp.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEsp.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusArp.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusFrag.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdt.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusLcp.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIsis.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusAuth.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c Argus802.11.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusApp.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEvents.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusNetflow.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSflow.c
>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -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
>>>> ArgusUdt.o ArgusLcp.o ArgusIsis.o ArgusAuth.o Argus802.11.o ArgusApp.o
>>>> ArgusEvents.o ArgusNetflow.o ArgusSflow.o  ../lib/libpcap.a -lpthread
>>>> -lwrap -lnsl  -lm -lz ../lib/argus_common.a -lm
>>>> ArgusSource.o: In function
>>>> `Argus802_11Packet':ArgusSource.c:(.text+0x9bc): undefined reference to
>>>> `pcap_dump_ftell'
>>>> ArgusSource.o: In function `ArgusIpPacket':ArgusSource.c:(.text+0xb7c):
>>>> undefined reference to `pcap_dump_ftell'
>>>> ArgusSource.o: In function
>>>> `ArgusNullPacket':ArgusSource.c:(.text+0xd0c):
>>>> undefined reference to `pcap_dump_ftell'
>>>> ArgusSource.o: In function
>>>> `ArgusEtherPacket':ArgusSource.c:(.text+0x245c): undefined reference to
>>>> `pcap_dump_ftell'
>>>> ArgusSource.o: In function
>>>> `ArgusArcnetPacket':ArgusSource.c:(.text+0x26fc): undefined reference
>>>> to
>>>> `pcap_dump_ftell'
>>>> ArgusSource.o:ArgusSource.c:(.text+0x297c): more undefined references
>>>> to
>>>> `pcap_dump_ftell' follow
>>>> ArgusSource.o: In function
>>>> `ArgusGetPackets':ArgusSource.c:(.text+0x451c):
>>>> undefined reference to `pcap_next_ex'
>>>> :ArgusSource.c:(.text+0x4558): undefined reference to `pcap_next_ex'
>>>> :ArgusSource.c:(.text+0x4594): undefined reference to `pcap_next_ex'
>>>> :ArgusSource.c:(.text+0x45d0): undefined reference to `pcap_next_ex'
>>>> :ArgusSource.c:(.text+0x4634): undefined reference to `pcap_next_ex'
>>>> ArgusSource.o:ArgusSource.c:(.text+0x4650): more undefined references
>>>> to
>>>> `pcap_next_ex' follow
>>>> ArgusSource.o: In function
>>>> `ArgusGetPackets':ArgusSource.c:(.text+0x46c0):
>>>> undefined reference to `pcap_get_selectable_fd'
>>>> :ArgusSource.c:(.text+0x4b14): undefined reference to `pcap_next_ex'
>>>> ArgusSource.o: In function
>>>> `ArgusFddiPacket':ArgusSource.c:(.text+0x545c):
>>>> undefined reference to `pcap_dump_ftell'
>>>> ArgusSource.o: In function
>>>> `setArgusDevice':ArgusSource.c:(.text+0x6f94):
>>>> undefined reference to `pcap_datalink_name_to_val'
>>>> :ArgusSource.c:(.text+0x713c): undefined reference to
>>>> `pcap_datalink_name_to_val'
>>>> collect2: ld returned 1 exit status
>>>> make[1]: *** [../bin/argus] Error 1
>>>> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
>>>> ### Done with /root/src/argus-3.0.5.6/argus
>>>> ### Making in /root/src/argus-3.0.5.6/events
>>>> make[1]: Entering directory
>>>> `/bivio/shared/root/src/argus-3.0.5.6/events'
>>>> sed 's+ <at> PERLBIN <at> +/usr/bin/perl+' argus-lsof.pl > ../bin/argus-lsof
>>>> chmod +x ../bin/argus-lsof
>>>> cp -f argus-snmp.sh ../bin/argus-snmp
>>>> cp -f argus-vmstat.sh ../bin/argus-vmstat
>>>> make[1]: Leaving directory
>>>> `/bivio/shared/root/src/argus-3.0.5.6/events'
>>>> ### Done with /root/src/argus-3.0.5.6/events
>>>> 
>>>> 
>>> 
>> 
> 
> 

Attachment (smime.p7s): application/pkcs7-signature, 5901 bytes
CS Lee | 5 Dec 10:57 2011
Picon

argus flow-tools support on Ubuntu

hi Carter,


I encountered compiled error when I configure --with-libft=yes and run make for argus latest client, this is on Ubuntu 11.10 server, I have flow-tools-dev installed using apt-get

gcc -O3 -I. -I../../include -I../../common  -DHAVE_CONFIG_H -c ./ratemplate.c
gcc -O3 -o ../../bin/ratemplate ratemplate.o ../../lib/argus_parse.a ../../lib/a                                                                                          rgus_common.a ../../lib/argus_client.a -lm    -lpthread  -lGeoIP  -lz
../../lib/argus_common.a(argus_util.o): In function `ArgusReadConnection':
argus_util.c:(.text+0x344e5): undefined reference to `ftio_init'
argus_util.c:(.text+0x34512): undefined reference to `ftio_get_ver'
argus_util.c:(.text+0x34527): undefined reference to `fts3rec_compute_offsets'
argus_util.c:(.text+0x34546): undefined reference to `ftio_read'
argus_util.c:(.text+0x345e1): undefined reference to `ftio_check_xfield'
collect2: ld returned 1 exit status
make[2]: *** [../../bin/ratemplate] Error 1
make[2]: Leaving directory `/home/cslee/argus-clients-3.0.5.24/examples/ratempla                                                                                          te'
making in ./ramysql
make[2]: Entering directory `/home/cslee/argus-clients-3.0.5.24/examples/ramysql                                                                                          '
gcc -O3 -I. -I../../include -I../../common  -I/usr/include/mysql -DHAVE_CONFIG_H                                                                                           -c ./rasql.c
In file included from /usr/include/string.h:642:0,
                 from ./rasql.c:42:
In function ‘bzero’,
    inlined from ‘RaProcessSplitOptions.constprop.1’ at ./rasql.c:1442:13:
/usr/include/x86_64-linux-gnu/bits/string3.h:98:3: warning: call to __builtin___                                                                                          memset_chk will always overflow destination buffer [enabled by default]
gcc -O3 -o ../../bin/rasql rasql.o -L/usr/lib/mysql -lmysqlclient_r  ../../lib/a                                                                                          rgus_parse.a ../../lib/argus_common.a ../../lib/argus_client.a -lm    -lpthread                                                                                            -lGeoIP  -lz
../../lib/argus_common.a(argus_util.o): In function `ArgusReadConnection':
argus_util.c:(.text+0x344e5): undefined reference to `ftio_init'
argus_util.c:(.text+0x34512): undefined reference to `ftio_get_ver'
argus_util.c:(.text+0x34527): undefined reference to `fts3rec_compute_offsets'
argus_util.c:(.text+0x34546): undefined reference to `ftio_read'
argus_util.c:(.text+0x345e1): undefined reference to `ftio_check_xfield'
collect2: ld returned 1 exit status
make[2]: *** [../../bin/rasql] Error 1
make[2]: Leaving directory `/home/cslee/argus-clients-3.0.5.24/examples/ramysql'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/cslee/argus-clients-3.0.5.24/examples'
make: *** [all] Error 2

If I compile without flow-tools support, then everything is fine. I haven't tried installing flow-tools library from source and may try that if needed.

Thank you!

--
Best Regards,

CS Lee<geek00L[at]gmail.com>

http://geek00l.blogspot.com
http://defcraft.net
CS Lee | 5 Dec 11:11 2011
Picon

argus client flow-tools support for ubuntu

hi carter,


Sorry for previous email, I figured out that argus can't find the library location and that's why failed to compile, so if I do -

./configure --with-libft=/usr/lib 

Everything is fine and argus clients compile successfully, I can start testing flow-tools support functionality ;)



--
Best Regards,

CS Lee<geek00L[at]gmail.com>

http://geek00l.blogspot.com
http://defcraft.net
Carter Bullard | 5 Dec 19:20 2011

Re: argus flow-tools support on Ubuntu

./configure couldn't find the include files needed to support the ft library.  It did complain, however:
    checking for extraneous ft header directories… not found

The ./configure script should have done the right thing though.   I have fixed this in argus-clients-3.0.5.25
which I'll upload later today / tomorrow.

Thanks for all the help !!!!

Carter

On Dec 5, 2011, at 4:57 AM, CS Lee wrote:

hi Carter,

I encountered compiled error when I configure --with-libft=yes and run make for argus latest client, this is on Ubuntu 11.10 server, I have flow-tools-dev installed using apt-get

gcc -O3 -I. -I../../include -I../../common  -DHAVE_CONFIG_H -c ./ratemplate.c
gcc -O3 -o ../../bin/ratemplate ratemplate.o ../../lib/argus_parse.a ../../lib/a                                                                                          rgus_common.a ../../lib/argus_client.a -lm    -lpthread  -lGeoIP  -lz
../../lib/argus_common.a(argus_util.o): In function `ArgusReadConnection':
argus_util.c:(.text+0x344e5): undefined reference to `ftio_init'
argus_util.c:(.text+0x34512): undefined reference to `ftio_get_ver'
argus_util.c:(.text+0x34527): undefined reference to `fts3rec_compute_offsets'
argus_util.c:(.text+0x34546): undefined reference to `ftio_read'
argus_util.c:(.text+0x345e1): undefined reference to `ftio_check_xfield'
collect2: ld returned 1 exit status
make[2]: *** [../../bin/ratemplate] Error 1
make[2]: Leaving directory `/home/cslee/argus-clients-3.0.5.24/examples/ratempla                                                                                          te'
making in ./ramysql
make[2]: Entering directory `/home/cslee/argus-clients-3.0.5.24/examples/ramysql                                                                                          '
gcc -O3 -I. -I../../include -I../../common  -I/usr/include/mysql -DHAVE_CONFIG_H                                                                                           -c ./rasql.c
In file included from /usr/include/string.h:642:0,
                 from ./rasql.c:42:
In function ‘bzero’,
    inlined from ‘RaProcessSplitOptions.constprop.1’ at ./rasql.c:1442:13:
/usr/include/x86_64-linux-gnu/bits/string3.h:98:3: warning: call to __builtin___                                                                                          memset_chk will always overflow destination buffer [enabled by default]
gcc -O3 -o ../../bin/rasql rasql.o -L/usr/lib/mysql -lmysqlclient_r  ../../lib/a                                                                                          rgus_parse.a ../../lib/argus_common.a ../../lib/argus_client.a -lm    -lpthread                                                                                            -lGeoIP  -lz
../../lib/argus_common.a(argus_util.o): In function `ArgusReadConnection':
argus_util.c:(.text+0x344e5): undefined reference to `ftio_init'
argus_util.c:(.text+0x34512): undefined reference to `ftio_get_ver'
argus_util.c:(.text+0x34527): undefined reference to `fts3rec_compute_offsets'
argus_util.c:(.text+0x34546): undefined reference to `ftio_read'
argus_util.c:(.text+0x345e1): undefined reference to `ftio_check_xfield'
collect2: ld returned 1 exit status
make[2]: *** [../../bin/rasql] Error 1
make[2]: Leaving directory `/home/cslee/argus-clients-3.0.5.24/examples/ramysql'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/cslee/argus-clients-3.0.5.24/examples'
make: *** [all] Error 2

If I compile without flow-tools support, then everything is fine. I haven't tried installing flow-tools library from source and may try that if needed.

Thank you!

--
Best Regards,

CS Lee<geek00L[at]gmail.com>

http://geek00l.blogspot.com
http://defcraft.net

Attachment (smime.p7s): application/pkcs7-signature, 5901 bytes
Jason Carr | 5 Dec 20:17 2011
Picon

Re: Compile failure on 3.0.5.6 - Bivio hardware/pcap

Hi Carter,

On 12/3/11 9:31 AM, "Carter Bullard" <carter <at> qosient.com> wrote:

>Hey Jason,
>Here is a patch for the bug fixes for Bivio.  I've included the new
>ArgusSource.c just for convenience.
>Replace ./argus/ArgusSource.c with this file, and recompile.
>
>The patch is now in the refreshed argus-3.0.5.6.tar.gz that is up on the
>server, if you want to just start from scratch.
>
>==== //depot/argus/argus/argus/ArgusSource.c#90 -
>/Volumes/Users/carter/argus/argus/argus/ArgusSource.c ====
>3288a3289
>> #if defined(HAVE_PCAP_GET_SELECTABLE_FD)
>3289a3291
>> #endif
>
>
>Carter
>
>
>
>On Dec 3, 2011, at 2:16 AM, Jason Carr wrote:
>
>> Still having issues:
>> 
>> [bivio-01] root <at> CPU-X argus-3.0.5.6$ ./configure
>> --with-libpcap=/usr/lib/zcp/
>> checking build system type... powerpc-unknown-linux-gnu
>> checking host system type... powerpc-unknown-linux-gnu
>> checking target system type... powerpc-unknown-linux-gnu
>> checking for standard perl installation... /usr/bin/perl
>> checking for gcc... gcc
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... no
>> checking for suffix of object files... o
>> checking whether we are using the GNU C compiler... yes
>> checking whether gcc accepts -g... yes
>> checking for gcc option to accept ISO C89... none needed
>> checking gcc version... 4
>> checking for inline... inline
>> checking for gcc... (cached) gcc
>> checking whether we are using the GNU C compiler... (cached) yes
>> checking whether gcc accepts -g... (cached) yes
>> checking for gcc option to accept ISO C89... (cached) none needed
>> checking how to run the C preprocessor... gcc -E
>> checking whether make sets $(MAKE)... yes
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking for ranlib... ranlib
>> checking for bison... bison -y
>> checking for ranlib... ranlib
>> checking for flex... flex
>> checking for flex 2.4 or higher... yes
>> checking for bison... bison
>> checking for grep that handles long lines and -e... /bin/grep
>> checking for egrep... /bin/grep -E
>> checking for ANSI C header files... yes
>> checking for sys/types.h... yes
>> checking for sys/stat.h... yes
>> checking for stdlib.h... yes
>> checking for string.h... yes
>> checking for memory.h... yes
>> checking for strings.h... yes
>> checking for inttypes.h... yes
>> checking for stdint.h... yes
>> checking for unistd.h... yes
>> checking for dirent.h that defines DIR... yes
>> checking for library containing opendir... none required
>> checking for ANSI C header files... (cached) yes
>> checking for sys/wait.h that is POSIX.1 compatible... yes
>> checking sys/sockio.h usability... no
>> checking sys/sockio.h presence... no
>> checking for sys/sockio.h... no
>> checking for string.h... (cached) yes
>> checking fcntl.h usability... yes
>> checking fcntl.h presence... yes
>> checking for fcntl.h... yes
>> checking sys/file.h usability... yes
>> checking sys/file.h presence... yes
>> checking for sys/file.h... yes
>> checking syslog.h usability... yes
>> checking syslog.h presence... yes
>> checking for syslog.h... yes
>> checking zlib.h usability... yes
>> checking zlib.h presence... yes
>> checking for zlib.h... yes
>> checking arpa/inet.h usability... yes
>> checking arpa/inet.h presence... yes
>> checking for arpa/inet.h... yes
>> checking for fcntl.h... (cached) yes
>> checking for inttypes.h... (cached) yes
>> checking limits.h usability... yes
>> checking limits.h presence... yes
>> checking for limits.h... yes
>> checking libintl.h usability... yes
>> checking libintl.h presence... yes
>> checking for libintl.h... yes
>> checking malloc.h usability... yes
>> checking malloc.h presence... yes
>> checking for malloc.h... yes
>> checking for memory.h... (cached) yes
>> checking netdb.h usability... yes
>> checking netdb.h presence... yes
>> checking for netdb.h... yes
>> checking netinet/in.h usability... yes
>> checking netinet/in.h presence... yes
>> checking for netinet/in.h... yes
>> checking for stdlib.h... (cached) yes
>> checking stddef.h usability... yes
>> checking stddef.h presence... yes
>> checking for stddef.h... yes
>> checking for string.h... (cached) yes
>> checking for strings.h... (cached) yes
>> checking for sys/file.h... (cached) yes
>> checking sys/ioctl.h usability... yes
>> checking sys/ioctl.h presence... yes
>> checking for sys/ioctl.h... yes
>> checking sys/param.h usability... yes
>> checking sys/param.h presence... yes
>> checking for sys/param.h... yes
>> checking sys/socket.h usability... yes
>> checking sys/socket.h presence... yes
>> checking for sys/socket.h... yes
>> checking sys/time.h usability... yes
>> checking sys/time.h presence... yes
>> checking for sys/time.h... yes
>> checking sys/vfs.h usability... yes
>> checking sys/vfs.h presence... yes
>> checking for sys/vfs.h... yes
>> checking for syslog.h... (cached) yes
>> checking termios.h usability... yes
>> checking termios.h presence... yes
>> checking for termios.h... yes
>> checking for unistd.h... (cached) yes
>> checking values.h usability... yes
>> checking values.h presence... yes
>> checking for values.h... yes
>> checking for an ANSI C-conforming const... yes
>> checking for inline... (cached) inline
>> checking for special C compiler options needed for large files... no
>> checking for _FILE_OFFSET_BITS value needed for large files... 64
>> checking if unaligned accesses fail... no
>> checking for int8_t... yes
>> checking for uint8_t... yes
>> checking for int16_t... yes
>> checking for uint16_t... yes
>> checking for int32_t... yes
>> checking for uint32_t... yes
>> checking for uid_t in sys/types.h... yes
>> checking for pid_t... yes
>> checking for size_t... yes
>> checking whether time.h and sys/time.h may both be included... yes
>> checking whether struct tm is in sys/time.h or time.h... time.h
>> checking for struct tm.tm_zone... yes
>> checking for working alloca.h... yes
>> checking for alloca... yes
>> checking for vprintf... yes
>> checking for _doprnt... no
>> checking whether closedir returns void... no
>> checking for error_at_line... yes
>> checking vfork.h usability... no
>> checking vfork.h presence... no
>> checking for vfork.h... no
>> checking for fork... yes
>> checking for vfork... yes
>> checking for working fork... yes
>> checking for working vfork... (cached) yes
>> checking whether gcc needs -traditional... no
>> checking for stdlib.h... (cached) yes
>> checking for GNU libc compatible malloc... yes
>> checking for working memcmp... yes
>> checking for sys/time.h... (cached) yes
>> checking for unistd.h... (cached) yes
>> checking for alarm... yes
>> checking for working mktime... no
>> checking for stdlib.h... (cached) yes
>> checking for GNU libc compatible realloc... yes
>> checking sys/select.h usability... yes
>> checking sys/select.h presence... yes
>> checking for sys/select.h... yes
>> checking for sys/socket.h... (cached) yes
>> checking types of arguments for select... int,fd_set *,struct timeval *
>> checking return type of signal handlers... void
>> checking whether lstat correctly handles trailing slash... yes
>> checking whether stat accepts an empty string... no
>> checking for strftime... yes
>> checking for working strtod... yes
>> checking for backtrace... yes
>> checking for openlog... yes
>> checking for syslog... yes
>> checking for vfprintf... yes
>> checking for strlcpy... no
>> checking for strftime... (cached) yes
>> checking for inet_aton... yes
>> checking for setlinebuf... yes
>> checking for strerror... yes
>> checking for strtof... yes
>> checking for floorf... no
>> checking for remainderf... no
>> checking for xdrmem_create... yes
>> checking for vsnprintf... yes
>> checking for snprintf... yes
>> checking for library containing gethostbyname... none required
>> checking for library containing socket... none required
>> checking for library containing putmsg... none required
>> checking for ether_hostton... yes
>> checking for getaddrinfo... yes
>> checking for gethostname... yes
>> checking netinet/ether.h usability... yes
>> checking netinet/ether.h presence... yes
>> checking for netinet/ether.h... yes
>> checking whether ether_hostton is declared... yes
>> checking for alarm... (cached) yes
>> checking for bzero... yes
>> checking for endgrent... yes
>> checking for endpwent... yes
>> checking for floor... no
>> checking for gethostbyaddr... yes
>> checking for gethostbyname... yes
>> checking for getpass... yes
>> checking for gettimeofday... yes
>> checking for inet_ntoa... yes
>> checking for isascii... yes
>> checking for localtime_r... yes
>> checking for memchr... yes
>> checking for memmove... yes
>> checking for memset... yes
>> checking for mkdir... yes
>> checking for modf... yes
>> checking for pow... no
>> checking for putenv... yes
>> checking for realpath... yes
>> checking for regcomp... yes
>> checking for select... yes
>> checking for setenv... yes
>> checking for socket... yes
>> checking for sqrt... no
>> checking for strcasecmp... yes
>> checking for strchr... yes
>> checking for strdup... yes
>> checking for strlcat... no
>> checking for strncasecmp... yes
>> checking for strpbrk... yes
>> checking for strrchr... yes
>> checking for strstr... yes
>> checking for strtol... yes
>> checking for srandomdev... no
>> checking for tzset... yes
>> checking for .threads... yes
>> checking for sched_get_priority_min... yes
>> checking for specified library... /usr/lib/zcp//libpcap.a
>> checking for specified pcap.h... configure: WARNING: not found
>> checking for pcap_list_datalinks... no
>> checking for pcap_set_datalink... no
>> checking for pcap_datalink_name_to_val... no
>> checking for pcap_get_selectable_fd... no
>> checking for pcap_next_ex... no
>> checking for pcap_dump_ftell... no
>> checking for local tcp_wrappers library... not found
>> checking for system tcp_wrappers library... yes
>> checking for xdrmem_create... (cached) yes
>> checking tm_gmtoff in struct tm... yes
>> checking sys_errlist in stdio.h... yes
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating ./common/Makefile
>> config.status: creating ./argus/Makefile
>> config.status: creating ./events/Makefile
>> config.status: creating include/argus_config.h
>> [bivio-01] root <at> CPU-X argus-3.0.5.6$ make
>> ### Making in /root/src/argus-3.0.5.6/common
>> make[1]: Entering directory
>>`/bivio/shared/root/src/argus-3.0.5.6/common'
>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>argus_util.c
>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>argus_code.c
>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>argus_filter.c
>> bison -y -p argus_ -d grammar.y
>> mv y.tab.c grammar.c
>> mv y.tab.h tokdefs.h
>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H
>> -Dyylval=argus_lval -c grammar.c
>> flex -Pargus_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c scanner.c
>> sed -e 's/.*/char version[] = "&";/' ./../VERSION > version.c
>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c version.c
>> rm -f ../lib/argus_common.a; ar qc ../lib/argus_common.a argus_util.o
>> argus_code.o argus_filter.o grammar.o scanner.o version.o
>> ranlib ../lib/argus_common.a
>> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/common'
>> ### Done with /root/src/argus-3.0.5.6/common
>> ### Making in /root/src/argus-3.0.5.6/argus
>> make[1]: Entering directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c argus.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusModeler.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSource.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUtil.c
>> ArgusUtil.c: In function 'ArgusUpdateTime':
>> ArgusUtil.c:779: warning: incompatible implicit declaration of built-in
>> function 'llabs'
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusOutput.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusTcp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIcmp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIgmp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEsp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusArp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusFrag.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdt.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusLcp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIsis.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusAuth.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c Argus802.11.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusApp.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEvents.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusNetflow.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSflow.c
>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -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
>> ArgusUdt.o ArgusLcp.o ArgusIsis.o ArgusAuth.o Argus802.11.o ArgusApp.o
>> ArgusEvents.o ArgusNetflow.o ArgusSflow.o  ../lib/libpcap.a -lpthread
>> -lwrap -lnsl  -lm -lz ../lib/argus_common.a -lm
>> ArgusSource.o: In function
>>`ArgusGetPackets':ArgusSource.c:(.text+0x45a4):
>> undefined reference to `pcap_get_selectable_fd'
>> collect2: ld returned 1 exit status
>> make[1]: *** [../bin/argus] Error 1
>> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/argus'
>> ### Done with /root/src/argus-3.0.5.6/argus
>> ### Making in /root/src/argus-3.0.5.6/events
>> make[1]: Entering directory
>>`/bivio/shared/root/src/argus-3.0.5.6/events'
>> sed 's+ <at> PERLBIN <at> +/usr/bin/perl+' argus-lsof.pl > ../bin/argus-lsof
>> chmod +x ../bin/argus-lsof
>> cp -f argus-snmp.sh ../bin/argus-snmp
>> cp -f argus-vmstat.sh ../bin/argus-vmstat
>> make[1]: Leaving directory `/bivio/shared/root/src/argus-3.0.5.6/events'
>> ### Done with /root/src/argus-3.0.5.6/events
>> 
>> 
>> 
>> 
>> On 12/1/11 5:36 PM, "Carter Bullard" <carter <at> qosient.com> wrote:
>> 
>>> Hey Jason,
>>> I uploaded a new argus-3.0.5.6.tar.gz just now that should compile for
>>> the older Bivio code.
>>> 
>>> Please give code a try:
>>>  http://qosient.com/argus/dev/argus-latest.tar.gz
>>> 
>>> Carter
>>> 
>>> On Dec 1, 2011, at 4:24 PM, Carter Bullard wrote:
>>> 
>>>> Hey Jason,
>>>> Thanks !!!!   I'll fix this tonight, and I'll have a new argus up
>>>> before the weekend.
>>>> Sorry for any inconvenience,
>>>> Carter
>>>> 
>>>> On Dec 1, 2011, at 4:05 PM, Jason Carr wrote:
>>>> 
>>>>> Hello guys,
>>>>> 
>>>>> I'm having some compile errors on the Bivio hardware.  It uses a
>>>>>hacked
>>>>> pcap library so I'm betting these functions are not implemented.
>>>>>Also
>>>>> noted that these functions were noted as "no" in the configure stage.
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Jason
>>>>> 
>>>>> Here's the log:
>>>>> 
>>>>> [bivio-01] root <at> CPU-X argus-3.0.5.6$ ./configure
>>>>> --with-libpcap=/usr/lib/zcp/
>>>>> checking build system type... powerpc-unknown-linux-gnu
>>>>> checking host system type... powerpc-unknown-linux-gnu
>>>>> checking target system type... powerpc-unknown-linux-gnu
>>>>> checking for standard perl installation... /usr/bin/perl
>>>>> checking for gcc... gcc
>>>>> checking whether the C compiler works... yes
>>>>> checking for C compiler default output file name... a.out
>>>>> checking for suffix of executables...
>>>>> checking whether we are cross compiling... no
>>>>> checking for suffix of object files... o
>>>>> checking whether we are using the GNU C compiler... yes
>>>>> checking whether gcc accepts -g... yes
>>>>> checking for gcc option to accept ISO C89... none needed
>>>>> checking gcc version... 4
>>>>> checking for inline... inline
>>>>> checking for gcc... (cached) gcc
>>>>> checking whether we are using the GNU C compiler... (cached) yes
>>>>> checking whether gcc accepts -g... (cached) yes
>>>>> checking for gcc option to accept ISO C89... (cached) none needed
>>>>> checking how to run the C preprocessor... gcc -E
>>>>> checking whether make sets $(MAKE)... yes
>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>> checking for ranlib... ranlib
>>>>> checking for bison... bison -y
>>>>> checking for ranlib... ranlib
>>>>> checking for flex... flex
>>>>> checking for flex 2.4 or higher... yes
>>>>> checking for bison... bison
>>>>> checking for grep that handles long lines and -e... /bin/grep
>>>>> checking for egrep... /bin/grep -E
>>>>> checking for ANSI C header files... yes
>>>>> checking for sys/types.h... yes
>>>>> checking for sys/stat.h... yes
>>>>> checking for stdlib.h... yes
>>>>> checking for string.h... yes
>>>>> checking for memory.h... yes
>>>>> checking for strings.h... yes
>>>>> checking for inttypes.h... yes
>>>>> checking for stdint.h... yes
>>>>> checking for unistd.h... yes
>>>>> checking for dirent.h that defines DIR... yes
>>>>> checking for library containing opendir... none required
>>>>> checking for ANSI C header files... (cached) yes
>>>>> checking for sys/wait.h that is POSIX.1 compatible... yes
>>>>> checking sys/sockio.h usability... no
>>>>> checking sys/sockio.h presence... no
>>>>> checking for sys/sockio.h... no
>>>>> checking for string.h... (cached) yes
>>>>> checking fcntl.h usability... yes
>>>>> checking fcntl.h presence... yes
>>>>> checking for fcntl.h... yes
>>>>> checking sys/file.h usability... yes
>>>>> checking sys/file.h presence... yes
>>>>> checking for sys/file.h... yes
>>>>> checking syslog.h usability... yes
>>>>> checking syslog.h presence... yes
>>>>> checking for syslog.h... yes
>>>>> checking zlib.h usability... yes
>>>>> checking zlib.h presence... yes
>>>>> checking for zlib.h... yes
>>>>> checking arpa/inet.h usability... yes
>>>>> checking arpa/inet.h presence... yes
>>>>> checking for arpa/inet.h... yes
>>>>> checking for fcntl.h... (cached) yes
>>>>> checking for inttypes.h... (cached) yes
>>>>> checking limits.h usability... yes
>>>>> checking limits.h presence... yes
>>>>> checking for limits.h... yes
>>>>> checking libintl.h usability... yes
>>>>> checking libintl.h presence... yes
>>>>> checking for libintl.h... yes
>>>>> checking malloc.h usability... yes
>>>>> checking malloc.h presence... yes
>>>>> checking for malloc.h... yes
>>>>> checking for memory.h... (cached) yes
>>>>> checking netdb.h usability... yes
>>>>> checking netdb.h presence... yes
>>>>> checking for netdb.h... yes
>>>>> checking netinet/in.h usability... yes
>>>>> checking netinet/in.h presence... yes
>>>>> checking for netinet/in.h... yes
>>>>> checking for stdlib.h... (cached) yes
>>>>> checking stddef.h usability... yes
>>>>> checking stddef.h presence... yes
>>>>> checking for stddef.h... yes
>>>>> checking for string.h... (cached) yes
>>>>> checking for strings.h... (cached) yes
>>>>> checking for sys/file.h... (cached) yes
>>>>> checking sys/ioctl.h usability... yes
>>>>> checking sys/ioctl.h presence... yes
>>>>> checking for sys/ioctl.h... yes
>>>>> checking sys/param.h usability... yes
>>>>> checking sys/param.h presence... yes
>>>>> checking for sys/param.h... yes
>>>>> checking sys/socket.h usability... yes
>>>>> checking sys/socket.h presence... yes
>>>>> checking for sys/socket.h... yes
>>>>> checking sys/time.h usability... yes
>>>>> checking sys/time.h presence... yes
>>>>> checking for sys/time.h... yes
>>>>> checking sys/vfs.h usability... yes
>>>>> checking sys/vfs.h presence... yes
>>>>> checking for sys/vfs.h... yes
>>>>> checking for syslog.h... (cached) yes
>>>>> checking termios.h usability... yes
>>>>> checking termios.h presence... yes
>>>>> checking for termios.h... yes
>>>>> checking for unistd.h... (cached) yes
>>>>> checking values.h usability... yes
>>>>> checking values.h presence... yes
>>>>> checking for values.h... yes
>>>>> checking for an ANSI C-conforming const... yes
>>>>> checking for inline... (cached) inline
>>>>> checking for special C compiler options needed for large files... no
>>>>> checking for _FILE_OFFSET_BITS value needed for large files... 64
>>>>> checking if unaligned accesses fail... no
>>>>> checking for int8_t... yes
>>>>> checking for uint8_t... yes
>>>>> checking for int16_t... yes
>>>>> checking for uint16_t... yes
>>>>> checking for int32_t... yes
>>>>> checking for uint32_t... yes
>>>>> checking for uid_t in sys/types.h... yes
>>>>> checking for pid_t... yes
>>>>> checking for size_t... yes
>>>>> checking whether time.h and sys/time.h may both be included... yes
>>>>> checking whether struct tm is in sys/time.h or time.h... time.h
>>>>> checking for struct tm.tm_zone... yes
>>>>> checking for working alloca.h... yes
>>>>> checking for alloca... yes
>>>>> checking for vprintf... yes
>>>>> checking for _doprnt... no
>>>>> checking whether closedir returns void... no
>>>>> checking for error_at_line... yes
>>>>> checking vfork.h usability... no
>>>>> checking vfork.h presence... no
>>>>> checking for vfork.h... no
>>>>> checking for fork... yes
>>>>> checking for vfork... yes
>>>>> checking for working fork... yes
>>>>> checking for working vfork... (cached) yes
>>>>> checking whether gcc needs -traditional... no
>>>>> checking for stdlib.h... (cached) yes
>>>>> checking for GNU libc compatible malloc... yes
>>>>> checking for working memcmp... yes
>>>>> checking for sys/time.h... (cached) yes
>>>>> checking for unistd.h... (cached) yes
>>>>> checking for alarm... yes
>>>>> checking for working mktime... no
>>>>> checking for stdlib.h... (cached) yes
>>>>> checking for GNU libc compatible realloc... yes
>>>>> checking sys/select.h usability... yes
>>>>> checking sys/select.h presence... yes
>>>>> checking for sys/select.h... yes
>>>>> checking for sys/socket.h... (cached) yes
>>>>> checking types of arguments for select... int,fd_set *,struct
>>>>>timeval *
>>>>> checking return type of signal handlers... void
>>>>> checking whether lstat correctly handles trailing slash... yes
>>>>> checking whether stat accepts an empty string... no
>>>>> checking for strftime... yes
>>>>> checking for working strtod... yes
>>>>> checking for backtrace... yes
>>>>> checking for openlog... yes
>>>>> checking for syslog... yes
>>>>> checking for vfprintf... yes
>>>>> checking for strlcpy... no
>>>>> checking for strftime... (cached) yes
>>>>> checking for inet_aton... yes
>>>>> checking for setlinebuf... yes
>>>>> checking for strerror... yes
>>>>> checking for strtof... yes
>>>>> checking for floorf... no
>>>>> checking for remainderf... no
>>>>> checking for xdrmem_create... yes
>>>>> checking for vsnprintf... yes
>>>>> checking for snprintf... yes
>>>>> checking for library containing gethostbyname... none required
>>>>> checking for library containing socket... none required
>>>>> checking for library containing putmsg... none required
>>>>> checking for ether_hostton... yes
>>>>> checking for getaddrinfo... yes
>>>>> checking for gethostname... yes
>>>>> checking netinet/ether.h usability... yes
>>>>> checking netinet/ether.h presence... yes
>>>>> checking for netinet/ether.h... yes
>>>>> checking whether ether_hostton is declared... yes
>>>>> checking for alarm... (cached) yes
>>>>> checking for bzero... yes
>>>>> checking for endgrent... yes
>>>>> checking for endpwent... yes
>>>>> checking for floor... no
>>>>> checking for gethostbyaddr... yes
>>>>> checking for gethostbyname... yes
>>>>> checking for getpass... yes
>>>>> checking for gettimeofday... yes
>>>>> checking for inet_ntoa... yes
>>>>> checking for isascii... yes
>>>>> checking for localtime_r... yes
>>>>> checking for memchr... yes
>>>>> checking for memmove... yes
>>>>> checking for memset... yes
>>>>> checking for mkdir... yes
>>>>> checking for modf... yes
>>>>> checking for pow... no
>>>>> checking for putenv... yes
>>>>> checking for realpath... yes
>>>>> checking for regcomp... yes
>>>>> checking for select... yes
>>>>> checking for setenv... yes
>>>>> checking for socket... yes
>>>>> checking for sqrt... no
>>>>> checking for strcasecmp... yes
>>>>> checking for strchr... yes
>>>>> checking for strdup... yes
>>>>> checking for strlcat... no
>>>>> checking for strncasecmp... yes
>>>>> checking for strpbrk... yes
>>>>> checking for strrchr... yes
>>>>> checking for strstr... yes
>>>>> checking for strtol... yes
>>>>> checking for srandomdev... no
>>>>> checking for tzset... yes
>>>>> checking for .threads... yes
>>>>> checking for sched_get_priority_min... yes
>>>>> checking for specified library... /usr/lib/zcp//libpcap.a
>>>>> checking for specified pcap.h... configure: WARNING: not found
>>>>> checking for pcap_list_datalinks... no
>>>>> checking for pcap_set_datalink... no
>>>>> checking for pcap_datalink_name_to_val... no
>>>>> checking for pcap_get_selectable_fd... no
>>>>> checking for pcap_next_ex... no
>>>>> checking for pcap_dump_ftell... no
>>>>> checking for local tcp_wrappers library... not found
>>>>> checking for system tcp_wrappers library... yes
>>>>> checking for xdrmem_create... (cached) yes
>>>>> checking tm_gmtoff in struct tm... yes
>>>>> checking sys_errlist in stdio.h... yes
>>>>> configure: creating ./config.status
>>>>> config.status: creating Makefile
>>>>> config.status: creating ./common/Makefile
>>>>> config.status: creating ./argus/Makefile
>>>>> config.status: creating ./events/Makefile
>>>>> config.status: creating include/argus_config.h
>>>>> config.status: include/argus_config.h is unchanged
>>>>> [bivio-01] root <at> CPU-X argus-3.0.5.6$ make
>>>>> ### Making in /root/src/argus-3.0.5.6/common
>>>>> make[1]: Entering directory
>>>>> `/bivio/shared/root/src/argus-3.0.5.6/common'
>>>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>>>> argus_util.c
>>>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>>>> argus_code.c
>>>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>>>> argus_filter.c
>>>>> bison -y -p argus_ -d grammar.y
>>>>> mv y.tab.c grammar.c
>>>>> mv y.tab.h tokdefs.h
>>>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H
>>>>> -Dyylval=argus_lval -c grammar.c
>>>>> flex -Pargus_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
>>>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>>>>scanner.c
>>>>> sed -e 's/.*/char version[] = "&";/' ./../VERSION > version.c
>>>>> gcc -O3 -I.  -I./../include  -I./../argus -DHAVE_CONFIG_H -c
>>>>>version.c
>>>>> rm -f ../lib/argus_common.a; ar qc ../lib/argus_common.a argus_util.o
>>>>> argus_code.o argus_filter.o grammar.o scanner.o version.o
>>>>> ranlib ../lib/argus_common.a
>>>>> make[1]: Leaving directory
>>>>> `/bivio/shared/root/src/argus-3.0.5.6/common'
>>>>> ### Done with /root/src/argus-3.0.5.6/common
>>>>> ### Making in /root/src/argus-3.0.5.6/argus
>>>>> make[1]: Entering directory
>>>>> `/bivio/shared/root/src/argus-3.0.5.6/argus'
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c argus.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusModeler.c
>>>>> ArgusModeler.c: In function 'ArgusUpdateBasicFlow':
>>>>> ArgusModeler.c:2047: warning: comparison is always true due to
>>>>>limited
>>>>> range of data type
>>>>> ArgusModeler.c:2054: warning: comparison is always true due to
>>>>>limited
>>>>> range of data type
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSource.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUtil.c
>>>>> ArgusUtil.c: In function 'ArgusUpdateTime':
>>>>> ArgusUtil.c:778: warning: incompatible implicit declaration of
>>>>>built-in
>>>>> function 'llabs'
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusOutput.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdp.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusTcp.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIcmp.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIgmp.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEsp.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusArp.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusFrag.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusUdt.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusLcp.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusIsis.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusAuth.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c Argus802.11.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusApp.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEvents.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusNetflow.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSflow.c
>>>>> gcc -O3 -I.  -I./../include  -DHAVE_CONFIG_H -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
>>>>> ArgusUdt.o ArgusLcp.o ArgusIsis.o ArgusAuth.o Argus802.11.o
>>>>>ArgusApp.o
>>>>> ArgusEvents.o ArgusNetflow.o ArgusSflow.o  ../lib/libpcap.a -lpthread
>>>>> -lwrap -lnsl  -lm -lz ../lib/argus_common.a -lm
>>>>> ArgusSource.o: In function
>>>>> `Argus802_11Packet':ArgusSource.c:(.text+0x9bc): undefined reference
>>>>>to
>>>>> `pcap_dump_ftell'
>>>>> ArgusSource.o: In function
>>>>>`ArgusIpPacket':ArgusSource.c:(.text+0xb7c):
>>>>> undefined reference to `pcap_dump_ftell'
>>>>> ArgusSource.o: In function
>>>>> `ArgusNullPacket':ArgusSource.c:(.text+0xd0c):
>>>>> undefined reference to `pcap_dump_ftell'
>>>>> ArgusSource.o: In function
>>>>> `ArgusEtherPacket':ArgusSource.c:(.text+0x245c): undefined reference
>>>>>to
>>>>> `pcap_dump_ftell'
>>>>> ArgusSource.o: In function
>>>>> `ArgusArcnetPacket':ArgusSource.c:(.text+0x26fc): undefined reference
>>>>> to
>>>>> `pcap_dump_ftell'
>>>>> ArgusSource.o:ArgusSource.c:(.text+0x297c): more undefined references
>>>>> to
>>>>> `pcap_dump_ftell' follow
>>>>> ArgusSource.o: In function
>>>>> `ArgusGetPackets':ArgusSource.c:(.text+0x451c):
>>>>> undefined reference to `pcap_next_ex'
>>>>> :ArgusSource.c:(.text+0x4558): undefined reference to `pcap_next_ex'
>>>>> :ArgusSource.c:(.text+0x4594): undefined reference to `pcap_next_ex'
>>>>> :ArgusSource.c:(.text+0x45d0): undefined reference to `pcap_next_ex'
>>>>> :ArgusSource.c:(.text+0x4634): undefined reference to `pcap_next_ex'
>>>>> ArgusSource.o:ArgusSource.c:(.text+0x4650): more undefined references
>>>>> to
>>>>> `pcap_next_ex' follow
>>>>> ArgusSource.o: In function
>>>>> `ArgusGetPackets':ArgusSource.c:(.text+0x46c0):
>>>>> undefined reference to `pcap_get_selectable_fd'
>>>>> :ArgusSource.c:(.text+0x4b14): undefined reference to `pcap_next_ex'
>>>>> ArgusSource.o: In function
>>>>> `ArgusFddiPacket':ArgusSource.c:(.text+0x545c):
>>>>> undefined reference to `pcap_dump_ftell'
>>>>> ArgusSource.o: In function
>>>>> `setArgusDevice':ArgusSource.c:(.text+0x6f94):
>>>>> undefined reference to `pcap_datalink_name_to_val'
>>>>> :ArgusSource.c:(.text+0x713c): undefined reference to
>>>>> `pcap_datalink_name_to_val'
>>>>> collect2: ld returned 1 exit status
>>>>> make[1]: *** [../bin/argus] Error 1
>>>>> make[1]: Leaving directory
>>>>>`/bivio/shared/root/src/argus-3.0.5.6/argus'
>>>>> ### Done with /root/src/argus-3.0.5.6/argus
>>>>> ### Making in /root/src/argus-3.0.5.6/events
>>>>> make[1]: Entering directory
>>>>> `/bivio/shared/root/src/argus-3.0.5.6/events'
>>>>> sed 's+ <at> PERLBIN <at> +/usr/bin/perl+' argus-lsof.pl > ../bin/argus-lsof
>>>>> chmod +x ../bin/argus-lsof
>>>>> cp -f argus-snmp.sh ../bin/argus-snmp
>>>>> cp -f argus-vmstat.sh ../bin/argus-vmstat
>>>>> make[1]: Leaving directory
>>>>> `/bivio/shared/root/src/argus-3.0.5.6/events'
>>>>> ### Done with /root/src/argus-3.0.5.6/events
>>>>> 
>>>>> 
>>>> 
>>> 
>> 
>> 
>


Gmane