RT,linux新手。提示如下:
make
make -C /lib/modules/2.6.31.12-0.2-desktop/build M=/root/Download/ipwraw-ng modules
make[1]: Entering directory `/usr/src/linux-2.6.31.12-0.2-obj/x86_64/desktop'
make -C ../../../linux-2.6.31.12-0.2 O=/usr/src/linux-2.6.31.12-0.2-obj/x86_64/desktop/. modules
CC [M] /root/Download/ipwraw-ng/ipwraw.o
/root/Download/ipwraw-ng/ipwraw.c:43:27: error: net/ieee80211.h: 没有那个文件或目录
系统为SUSE11 X64
请高手指点。
黑色风暴 于 2010-07-19 15:09:13发表:
自己顶下
黑色风暴 于 2010-07-17 10:20:20发表:
谢谢楼上的,现在又出现新的问题一次把 报错全贴上,帮忙看下。
make
make -C /lib/modules/2.6.31.12-0.2-desktop/build M=/root/Download/ipwraw-ng modules
make[1]: Entering directory `/usr/src/linux-2.6.31.12-0.2-obj/x86_64/desktop'
make -C ../../../linux-2.6.31.12-0.2 O=/usr/src/linux-2.6.31.12-0.2-obj/x86_64/desktop/. modules
CC [M] /root/Download/ipwraw-ng/ipwraw.o
In file included from /root/Download/ipwraw-ng/ipwraw.h:51,
from /root/Download/ipwraw-ng/ipwraw.c:48:
/root/Download/ipwraw-ng/iwlwifi_hw.h:525: error: array type has incomplete element type
/root/Download/ipwraw-ng/iwlwifi_hw.h:847: error: array type has incomplete element type
In file included from /root/Download/ipwraw-ng/ipwraw.c:48:
/root/Download/ipwraw-ng/ipwraw.h:531: error: field ‘frame’ has incomplete type
/root/Download/ipwraw-ng/ipwraw.h:532: error: ‘IEEE80211_FRAME_LEN’ undeclared here (not in a function)
/root/Download/ipwraw-ng/ipwraw.c: In function ‘frame_get_hdrlen’:
/root/Download/ipwraw-ng/ipwraw.c:52: error: ‘IEEE80211_3ADDR_LEN’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:52: error: (Each undeclared identifier is reported only once
/root/Download/ipwraw-ng/ipwraw.c:52: error: for each function it appears in.)
/root/Download/ipwraw-ng/ipwraw.c:53: error: implicit declaration of function ‘WLAN_FC_GET_STYPE’
/root/Download/ipwraw-ng/ipwraw.c:55: error: implicit declaration of function ‘WLAN_FC_GET_TYPE’
/root/Download/ipwraw-ng/ipwraw.c:56: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_FROMDS’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_TODS’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:58: error: ‘IEEE80211_4ADDR_LEN’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:59: error: ‘IEEE80211_STYPE_QOS_DATA’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:62: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:64: error: ‘IEEE80211_STYPE_CTS’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:65: error: ‘IEEE80211_STYPE_ACK’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:66: error: ‘IEEE80211_1ADDR_LEN’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:69: error: ‘IEEE80211_2ADDR_LEN’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: In function ‘is_channel_a_band’:
/root/Download/ipwraw-ng/ipwraw.c:1709: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: In function ‘is_channel_bg_band’:
/root/Download/ipwraw-ng/ipwraw.c:1714: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: In function ‘store_channel’:
/root/Download/ipwraw-ng/ipwraw.c:1878: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:1884: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: In function ‘store_band’:
/root/Download/ipwraw-ng/ipwraw.c:1926: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:1927: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_get_channel_info’:
/root/Download/ipwraw-ng/ipwraw.c:3284: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:3294: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: In function ‘reg_get_chnl_grp_index’:
/root/Download/ipwraw-ng/ipwraw.c:3489: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_init_channel_map’:
/root/Download/ipwraw-ng/ipwraw.c:4111: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:4112: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_post_alive_work’:
/root/Download/ipwraw-ng/ipwraw.c:4248: error: ‘IEEE80211_OFDM_DEFAULT_RATES_MASK’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:4249: error: ‘IEEE80211_OFDM_BASIC_RATES_MASK’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:4250: error: ‘IEEE80211_CCK_DEFAULT_RATES_MASK’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:4251: error: ‘IEEE80211_CCK_BASIC_RATES_MASK’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_queue_tx_free_tfd’:
/root/Download/ipwraw-ng/ipwraw.c:5974: error: implicit declaration of function ‘ieee80211_get_hdrlen’
/root/Download/ipwraw-ng/ipwraw.c:5974: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c: In function ‘raw_rx’:
/root/Download/ipwraw-ng/ipwraw.c:6396: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:6406: error: ‘ETH_P_80211_RAW’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: At top level:
/root/Download/ipwraw-ng/ipwraw.c:6416: warning: ‘struct ieee80211_rx_stats’ declared inside parameter list
/root/Download/ipwraw-ng/ipwraw.c:6416: warning: its scope is only this definition or declaration, which is probably not what you want
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_data_packet’:
/root/Download/ipwraw-ng/ipwraw.c:6441: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c: At top level:
/root/Download/ipwraw-ng/ipwraw.c:6456: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
/root/Download/ipwraw-ng/ipwraw.c: In function ‘is_duplicate_packet’:
/root/Download/ipwraw-ng/ipwraw.c:6458: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:6459: error: implicit declaration of function ‘WLAN_GET_SEQ_SEQ’
/root/Download/ipwraw-ng/ipwraw.c:6460: error: implicit declaration of function ‘WLAN_GET_SEQ_FRAG’
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_promiscuous_tx’:
/root/Download/ipwraw-ng/ipwraw.c:6504: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:6504: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6504: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6509: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:6509: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6514: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:6514: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6522: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:6526: error: ‘IEEE80211_RADIOTAP_HDRLEN’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6540: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: At top level:
/root/Download/ipwraw-ng/ipwraw.c:6563: warning: ‘struct ieee80211_rx_stats’ declared inside parameter list
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_promiscuous_rx’:
/root/Download/ipwraw-ng/ipwraw.c:6618: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:6618: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6618: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6623: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:6623: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6628: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:6628: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6646: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_reply_rx’:
/root/Download/ipwraw-ng/ipwraw.c:6852: error: variable ‘stats’ has initializer but incomplete type
/root/Download/ipwraw-ng/ipwraw.c:6853: error: unknown field ‘rssi’ specified in initializer
/root/Download/ipwraw-ng/ipwraw.c:6853: warning: excess elements in struct initializer
/root/Download/ipwraw-ng/ipwraw.c:6853: warning: (near initialization for ‘stats’)
/root/Download/ipwraw-ng/ipwraw.c:6854: error: unknown field ‘signal’ specified in initializer
/root/Download/ipwraw-ng/ipwraw.c:6854: warning: excess elements in struct initializer
/root/Download/ipwraw-ng/ipwraw.c:6854: warning: (near initialization for ‘stats’)
/root/Download/ipwraw-ng/ipwraw.c:6855: error: unknown field ‘noise’ specified in initializer
/root/Download/ipwraw-ng/ipwraw.c:6855: warning: excess elements in struct initializer
/root/Download/ipwraw-ng/ipwraw.c:6855: warning: (near initialization for ‘stats’)
/root/Download/ipwraw-ng/ipwraw.c:6856: error: unknown field ‘mac_time’ specified in initializer
/root/Download/ipwraw-ng/ipwraw.c:6856: warning: excess elements in struct initializer
/root/Download/ipwraw-ng/ipwraw.c:6856: warning: (near initialization for ‘stats’)
/root/Download/ipwraw-ng/ipwraw.c:6857: error: unknown field ‘rate’ specified in initializer
/root/Download/ipwraw-ng/ipwraw.c:6857: warning: excess elements in struct initializer
/root/Download/ipwraw-ng/ipwraw.c:6857: warning: (near initialization for ‘stats’)
/root/Download/ipwraw-ng/ipwraw.c:6858: error: unknown field ‘received_channel’ specified in initializer
/root/Download/ipwraw-ng/ipwraw.c:6858: warning: excess elements in struct initializer
/root/Download/ipwraw-ng/ipwraw.c:6858: warning: (near initialization for ‘stats’)
/root/Download/ipwraw-ng/ipwraw.c:6859: error: unknown field ‘len’ specified in initializer
/root/Download/ipwraw-ng/ipwraw.c:6859: warning: excess elements in struct initializer
/root/Download/ipwraw-ng/ipwraw.c:6859: warning: (near initialization for ‘stats’)
/root/Download/ipwraw-ng/ipwraw.c:6860: error: unknown field ‘freq’ specified in initializer
/root/Download/ipwraw-ng/ipwraw.c:6863: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6863: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6863: warning: excess elements in struct initializer
/root/Download/ipwraw-ng/ipwraw.c:6863: warning: (near initialization for ‘stats’)
/root/Download/ipwraw-ng/ipwraw.c:6864: error: unknown field ‘tsf’ specified in initializer
/root/Download/ipwraw-ng/ipwraw.c:6864: warning: excess elements in struct initializer
/root/Download/ipwraw-ng/ipwraw.c:6864: warning: (near initialization for ‘stats’)
/root/Download/ipwraw-ng/ipwraw.c:6865: error: unknown field ‘beacon_time’ specified in initializer
/root/Download/ipwraw-ng/ipwraw.c:6865: warning: excess elements in struct initializer
/root/Download/ipwraw-ng/ipwraw.c:6865: warning: (near initialization for ‘stats’)
/root/Download/ipwraw-ng/ipwraw.c:6852: error: storage size of ‘stats’ isn’t known
/root/Download/ipwraw-ng/ipwraw.c:6881: error: ‘IEEE80211_STATMASK_RSSI’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6885: error: ‘IEEE80211_STATMASK_SIGNAL’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6887: error: ‘IEEE80211_STATMASK_NOISE’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6889: error: ‘IEEE80211_STATMASK_RATE’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:6852: warning: unused variable ‘stats’
/root/Download/ipwraw-ng/ipwraw.c: At top level:
/root/Download/ipwraw-ng/ipwraw.c:7256: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_build_tx_cmd_rate’:
/root/Download/ipwraw-ng/ipwraw.c:7263: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7264: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7295: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7302: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7303: error: ‘IEEE80211_STYPE_AUTH’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7304: error: ‘IEEE80211_STYPE_DEAUTH’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7305: error: ‘IEEE80211_STYPE_ASSOC_REQ’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7306: error: ‘IEEE80211_STYPE_REASSOC_REQ’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: At top level:
/root/Download/ipwraw-ng/ipwraw.c:7333: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_build_tx_cmd_basic’:
/root/Download/ipwraw-ng/ipwraw.c:7340: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7340: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7341: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7344: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7344: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7345: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7354: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7354: error: ‘IEEE80211_FCTL_MOREFRAGS’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7359: error: ‘IEEE80211_FCS_LEN’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7366: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7366: error: ‘IEEE80211_FCTL_PROTECTED’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7382: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7383: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7384: error: ‘IEEE80211_STYPE_ASSOC_REQ’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7385: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7386: error: ‘IEEE80211_STYPE_REASSOC_REQ’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: In function ‘tx_skb’:
/root/Download/ipwraw-ng/ipwraw.c:7420: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7422: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7423: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7430: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7439: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7491: warning: passing argument 3 of ‘ipw_build_tx_cmd_basic’ from incompatible pointer type
/root/Download/ipwraw-ng/ipwraw.c:7330: note: expected ‘struct ieee80211_hdr_4addr *’ but argument is of type ‘struct ieee80211_hdr_4addr *’
/root/Download/ipwraw-ng/ipwraw.c:7493: warning: passing argument 3 of ‘ipw_build_tx_cmd_rate’ from incompatible pointer type
/root/Download/ipwraw-ng/ipwraw.c:7253: note: expected ‘struct ieee80211_hdr_4addr *’ but argument is of type ‘struct ieee80211_hdr_4addr *’
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_net_hard_start_xmit’:
/root/Download/ipwraw-ng/ipwraw.c:7562: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_hdr_1addr’
/root/Download/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:7582: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7583: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c:7586: error: dereferencing pointer to incomplete type
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_prom_alloc’:
/root/Download/ipwraw-ng/ipwraw.c:8374: error: ‘ARPHRD_IEEE80211_RADIOTAP’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:8375: error: ‘struct net_device’ has no member named ‘open’
/root/Download/ipwraw-ng/ipwraw.c:8376: error: ‘struct net_device’ has no member named ‘stop’
/root/Download/ipwraw-ng/ipwraw.c:8377: error: ‘struct net_device’ has no member named ‘get_stats’
/root/Download/ipwraw-ng/ipwraw.c:8378: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_wx_set_freq’:
/root/Download/ipwraw-ng/ipwraw.c:8517: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:8523: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c: In function ‘ipw_pci_probe’:
/root/Download/ipwraw-ng/ipwraw.c:8800: warning: ‘DMA_nnBIT_MASK’ is deprecated
/root/Download/ipwraw-ng/ipwraw.c:8802: warning: ‘DMA_nnBIT_MASK’ is deprecated
/root/Download/ipwraw-ng/ipwraw.c:8870: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:8872: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/Download/ipwraw-ng/ipwraw.c:8897: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/root/Download/ipwraw-ng/ipwraw.c:8898: error: ‘struct net_device’ has no member named ‘open’
/root/Download/ipwraw-ng/ipwraw.c:8899: error: ‘struct net_device’ has no member named ‘stop’
/root/Download/ipwraw-ng/ipwraw.c:8900: error: ‘struct net_device’ has no member named ‘get_stats’
/root/Download/ipwraw-ng/ipwraw.c:8901: error: ‘struct net_device’ has no member named ‘set_mac_address’
/root/Download/ipwraw-ng/ipwraw.c:8902: error: ‘ARPHRD_IEEE80211’ undeclared (first use in this function)
make[4]: *** [/root/Download/ipwraw-ng/ipwraw.o] 错误 1
make[3]: *** [_module_/root/Download/ipwraw-ng] 错误 2
make[2]: *** [sub-make] 错误 2
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/usr/src/linux-2.6.31.12-0.2-obj/x86_64/desktop'
make: *** [modules] 错误 2
gsm1011 于 2010-07-16 00:23:22发表:
明显是缺少ieee80211.h的头文件,尝试以下找个头文件把它防盗指定的地方试试看。