hey, i get some error when i try to install ipwraw driver
i follow this tutorial:
hxxp://aircrack-ng.org/doku.php?id=ipw3945&DokuWiki=fb9bdd44074999cc911a4 ec5f1bc5341

(change it to "http")

this is the error massage:
[CODE]root@bt:~# cd ipwraw-ng
root@bt:~/ipwraw-ng# make
make -C /lib/modules/2.6.30.9/build M=/root/ipwraw-ng modules
make[1]: Entering directory `/usr/src/linux-source-2.6.30.9'

WARNING: Symbol version dump /usr/src/linux-source-2.6.30.9/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /root/ipwraw-ng/ipwraw.o
/root/ipwraw-ng/ipwraw.c:43:27: error: net/ieee80211.h: No such file or director
y
In file included from /root/ipwraw-ng/ipwraw.h:51,
from /root/ipwraw-ng/ipwraw.c:48:
/root/ipwraw-ng/iwlwifi_hw.h:525: error: array type has incomplete element type
/root/ipwraw-ng/iwlwifi_hw.h:847: error: array type has incomplete element type
In file included from /root/ipwraw-ng/ipwraw.c:48:
/root/ipwraw-ng/ipwraw.h:531: error: field ‘frame’ has incomplete type
/root/ipwraw-ng/ipwraw.h:532: error: ‘IEEE80211_FRAME_LEN’ undeclared here (not
in a function)
/root/ipwraw-ng/ipwraw.c: In function ‘frame_get_hdrlen’:
/root/ipwraw-ng/ipwraw.c:52: error: ‘IEEE80211_3ADDR_LEN’ undeclared (first use
in this function)
/root/ipwraw-ng/ipwraw.c:52: error: (Each undeclared identifier is reported only
once
/root/ipwraw-ng/ipwraw.c:52: error: for each function it appears in.)
/root/ipwraw-ng/ipwraw.c:53: error: implicit declaration of function ‘WLAN_FC_GE
T_STYPE’
/root/ipwraw-ng/ipwraw.c:55: error: implicit declaration of function ‘WLAN_FC_GE
T_TYPE’
/root/ipwraw-ng/ipwraw.c:56: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use
in this function)
/root/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_FROMDS’ undeclared (first us
e in this function)
/root/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_TODS’ undeclared (first use
in this function)
/root/ipwraw-ng/ipwraw.c:58: error: ‘IEEE80211_4ADDR_LEN’ undeclared (first use
in this function)
/root/ipwraw-ng/ipwraw.c:59: error: ‘IEEE80211_STYPE_QOS_DATA’ undeclared (first
use in this function)
/root/ipwraw-ng/ipwraw.c:62: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use
in this function)
/root/ipwraw-ng/ipwraw.c:64: error: ‘IEEE80211_STYPE_CTS’ undeclared (first use
in this function)
/root/ipwraw-ng/ipwraw.c:65: error: ‘IEEE80211_STYPE_ACK’ undeclared (first use
in this function)
/root/ipwraw-ng/ipwraw.c:66: error: ‘IEEE80211_1ADDR_LEN’ undeclared (first use
in this function)
/root/ipwraw-ng/ipwraw.c:69: error: ‘IEEE80211_2ADDR_LEN’ undeclared (first use
in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘is_channel_a_band’:
/root/ipwraw-ng/ipwraw.c:1709: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘is_channel_bg_band’:
/root/ipwraw-ng/ipwraw.c:1714: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘store_channel’:
/root/ipwraw-ng/ipwraw.c:1878: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c:1884: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘store_band’:
/root/ipwraw-ng/ipwraw.c:1926: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c:1927: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_get_channel_info’:
/root/ipwraw-ng/ipwraw.c:3284: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c:3294: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘reg_get_chnl_grp_index’:
/root/ipwraw-ng/ipwraw.c:3489: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_init_channel_map’:
/root/ipwraw-ng/ipwraw.c:4111: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c:4112: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_post_alive_work’:
/root/ipwraw-ng/ipwraw.c:4248: error: ‘IEEE80211_OFDM_DEFAULT_RATES_MASK’ undecl
ared (first use in this function)
/root/ipwraw-ng/ipwraw.c:4249: error: ‘IEEE80211_OFDM_BASIC_RATES_MASK’ undeclar
ed (first use in this function)
/root/ipwraw-ng/ipwraw.c:4250: error: ‘IEEE80211_CCK_DEFAULT_RATES_MASK’ undecla
red (first use in this function)
/root/ipwraw-ng/ipwraw.c:4251: error: ‘IEEE80211_CCK_BASIC_RATES_MASK’ undeclare
d (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_queue_tx_free_tfd’:
/root/ipwraw-ng/ipwraw.c:5974: error: implicit declaration of function ‘ieee8021
1_get_hdrlen’
/root/ipwraw-ng/ipwraw.c:5974: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c: In function ‘raw_rx’:
/root/ipwraw-ng/ipwraw.c:6396: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6406: error: ‘ETH_P_80211_RAW’ undeclared (first use in
this function)
/root/ipwraw-ng/ipwraw.c: At top level:
/root/ipwraw-ng/ipwraw.c:6416: warning: ‘struct ieee80211_rx_stats’ declared ins
ide parameter list
/root/ipwraw-ng/ipwraw.c:6416: warning: its scope is only this definition or dec
laration, which is probably not what you want
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_data_packet’:
/root/ipwraw-ng/ipwraw.c:6441: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c: At top level:
/root/ipwraw-ng/ipwraw.c:6456: warning: ‘struct ieee80211_hdr_4addr’ declared in
side parameter list
/root/ipwraw-ng/ipwraw.c: In function ‘is_duplicate_packet’:
/root/ipwraw-ng/ipwraw.c:6458: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6459: error: implicit declaration of function ‘WLAN_GET
_SEQ_SEQ’
/root/ipwraw-ng/ipwraw.c:6460: error: implicit declaration of function ‘WLAN_GET
_SEQ_FRAG’
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_promiscuous_tx’:
/root/ipwraw-ng/ipwraw.c:6504: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6504: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c:6504: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c:6509: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6509: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first us
e in this function)
/root/ipwraw-ng/ipwraw.c:6514: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6514: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c:6522: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6526: error: ‘IEEE80211_RADIOTAP_HDRLEN’ undeclared (fi
rst use in this function)
/root/ipwraw-ng/ipwraw.c:6540: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c: At top level:
/root/ipwraw-ng/ipwraw.c:6563: warning: ‘struct ieee80211_rx_stats’ declared ins
ide parameter list
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_promiscuous_rx’:
/root/ipwraw-ng/ipwraw.c:6618: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6618: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c:6618: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c:6623: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6623: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first us
e in this function)
/root/ipwraw-ng/ipwraw.c:6628: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6628: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first u
se in this function)
/root/ipwraw-ng/ipwraw.c:6646: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_reply_rx’:
/root/ipwraw-ng/ipwraw.c:6852: error: variable ‘stats’ has initializer but incom
plete type
/root/ipwraw-ng/ipwraw.c:6853: error: unknown field ‘rssi’ specified in initiali
zer
/root/ipwraw-ng/ipwraw.c:6853: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6853: warning: (near initialization for ‘stats’)
/root/ipwraw-ng/ipwraw.c:6854: error: unknown field ‘signal’ specified in initia
lizer
/root/ipwraw-ng/ipwraw.c:6854: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6854: warning: (near initialization for ‘stats’)
/root/ipwraw-ng/ipwraw.c:6855: error: unknown field ‘noise’ specified in initial
izer
/root/ipwraw-ng/ipwraw.c:6855: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6855: warning: (near initialization for ‘stats’)
/root/ipwraw-ng/ipwraw.c:6856: error: unknown field ‘mac_time’ specified in init
ializer
/root/ipwraw-ng/ipwraw.c:6856: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6856: warning: (near initialization for ‘stats’)
/root/ipwraw-ng/ipwraw.c:6857: error: unknown field ‘rate’ specified in initiali
zer