issues on FreeBSD 5.4

Lei Wei lwei at cs.unc.edu
Tue Dec 18 15:25:11 EST 2007


Hello,

I'm trying to install argus2.0.6 on FreeBSD 5.4. When I did make, there 
were some compile errors like:

### Making in /home/lwei/files/argus-2.0.6/common
gcc -O2 -I. -I../include -I/usr/local/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_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SOCKIO_H=1 
-DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 
-DHAVE_SYSLOG_H=1 -DCONFIG_X86_BSWAP=1 -DSTDC_HEADERS=1  
-DARGUS_SYSLOG=1 -c ./argus_filter.c
./argus_filter.c:3717: error: conflicting types for 'ether_ntohost'
/usr/include/net/ethernet.h:376: error: previous declaration of 
'ether_ntohost' was here
./argus_filter.c:3717: error: conflicting types for 'ether_ntohost'
/usr/include/net/ethernet.h:376: error: previous declaration of 
'ether_ntohost' was here
./argus_filter.c:3718: error: conflicting types for 'ether_hostton'
/usr/include/net/ethernet.h:373: error: previous declaration of 
'ether_hostton' was here
./argus_filter.c:3718: error: conflicting types for 'ether_hostton'
/usr/include/net/ethernet.h:373: error: previous declaration of 
'ether_hostton' was here
*** Error code 1

Stop in /home/lwei/files/argus-2.0.6/common.
### Done with /home/lwei/files/argus-2.0.6/common
### Making in /home/lwei/files/argus-2.0.6/server
make: don't know how to make ../lib/argus_common.a. Stop
### Done with /home/lwei/files/argus-2.0.6/server


It seems to have some type conflicting errors and at the end, the 
"argus_common.a." error. Could anybody give me some help on how to deal 
with this? Any help will be appreciated.
Thank you.

Lei




More information about the argus mailing list