client install breaks on FreeBSD

Carter Bullard carter at qosient.com
Wed Jun 6 12:31:14 EDT 2001


Hey Peter,
   We're doing the wrong thing with the definition
of ETHER_SERVICE, I suspect, and ignoring the
-DHAVE_ETHER_HOSTTON that is being passed on the compile
line.

   If you remove those external declarations on lines
3507 and 4494 does it get better?

Carter

Carter Bullard
QoSient, LLC
300 E. 56th Street, Suite 18K
New York, New York  10022

carter at qosient.com
Phone +1 212 588-9133
Fax   +1 212 588-9134
http://qosient.com 

-----Original Message-----
From: owner-argus-info at lists.andrew.cmu.edu
[mailto:owner-argus-info at lists.andrew.cmu.edu] On Behalf Of Peter Van
Epp
Sent: Wednesday, June 06, 2001 12:16 PM
To: argus
Subject: client install breaks on FreeBSD


	After installing bison (which isn't there by default) the client

build died on FreeBSD 4.3-RELEASE. I haven't poked at why yet nor tried
OpenBSD or Netbsd.

gcc -O2 -I. -I../include -DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1
-DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_ETHER_HOSTTON=1
-DHAVE_STRERROR=1 -DSTDC_HEADERS=1  -DARGUS_SYSLOG=1 -c ./gencode.c gcc
-O2 -I. -I../include -DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1
-DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_ETHER_HOSTTON=1
-DHAVE_STRERROR=1 -DSTDC_HEADERS=1  -DARGUS_SYSLOG=1 -c ./argus_filter.c
./argus_filter.c:3507: conflicting types for `ether_ntohost'
/usr/include/net/ethernet.h:114: previous declaration of `ether_ntohost'
./argus_filter.c: In function `argus_ether_hostton':
./argus_filter.c:4494: conflicting types for `ether_hostton'
/usr/include/net/ethernet.h:111: previous declaration of `ether_hostton'
./argus_filter.c:4494: warning: extern declaration of `ether_hostton'
doesn't match global one
*** Error code 1

Stop in /usr/local/src/argus-clients-2.0.1.alpha.2/common.
*** Error code 1

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



More information about the argus mailing list