Run "make includes" in /usr/src/include/ first.

Damien

| hello,
| i can't build the ifconfig on landisk.
| snapshot is from 2008/04/18 /usr/src is up to date.
|
| see attached logfile.
|
| best regards
| thomas
| cc -O2 -pipe    -DINET6 -c ifconfig.c
| ifconfig.c: In function `setifwmm':
| ifconfig.c:1422: error: storage size of `wmm' isn't known
| ifconfig.c:1426: error: `SIOCS80211WMMPARMS' undeclared (first use in this 
function)
| ifconfig.c:1426: error: (Each undeclared identifier is reported only once
| ifconfig.c:1426: error: for each function it appears in.)
| ifconfig.c: In function `setifwpa':
| ifconfig.c:1434: error: storage size of `wpa' isn't known
| ifconfig.c:1437: error: `SIOCG80211WPAPARMS' undeclared (first use in this 
function)
| ifconfig.c:1440: error: `SIOCS80211WPAPARMS' undeclared (first use in this 
function)
| ifconfig.c: In function `setifwpaprotos':
| ifconfig.c:1448: error: storage size of `wpa' isn't known
| ifconfig.c:1457: error: `IEEE80211_WPA_PROTO_WPA1' undeclared (first use 
in this function)
| ifconfig.c:1459: error: `IEEE80211_WPA_PROTO_WPA2' undeclared (first use 
in this function)
| ifconfig.c:1467: error: `SIOCG80211WPAPARMS' undeclared (first use in this 
function)
| ifconfig.c:1470: error: `SIOCS80211WPAPARMS' undeclared (first use in this 
function)
| ifconfig.c: In function `setifwpaakms':
| ifconfig.c:1478: error: storage size of `wpa' isn't known
| ifconfig.c:1487: error: `IEEE80211_WPA_AKM_PSK' undeclared (first use in 
this function)
| ifconfig.c:1489: error: `IEEE80211_WPA_AKM_IEEE8021X' undeclared (first 
use in this function)
| ifconfig.c:1497: error: `SIOCG80211WPAPARMS' undeclared (first use in this 
function)
| ifconfig.c:1500: error: `SIOCS80211WPAPARMS' undeclared (first use in this 
function)
| ifconfig.c: At top level:
| ifconfig.c:1508: error: `IEEE80211_WPA_CIPHER_USEGROUP' undeclared here 
(not in a function)
| ifconfig.c:1508: error: initializer element is not constant
| ifconfig.c:1508: error: (near initialization for `ciphers[0].cipher')
| ifconfig.c:1508: error: initializer element is not constant
| ifconfig.c:1508: error: (near initialization for `ciphers[0]')
| ifconfig.c:1509: error: `IEEE80211_WPA_CIPHER_WEP40' undeclared here (not 
in a function)
| ifconfig.c:1509: error: initializer element is not constant
| ifconfig.c:1509: error: (near initialization for `ciphers[1].cipher')
| ifconfig.c:1509: error: initializer element is not constant
| ifconfig.c:1509: error: (near initialization for `ciphers[1]')
| ifconfig.c:1510: error: `IEEE80211_WPA_CIPHER_TKIP' undeclared here (not 
in a function)
| ifconfig.c:1510: error: initializer element is not constant
| ifconfig.c:1510: error: (near initialization for `ciphers[2].cipher')
| ifconfig.c:1510: error: initializer element is not constant
| ifconfig.c:1510: error: (near initialization for `ciphers[2]')
| ifconfig.c:1511: error: `IEEE80211_WPA_CIPHER_CCMP' undeclared here (not 
in a function)
| ifconfig.c:1511: error: initializer element is not constant
| ifconfig.c:1511: error: (near initialization for `ciphers[3].cipher')
| ifconfig.c:1511: error: initializer element is not constant
| ifconfig.c:1511: error: (near initialization for `ciphers[3]')
| ifconfig.c:1512: error: `IEEE80211_WPA_CIPHER_WEP104' undeclared here (not 
in a function)
| ifconfig.c:1512: error: initializer element is not constant
| ifconfig.c:1512: error: (near initialization for `ciphers[4].cipher')
| ifconfig.c:1512: error: initializer element is not constant
| ifconfig.c:1512: error: (near initialization for `ciphers[4]')
| ifconfig.c: In function `getwpacipher':
| ifconfig.c:1523: error: `IEEE80211_WPA_CIPHER_NONE' undeclared (first use 
in this function)
| ifconfig.c: In function `setifwpaciphers':
| ifconfig.c:1530: error: storage size of `wpa' isn't known
| ifconfig.c:1539: error: `IEEE80211_WPA_CIPHER_NONE' undeclared (first use 
in this function)
| ifconfig.c:1548: error: `SIOCG80211WPAPARMS' undeclared (first use in this 
function)
| ifconfig.c:1551: error: `SIOCS80211WPAPARMS' undeclared (first use in this 
function)
| ifconfig.c: In function `setifwpagroupcipher':
| ifconfig.c:1559: error: storage size of `wpa' isn't known
| ifconfig.c:1563: error: `IEEE80211_WPA_CIPHER_NONE' undeclared (first use 
in this function)
| ifconfig.c:1567: error: `SIOCG80211WPAPARMS' undeclared (first use in this 
function)
| ifconfig.c:1570: error: `SIOCS80211WPAPARMS' undeclared (first use in this 
function)
| ifconfig.c: In function `setifwpapsk':
| ifconfig.c:1577: error: storage size of `psk' isn't known
| ifconfig.c:1592: error: `SIOCS80211WPAPSK' undeclared (first use in this 
function)
| ifconfig.c: In function `print_cipherset':
| ifconfig.c:1720: error: `IEEE80211_WPA_CIPHER_NONE' undeclared (first use 
in this function)
| ifconfig.c: In function `ieee80211_status':
| ifconfig.c:1739: error: storage size of `psk' isn't known
| ifconfig.c:1744: error: storage size of `wmm' isn't known
| ifconfig.c:1745: error: storage size of `wpa' isn't known
| ifconfig.c:1763: error: `SIOCG80211WPAPSK' undeclared (first use in this 
function)
| ifconfig.c:1783: error: `SIOCG80211WMMPARMS' undeclared (first use in this 
function)
| ifconfig.c:1787: error: `SIOCG80211WPAPARMS' undeclared (first use in this 
function)
| ifconfig.c:1896: error: `IEEE80211_WPA_PROTO_WPA1' undeclared (first use 
in this function)
| ifconfig.c:1900: error: `IEEE80211_WPA_PROTO_WPA2' undeclared (first use 
in this function)
| ifconfig.c:1904: error: `IEEE80211_WPA_AKM_PSK' undeclared (first use in 
this function)
| ifconfig.c:1908: error: `IEEE80211_WPA_AKM_IEEE8021X' undeclared (first 
use in this function)
| *** Error code 1
|
| Stop in /usr/src/sbin/ifconfig (line 92 of /usr/share/mk/sys.mk).
|
| 

Reply via email to