new code on the server

Peter Van Epp vanepp at sfu.ca
Thu May 10 12:12:58 EDT 2007


	FreeBSD 6.2 likes ratop but has an include warning later :-):

gcc -O3 -pthread -I. -I../include -I../common -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -DHAVE_SETLINEBUF=1 -DHAVE_SETENV=1 -DHAVE_ALARM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DARGUS_THREADS=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 -DHAVE_STRTOF=1 -DHAVE_SRANDOMDEV=1 -DARGUS_CURSES=1 -DCONFIG_X86_BSWAP=1 -DSTDC_HEADERS=1 -c ./print-arp.c
./print-arp.c:67:1: warning: "ar_sha" redefined
In file included from /usr/include/netinet/if_ether.h:37,
                 from ../include/compat.h:145,
                 from ./print-arp.c:26:
/usr/include/net/if_arp.h:75:1: warning: this is the location of the previous definition
./print-arp.c:68:1: warning: "ar_spa" redefined
/usr/include/net/if_arp.h:76:1: warning: this is the location of the previous definition
./print-arp.c:69:1: warning: "ar_tha" redefined
/usr/include/net/if_arp.h:77:1: warning: this is the location of the previous definition
./print-arp.c:70:1: warning: "ar_tpa" redefined
/usr/include/net/if_arp.h:78:1: 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