Bug 20043

Summary: make buildworld fails at lib/libpcap
Product: Base System Reporter: th <th>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description th 2000-07-19 20:20:02 UTC
make world stop at lib/libpcap
error message is :
cc -O2 -march=pentiumpro -mcpu=i686 -pipe -I. -Dyylval=pcap_lval -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1  -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1  -DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1 -DINET6 -I/usr/src/lib/libpcap/../../contrib/libpcap -I/usr/src/lib/libpcap/../../contrib/libpcap/lbl -I/usr/obj/usr/src/i386/usr/include -c /usr/src/lib/libpcap/../../contrib/libpcap/nametoaddr.c -o nametoaddr.o
/usr/src/lib/libpcap/../../contrib/libpcap/nametoaddr.c:370: conflicting types for `ether_hostton'
/usr/obj/usr/src/i386/usr/include/net/ethernet.h:111: previous declaration of `ether_hostton'
*** Error code 1

Stop in /usr/src/lib/libpcap.

How-To-Repeat: 
cd /usr/src
make buildworld
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-19 20:29:03 UTC
State Changed
From-To: open->closed

Should be fixed (by archie).  Please sup and try again. 

By the way, you should never send PR's or bug reports for any 
optimizations other than -O.  Just something to note for 
future reference. :-)