Bug 28686

Summary: 'ifconfig' fails to compile on FreeBSD 4.3-STABLE (CVSUP@0400 GMT)
Product: Base System Reporter: Michael Boman <michael.boman>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-STABLE   
Hardware: Any   
OS: Any   

Description Michael Boman 2001-07-04 05:40:01 UTC
ifconfig doesn't compile on today's -STABLE source code.

How-To-Repeat: ayeka# id
uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator), 20(staff), 31(guest)
ayeka# pwd
/usr/src/sbin/ifconfig
ayeka# make
Warning: Object directory not changed from original /usr/src/sbin/ifconfig
cc -O -pipe  -DUSE_IF_MEDIA -DINET6 -DUSE_VLANS -DUSE_IEEE80211 -DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings  -Wnested-externs -I..  -c ifmedia.c
ifmedia.c: In function `media_status':
ifmedia.c:155: `IFM_IEEE80211' undeclared (first use in this function)
ifmedia.c:155: (Each undeclared identifier is reported only once
ifmedia.c:155: for each function it appears in.)
ifmedia.c: At top level:
ifmedia.c:329: `IFM_SUBTYPE_IEEE80211_DESCRIPTIONS' undeclared here (not in a function)
ifmedia.c:332: `IFM_SUBTYPE_IEEE80211_ALIASES' undeclared here (not in a function)
ifmedia.c:335: `IFM_SUBTYPE_IEEE80211_OPTION_DESCRIPTIONS' undeclared here (not in a function)
*** Error code 1

Stop in /usr/src/sbin/ifconfig.
Comment 1 ru freebsd_committer freebsd_triage 2001-07-04 08:57:58 UTC
State Changed
From-To: open->closed

Your /usr/include is out of sync with ifconfig(8) sources. 
Please upgrade through `make world'.