argus-clients-3.0.0.rc.5

Peter Van Epp vanepp at sfu.ca
Mon Jun 12 21:31:49 EDT 2006


On Mon, Jun 12, 2006 at 05:10:10PM -0400, Carter Bullard wrote:
> The problem is that on some machines its in ethernet.h, on others
> its ether.h, and then ......  The const is there for linux, Mac OS X,  
> etc....
> 
> I'll try to borrow the configure code from the latest tcpdump, and see
> if we can't fix it that way.
> 
> Carter
> 

	I have some suspicion this is a case of old :-). rc5 also fails on 
FreeBSD 4.10 (same age as Mac OS 10.3) with much the same errors. There being
two later versions (5.x and 6.x) of FreeBSD I'll probably ignore 4.x (but I
need to upgrade my main post processing box then :-)). I'm not sure a current
version of tcpdump would build on either of these boxes either (the native one
is fairly old too) and it may not be worth trying to fix this (I have a copy
of Mac OS 10.4 I just haven't had time to install it on my desktop). 

gcc -O3 -I. -I/usr/include  -I./../include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TCP_WRAPPER=1 -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 -DCONFIG_X86_BSWAP=1 -DSTDC_HEADERS=1  -DARGUS_SYSLOG=1 -c argus_util.c
In file included from /usr/include/netinet/if_ether.h:40,
                 from ../include/argus_out.h:44,
                 from ../include/argus_util.h:60,
                 from argus_util.c:40:
/usr/include/net/ethernet.h:92: warning: `ETHERTYPE_VINES' redefined
../include/compat.h:202: warning: this is the location of the previous definition
/usr/include/net/ethernet.h:136: warning: `ETHERTYPE_DN' redefined
../include/compat.h:223: warning: this is the location of the previous definition
/usr/include/net/ethernet.h:177: warning: `ETHERTYPE_DECDNS' redefined
../include/compat.h:244: warning: this is the location of the previous definition
/usr/include/net/ethernet.h:179: warning: `ETHERTYPE_DECDTS' redefined
../include/compat.h:247: warning: this is the location of the previous definition
/usr/include/net/ethernet.h:188: warning: `ETHERTYPE_VEXP' redefined
../include/compat.h:250: warning: this is the location of the previous definition
/usr/include/net/ethernet.h:189: warning: `ETHERTYPE_VPROD' redefined
../include/compat.h:253: warning: this is the location of the previous definition
/usr/include/net/ethernet.h:208: warning: `ETHERTYPE_ATALK' redefined
../include/compat.h:256: warning: this is the location of the previous definition
/usr/include/net/ethernet.h:229: warning: `ETHERTYPE_AARP' redefined
../include/compat.h:259: warning: this is the location of the previous definition
/usr/include/net/ethernet.h:252: warning: `ETHERTYPE_SNMP' redefined
../include/compat.h:268: warning: this is the location of the previous definition
/usr/include/net/ethernet.h:290: warning: `ETHERTYPE_IPV6' redefined
../include/compat.h:271: warning: this is the location of the previous definition

Peter Van Epp / Operations and Technical Support 
Simon Fraser University, Burnaby, B.C. Canada



More information about the argus mailing list