ArgusBug - Problem Compiling clients-2.0.6.beta.46 on FreeBSD 5.1

eric-list-argus at catastrophe.net eric-list-argus at catastrophe.net
Wed Sep 3 16:03:51 EDT 2003


Description:

I get the following when trying to make....

-D_FILE_OFFSET_BITS=64 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1
-DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1
-DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DSTDC_HEADERS=1 -c
./gencode.c
In file included from gencode.c:47:
/usr/include/net/if.h:246: field `ifru_addr' has incomplete type
/usr/include/net/if.h:247: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:248: field `ifru_broadaddr' has incomplete
type
/usr/include/net/if.h:280: field `ifra_addr' has incomplete type
/usr/include/net/if.h:281: field `ifra_broadaddr' has incomplete
type
/usr/include/net/if.h:282: field `ifra_mask' has incomplete type
/usr/include/net/if.h:333: field `addr' has incomplete type
/usr/include/net/if.h:334: field `dstaddr' has incomplete type
*** Error code 1

Stop in /home/eric/argus-clients-2.0.6.beta.46/common.
*** Error code 1

Stop in /home/eric/argus-clients-2.0.6.beta.46.

Here's the output from ./configure

loading cache ./config.cache
checking host system type... i386-unknown-freebsd5.1
checking target system type... i386-unknown-freebsd5.1
checking build system type... i386-unknown-freebsd5.1
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking gcc version... (cached) 3
checking for inline... (cached) inline
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ranlib... (cached) ranlib
checking for flex... (cached) flex
checking for flex 2.4 or higher... (cached) yes
checking for bison... (cached) bison
checking for ranlib... (cached) ranlib
checking for sasl.h... (cached) no
checking for LARGEFILE support... (cached) yes
checking for sys/sockio.h... (cached) yes
checking for string.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for syslog.h... (cached) yes
checking for ether_hostton... (cached) yes
checking for strerror... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for ANSI C header files... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating ./common/Makefile
creating ./clients/Makefile
creating ./ragraph/Makefile
creating ./ragrep/Makefile
creating ./ratop/Makefile

How-To-Repeat:

 tar zxf tarball.tar
 cd tarball
 ./configure --prefix=/usr/local
 make

Fix:
   
 Unknown

Submitter-Id:  eric at catastrophe.net
Originator:    
Organization: Catastrophe.net
Argus support: none
Release: argus-2.0
Product: argus
Synopsis: Cannot compile clients-2.0.6.beta.46 on FreeBSD 5.1
Class:	install-bug
Severity: serious
Priority: medium

Environment:   <machine, os, target, libraries (multiple lines)>

System:  FreeBSD bla 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Tue Jul 15 08:38:23 CDT 2003     eric at bla:/usr/local/src/sys/i386/compile/20030715-smp  i386

Paths:    /usr/local/sbin/argus /usr/local/bin/ra /usr/sbin/tcpdump /usr/bin/make /usr/bin/gcc /usr/bin/cc

ARGUS:   Argus Version 2.0.6.beta.14
RA:      Ra Version 2.0.6.beta.14
TCPDUMP: tcpdump version 3.7.2+multidlt libpcap version 0.7+multidlt 

GCC:     Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.2.2 [FreeBSD] 20030205 (release)

LIBC:    
-r--r--r--  1 root  wheel  1717558 Jun  4 20:54 /usr/lib/libc.a
lrwxrwxrwx  1 root  wheel  9 Jul 14 16:09 /usr/lib/libc.so -> libc.so.5
-r--r--r--  1 root  wheel  886848 Jun  4 20:54 /usr/lib/libc.so.5




More information about the argus mailing list