Compile ipwraw driver στο 9.10 με errors

...κάρτες δικτύου, modems, προβλήματα internet
Κανόνες Δ. Συζήτησης
Για την ευκολότερη επίλυση του προβλήματός σας.
Καλό είναι να δημοσιεύσετε τα αποτελέσματα των εντολών στο τερματικό :
lspci -nn
lsusb
rfkill list

Compile ipwraw driver στο 9.10 με errors

Δημοσίευσηαπό baker » 01 Νοέμ 2009, 05:42

Γειά σας και πάλι μετά από πολύ καιρό... Τόσο καιρό με το 9.04 δεν χρειάστηκε να σας επισκεφτώ :D εχθές όμως έβαλα το 9.10 και αντιμετώπισα ένα ψιλο προβληματάκι...

Με το 9.04 χρησιμοποιούσα χωρίς κανένα προβλημα τον ipwraw-ng driver για το wireless δίκτυο μου σύμφωνα με της παρακάτω οδηγίες

Κώδικας: Επιλογή όλων
sudo apt-get install build-essential
sudo apt-get install libssl-dev
wget http://dl.aircrack-ng.org/drivers/ipwraw-ng-2.3.4-04022008.tar.bz2
tar -xjf ipwraw-ng* (extract the archive file)
cd ipwraw-ng (go to the extracted folder)
make (compile the source files into a binary)
sudo make install (install the driver)
sudo make install_ucode
echo "blacklist ipwraw" | sudo tee /etc/modprobe.d/ipwraw (blacklist the default ipwraw)
sudo depmod -ae (create a dependency file for the modules)
sudo ifconfig wlan0 down (disable the network adapter)
sudo killall NetworkManager
sudo killall avahi-daemon
sudo killall wpa_supplicant
sudo modprobe -r iwl3945 (unload driver that you do not need)
sudo modprobe ipwraw (load the driver that you installed)
sudo ifconfig wifi0 up (enable the network adapter)


το πρόβλημα μου τώρα με το 9.10 είναι ότι δεν μπορώ να κάνω compile τον driver... δεν έχω ιδέα πως λειτουργεί η όλη διαδικασία αν χρειάζεται δηλ και κάτι αλλο, απλά με την εντολή make παίρνω διάφορα errors:
Κώδικας: Επιλογή όλων
baker@unix:~/ipwraw-ng$ make

WARNING: $SHELL not set to bash.
If you experience build errors, try
'make SHELL=/bin/bash'.

make -C /lib/modules/2.6.31-14-generic/build M=/home/baker/ipwraw-ng modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'

WARNING: $SHELL not set to bash.
If you experience build errors, try
'make SHELL=/bin/bash'.

CC [M] /home/baker/ipwraw-ng/ipwraw.o
/home/baker/ipwraw-ng/ipwraw.c:43:27: error: net/ieee80211.h: No such file or directory
In file included from /home/baker/ipwraw-ng/ipwraw.h:51,
from /home/baker/ipwraw-ng/ipwraw.c:48:
/home/baker/ipwraw-ng/iwlwifi_hw.h:525: error: array type has incomplete element type
/home/baker/ipwraw-ng/iwlwifi_hw.h:847: error: array type has incomplete element type
In file included from /home/baker/ipwraw-ng/ipwraw.c:48:
/home/baker/ipwraw-ng/ipwraw.h:531: error: field ‘frame’ has incomplete type
/home/baker/ipwraw-ng/ipwraw.h:532: error: ‘IEEE80211_FRAME_LEN’ undeclared here (not in a function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘frame_get_hdrlen’:
/home/baker/ipwraw-ng/ipwraw.c:52: error: ‘IEEE80211_3ADDR_LEN’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:52: error: (Each undeclared identifier is reported only once
/home/baker/ipwraw-ng/ipwraw.c:52: error: for each function it appears in.)
/home/baker/ipwraw-ng/ipwraw.c:53: error: implicit declaration of function ‘WLAN_FC_GET_STYPE’
/home/baker/ipwraw-ng/ipwraw.c:55: error: implicit declaration of function ‘WLAN_FC_GET_TYPE’
/home/baker/ipwraw-ng/ipwraw.c:56: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_FROMDS’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_TODS’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:58: error: ‘IEEE80211_4ADDR_LEN’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:59: error: ‘IEEE80211_STYPE_QOS_DATA’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:62: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:64: error: ‘IEEE80211_STYPE_CTS’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:65: error: ‘IEEE80211_STYPE_ACK’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:66: error: ‘IEEE80211_1ADDR_LEN’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:69: error: ‘IEEE80211_2ADDR_LEN’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘is_channel_a_band’:
/home/baker/ipwraw-ng/ipwraw.c:1709: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘is_channel_bg_band’:
/home/baker/ipwraw-ng/ipwraw.c:1714: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘store_channel’:
/home/baker/ipwraw-ng/ipwraw.c:1878: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:1884: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘store_band’:
/home/baker/ipwraw-ng/ipwraw.c:1926: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:1927: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_get_channel_info’:
/home/baker/ipwraw-ng/ipwraw.c:3284: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:3294: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘reg_get_chnl_grp_index’:
/home/baker/ipwraw-ng/ipwraw.c:3489: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_init_channel_map’:
/home/baker/ipwraw-ng/ipwraw.c:4111: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:4112: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_post_alive_work’:
/home/baker/ipwraw-ng/ipwraw.c:4248: error: ‘IEEE80211_OFDM_DEFAULT_RATES_MASK’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:4249: error: ‘IEEE80211_OFDM_BASIC_RATES_MASK’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:4250: error: ‘IEEE80211_CCK_DEFAULT_RATES_MASK’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:4251: error: ‘IEEE80211_CCK_BASIC_RATES_MASK’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_queue_tx_free_tfd’:
/home/baker/ipwraw-ng/ipwraw.c:5974: error: implicit declaration of function ‘ieee80211_get_hdrlen’
/home/baker/ipwraw-ng/ipwraw.c:5974: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c: In function ‘raw_rx’:
/home/baker/ipwraw-ng/ipwraw.c:6396: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6406: error: ‘ETH_P_80211_RAW’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: At top level:
/home/baker/ipwraw-ng/ipwraw.c:6416: warning: ‘struct ieee80211_rx_stats’ declared inside parameter list
/home/baker/ipwraw-ng/ipwraw.c:6416: warning: its scope is only this definition or declaration, which is probably not what you want
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_data_packet’:
/home/baker/ipwraw-ng/ipwraw.c:6441: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c: At top level:
/home/baker/ipwraw-ng/ipwraw.c:6456: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
/home/baker/ipwraw-ng/ipwraw.c: In function ‘is_duplicate_packet’:
/home/baker/ipwraw-ng/ipwraw.c:6458: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6459: error: implicit declaration of function ‘WLAN_GET_SEQ_SEQ’
/home/baker/ipwraw-ng/ipwraw.c:6460: error: implicit declaration of function ‘WLAN_GET_SEQ_FRAG’
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_promiscuous_tx’:
/home/baker/ipwraw-ng/ipwraw.c:6504: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6504: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6504: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6509: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6509: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6514: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6514: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6522: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6526: error: ‘IEEE80211_RADIOTAP_HDRLEN’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6540: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: At top level:
/home/baker/ipwraw-ng/ipwraw.c:6563: warning: ‘struct ieee80211_rx_stats’ declared inside parameter list
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_promiscuous_rx’:
/home/baker/ipwraw-ng/ipwraw.c:6618: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6618: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6618: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6623: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6623: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6628: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6628: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6646: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_reply_rx’:
/home/baker/ipwraw-ng/ipwraw.c:6852: error: variable ‘stats’ has initializer but incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6853: error: unknown field ‘rssi’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6853: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6853: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6854: error: unknown field ‘signal’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6854: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6854: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6855: error: unknown field ‘noise’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6855: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6855: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6856: error: unknown field ‘mac_time’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6856: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6856: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6857: error: unknown field ‘rate’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6857: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6857: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6858: error: unknown field ‘received_channel’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6858: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6858: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6859: error: unknown field ‘len’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6859: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6859: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6860: error: unknown field ‘freq’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6863: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6863: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6863: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6863: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6864: error: unknown field ‘tsf’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6864: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6864: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6865: error: unknown field ‘beacon_time’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6865: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6865: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6852: error: storage size of ‘stats’ isn’t known
/home/baker/ipwraw-ng/ipwraw.c:6881: error: ‘IEEE80211_STATMASK_RSSI’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6885: error: ‘IEEE80211_STATMASK_SIGNAL’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6887: error: ‘IEEE80211_STATMASK_NOISE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6889: error: ‘IEEE80211_STATMASK_RATE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6852: warning: unused variable ‘stats’
/home/baker/ipwraw-ng/ipwraw.c: At top level:
/home/baker/ipwraw-ng/ipwraw.c:7256: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_build_tx_cmd_rate’:
/home/baker/ipwraw-ng/ipwraw.c:7263: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7264: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7295: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7302: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7303: error: ‘IEEE80211_STYPE_AUTH’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7304: error: ‘IEEE80211_STYPE_DEAUTH’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7305: error: ‘IEEE80211_STYPE_ASSOC_REQ’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7306: error: ‘IEEE80211_STYPE_REASSOC_REQ’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: At top level:
/home/baker/ipwraw-ng/ipwraw.c:7333: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_build_tx_cmd_basic’:
/home/baker/ipwraw-ng/ipwraw.c:7340: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7340: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7341: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7344: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7344: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7345: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7354: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7354: error: ‘IEEE80211_FCTL_MOREFRAGS’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7359: error: ‘IEEE80211_FCS_LEN’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7366: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7366: error: ‘IEEE80211_FCTL_PROTECTED’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7382: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7383: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7384: error: ‘IEEE80211_STYPE_ASSOC_REQ’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7385: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7386: error: ‘IEEE80211_STYPE_REASSOC_REQ’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘tx_skb’:
/home/baker/ipwraw-ng/ipwraw.c:7420: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7422: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7423: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7430: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7439: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7491: warning: passing argument 3 of ‘ipw_build_tx_cmd_basic’ from incompatible pointer type
/home/baker/ipwraw-ng/ipwraw.c:7330: note: expected ‘struct ieee80211_hdr_4addr *’ but argument is of type ‘struct ieee80211_hdr_4addr *’
/home/baker/ipwraw-ng/ipwraw.c:7493: warning: passing argument 3 of ‘ipw_build_tx_cmd_rate’ from incompatible pointer type
/home/baker/ipwraw-ng/ipwraw.c:7253: note: expected ‘struct ieee80211_hdr_4addr *’ but argument is of type ‘struct ieee80211_hdr_4addr *’
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_net_hard_start_xmit’:
/home/baker/ipwraw-ng/ipwraw.c:7562: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_hdr_1addr’
/home/baker/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7582: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7583: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7586: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_prom_alloc’:
/home/baker/ipwraw-ng/ipwraw.c:8374: error: ‘ARPHRD_IEEE80211_RADIOTAP’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:8375: error: ‘struct net_device’ has no member named ‘open’
/home/baker/ipwraw-ng/ipwraw.c:8376: error: ‘struct net_device’ has no member named ‘stop’
/home/baker/ipwraw-ng/ipwraw.c:8377: error: ‘struct net_device’ has no member named ‘get_stats’
/home/baker/ipwraw-ng/ipwraw.c:8378: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_wx_set_freq’:
/home/baker/ipwraw-ng/ipwraw.c:8517: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:8523: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_pci_probe’:
/home/baker/ipwraw-ng/ipwraw.c:8870: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:8872: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:8897: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/baker/ipwraw-ng/ipwraw.c:8898: error: ‘struct net_device’ has no member named ‘open’
/home/baker/ipwraw-ng/ipwraw.c:8899: error: ‘struct net_device’ has no member named ‘stop’
/home/baker/ipwraw-ng/ipwraw.c:8900: error: ‘struct net_device’ has no member named ‘get_stats’
/home/baker/ipwraw-ng/ipwraw.c:8901: error: ‘struct net_device’ has no member named ‘set_mac_address’
/home/baker/ipwraw-ng/ipwraw.c:8902: error: ‘ARPHRD_IEEE80211’ undeclared (first use in this function)
make[2]: *** [/home/baker/ipwraw-ng/ipwraw.o] Error 1
make[1]: *** [_module_/home/baker/ipwraw-ng] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [modules] Error 2
baker@unix:~/ipwraw-ng$


Αυτό σημαίνει οτί απλά δεν γίνεται να κάνω compile τον συγκεκριμένο driver με τον τρέχων kernel;
Χρειάζεται να κάνω κάτι άλλο πριν για να γίνει σωστά;
Γνώσεις ⇛ Linux: Χαμηλό │ Προγραμματισμός: Όχι │ Αγγλικά: Καλά
Λειτουργικό ⇛ Dualboot Ubuntu 9.10 & Windows XP SP3 σε Acer Aspire 5920G
Προδιαγραφές ⇛ 2x T5550 @ 1.83GHz │ 3GB DDR2 │ GeForce 8600M GS │ Intel 3945ABG │ HDA Intel │ 15,4" WXGA
Άβαταρ μέλους
baker
babeTUX
babeTUX
 
Δημοσιεύσεις: 123
Εγγραφή: 15 Μάιος 2009, 14:48
IRC: baker_GR
Εκτύπωση

Re: Compile ipwraw driver στο 9.10 με errors

Δημοσίευσηαπό pros » 01 Νοέμ 2009, 08:47

Γιατί δεν δοκιμάζεις αυτό που προτείνει το μήνυμα σφάλματος;
έγραψε:WARNING: $SHELL not set to bash.
If you experience build errors, try
'make SHELL=/bin/bash'.
10.04 / 12.04 64bit
Άβαταρ μέλους
pros
Συντονιστής
Συντονιστής
 
Δημοσιεύσεις: 3534
Εγγραφή: 28 Ιαν 2009, 22:28
IRC: sterios
Εκτύπωση

Re: Compile ipwraw driver στο 9.10 με errors

Δημοσίευσηαπό logari81 » 01 Νοέμ 2009, 12:49

Το μεταφέρω στην ενότητα για καρτες δικτύου

http://opensourceecology.org/


Λειτουργικό: Ubuntu 10.04 lucid 64-bitΠροδιαγραφές: 4x Intel Core i5 CPU M 450 2.40GHz ‖ RAM 3696 MiB ‖ Lenovo KL3 - LENOVO IdeaPad Y560
Κάρτα γραφικών: ATI Device [1002:68c0]Ασύρματο: wlan0: Atheros Inc. AR928X Wireless Network Adapter (PCI-Express) [168c:002a] (rev 01)
logari81
Επίτιμο μέλος
Επίτιμο μέλος
 
Δημοσιεύσεις: 6074
Εγγραφή: 14 Μάιος 2008, 10:40
Εκτύπωση

Re: Compile ipwraw driver στο 9.10 με errors

Δημοσίευσηαπό baker » 01 Νοέμ 2009, 21:04

pros έγραψε:Γιατί δεν δοκιμάζεις αυτό που προτείνει το μήνυμα σφάλματος;

Κώδικας: Επιλογή όλων
baker@unix:~/ipwraw-ng$ make SHELL=/bin/bash
make -C /lib/modules/2.6.31-14-generic/build M=/home/baker/ipwraw-ng modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
CC [M] /home/baker/ipwraw-ng/ipwraw.o
/home/baker/ipwraw-ng/ipwraw.c:43:27: error: net/ieee80211.h: No such file or directory
In file included from /home/baker/ipwraw-ng/ipwraw.h:51,
from /home/baker/ipwraw-ng/ipwraw.c:48:
/home/baker/ipwraw-ng/iwlwifi_hw.h:525: error: array type has incomplete element type
/home/baker/ipwraw-ng/iwlwifi_hw.h:847: error: array type has incomplete element type
In file included from /home/baker/ipwraw-ng/ipwraw.c:48:
/home/baker/ipwraw-ng/ipwraw.h:531: error: field ‘frame’ has incomplete type
/home/baker/ipwraw-ng/ipwraw.h:532: error: ‘IEEE80211_FRAME_LEN’ undeclared here (not in a function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘frame_get_hdrlen’:
/home/baker/ipwraw-ng/ipwraw.c:52: error: ‘IEEE80211_3ADDR_LEN’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:52: error: (Each undeclared identifier is reported only once
/home/baker/ipwraw-ng/ipwraw.c:52: error: for each function it appears in.)
/home/baker/ipwraw-ng/ipwraw.c:53: error: implicit declaration of function ‘WLAN_FC_GET_STYPE’
/home/baker/ipwraw-ng/ipwraw.c:55: error: implicit declaration of function ‘WLAN_FC_GET_TYPE’
/home/baker/ipwraw-ng/ipwraw.c:56: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_FROMDS’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_TODS’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:58: error: ‘IEEE80211_4ADDR_LEN’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:59: error: ‘IEEE80211_STYPE_QOS_DATA’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:62: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:64: error: ‘IEEE80211_STYPE_CTS’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:65: error: ‘IEEE80211_STYPE_ACK’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:66: error: ‘IEEE80211_1ADDR_LEN’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:69: error: ‘IEEE80211_2ADDR_LEN’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘is_channel_a_band’:
/home/baker/ipwraw-ng/ipwraw.c:1709: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘is_channel_bg_band’:
/home/baker/ipwraw-ng/ipwraw.c:1714: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘store_channel’:
/home/baker/ipwraw-ng/ipwraw.c:1878: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:1884: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘store_band’:
/home/baker/ipwraw-ng/ipwraw.c:1926: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:1927: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_get_channel_info’:
/home/baker/ipwraw-ng/ipwraw.c:3284: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:3294: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘reg_get_chnl_grp_index’:
/home/baker/ipwraw-ng/ipwraw.c:3489: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_init_channel_map’:
/home/baker/ipwraw-ng/ipwraw.c:4111: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:4112: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_post_alive_work’:
/home/baker/ipwraw-ng/ipwraw.c:4248: error: ‘IEEE80211_OFDM_DEFAULT_RATES_MASK’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:4249: error: ‘IEEE80211_OFDM_BASIC_RATES_MASK’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:4250: error: ‘IEEE80211_CCK_DEFAULT_RATES_MASK’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:4251: error: ‘IEEE80211_CCK_BASIC_RATES_MASK’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_queue_tx_free_tfd’:
/home/baker/ipwraw-ng/ipwraw.c:5974: error: implicit declaration of function ‘ieee80211_get_hdrlen’
/home/baker/ipwraw-ng/ipwraw.c:5974: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c: In function ‘raw_rx’:
/home/baker/ipwraw-ng/ipwraw.c:6396: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6406: error: ‘ETH_P_80211_RAW’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: At top level:
/home/baker/ipwraw-ng/ipwraw.c:6416: warning: ‘struct ieee80211_rx_stats’ declared inside parameter list
/home/baker/ipwraw-ng/ipwraw.c:6416: warning: its scope is only this definition or declaration, which is probably not what you want
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_data_packet’:
/home/baker/ipwraw-ng/ipwraw.c:6441: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c: At top level:
/home/baker/ipwraw-ng/ipwraw.c:6456: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
/home/baker/ipwraw-ng/ipwraw.c: In function ‘is_duplicate_packet’:
/home/baker/ipwraw-ng/ipwraw.c:6458: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6459: error: implicit declaration of function ‘WLAN_GET_SEQ_SEQ’
/home/baker/ipwraw-ng/ipwraw.c:6460: error: implicit declaration of function ‘WLAN_GET_SEQ_FRAG’
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_promiscuous_tx’:
/home/baker/ipwraw-ng/ipwraw.c:6504: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6504: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6504: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6509: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6509: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6514: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6514: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6522: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6526: error: ‘IEEE80211_RADIOTAP_HDRLEN’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6540: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: At top level:
/home/baker/ipwraw-ng/ipwraw.c:6563: warning: ‘struct ieee80211_rx_stats’ declared inside parameter list
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_promiscuous_rx’:
/home/baker/ipwraw-ng/ipwraw.c:6618: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6618: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6618: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6623: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6623: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6628: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6628: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6646: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_reply_rx’:
/home/baker/ipwraw-ng/ipwraw.c:6852: error: variable ‘stats’ has initializer but incomplete type
/home/baker/ipwraw-ng/ipwraw.c:6853: error: unknown field ‘rssi’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6853: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6853: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6854: error: unknown field ‘signal’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6854: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6854: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6855: error: unknown field ‘noise’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6855: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6855: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6856: error: unknown field ‘mac_time’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6856: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6856: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6857: error: unknown field ‘rate’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6857: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6857: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6858: error: unknown field ‘received_channel’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6858: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6858: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6859: error: unknown field ‘len’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6859: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6859: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6860: error: unknown field ‘freq’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6863: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6863: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6863: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6863: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6864: error: unknown field ‘tsf’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6864: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6864: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6865: error: unknown field ‘beacon_time’ specified in initializer
/home/baker/ipwraw-ng/ipwraw.c:6865: warning: excess elements in struct initializer
/home/baker/ipwraw-ng/ipwraw.c:6865: warning: (near initialization for ‘stats’)
/home/baker/ipwraw-ng/ipwraw.c:6852: error: storage size of ‘stats’ isn’t known
/home/baker/ipwraw-ng/ipwraw.c:6881: error: ‘IEEE80211_STATMASK_RSSI’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6885: error: ‘IEEE80211_STATMASK_SIGNAL’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6887: error: ‘IEEE80211_STATMASK_NOISE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6889: error: ‘IEEE80211_STATMASK_RATE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:6852: warning: unused variable ‘stats’
/home/baker/ipwraw-ng/ipwraw.c: At top level:
/home/baker/ipwraw-ng/ipwraw.c:7256: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_build_tx_cmd_rate’:
/home/baker/ipwraw-ng/ipwraw.c:7263: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7264: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7295: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7302: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7303: error: ‘IEEE80211_STYPE_AUTH’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7304: error: ‘IEEE80211_STYPE_DEAUTH’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7305: error: ‘IEEE80211_STYPE_ASSOC_REQ’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7306: error: ‘IEEE80211_STYPE_REASSOC_REQ’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: At top level:
/home/baker/ipwraw-ng/ipwraw.c:7333: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_build_tx_cmd_basic’:
/home/baker/ipwraw-ng/ipwraw.c:7340: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7340: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7341: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7344: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7344: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7345: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7354: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7354: error: ‘IEEE80211_FCTL_MOREFRAGS’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7359: error: ‘IEEE80211_FCS_LEN’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7366: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7366: error: ‘IEEE80211_FCTL_PROTECTED’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7382: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7383: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7384: error: ‘IEEE80211_STYPE_ASSOC_REQ’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7385: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7386: error: ‘IEEE80211_STYPE_REASSOC_REQ’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘tx_skb’:
/home/baker/ipwraw-ng/ipwraw.c:7420: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7422: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7423: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7430: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7439: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7491: warning: passing argument 3 of ‘ipw_build_tx_cmd_basic’ from incompatible pointer type
/home/baker/ipwraw-ng/ipwraw.c:7330: note: expected ‘struct ieee80211_hdr_4addr *’ but argument is of type ‘struct ieee80211_hdr_4addr *’
/home/baker/ipwraw-ng/ipwraw.c:7493: warning: passing argument 3 of ‘ipw_build_tx_cmd_rate’ from incompatible pointer type
/home/baker/ipwraw-ng/ipwraw.c:7253: note: expected ‘struct ieee80211_hdr_4addr *’ but argument is of type ‘struct ieee80211_hdr_4addr *’
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_net_hard_start_xmit’:
/home/baker/ipwraw-ng/ipwraw.c:7562: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_hdr_1addr’
/home/baker/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:7582: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7583: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c:7586: error: dereferencing pointer to incomplete type
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_prom_alloc’:
/home/baker/ipwraw-ng/ipwraw.c:8374: error: ‘ARPHRD_IEEE80211_RADIOTAP’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:8375: error: ‘struct net_device’ has no member named ‘open’
/home/baker/ipwraw-ng/ipwraw.c:8376: error: ‘struct net_device’ has no member named ‘stop’
/home/baker/ipwraw-ng/ipwraw.c:8377: error: ‘struct net_device’ has no member named ‘get_stats’
/home/baker/ipwraw-ng/ipwraw.c:8378: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_wx_set_freq’:
/home/baker/ipwraw-ng/ipwraw.c:8517: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:8523: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c: In function ‘ipw_pci_probe’:
/home/baker/ipwraw-ng/ipwraw.c:8870: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:8872: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/home/baker/ipwraw-ng/ipwraw.c:8897: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/baker/ipwraw-ng/ipwraw.c:8898: error: ‘struct net_device’ has no member named ‘open’
/home/baker/ipwraw-ng/ipwraw.c:8899: error: ‘struct net_device’ has no member named ‘stop’
/home/baker/ipwraw-ng/ipwraw.c:8900: error: ‘struct net_device’ has no member named ‘get_stats’
/home/baker/ipwraw-ng/ipwraw.c:8901: error: ‘struct net_device’ has no member named ‘set_mac_address’
/home/baker/ipwraw-ng/ipwraw.c:8902: error: ‘ARPHRD_IEEE80211’ undeclared (first use in this function)
make[2]: *** [/home/baker/ipwraw-ng/ipwraw.o] Error 1
make[1]: *** [_module_/home/baker/ipwraw-ng] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [modules] Error 2
Γνώσεις ⇛ Linux: Χαμηλό │ Προγραμματισμός: Όχι │ Αγγλικά: Καλά
Λειτουργικό ⇛ Dualboot Ubuntu 9.10 & Windows XP SP3 σε Acer Aspire 5920G
Προδιαγραφές ⇛ 2x T5550 @ 1.83GHz │ 3GB DDR2 │ GeForce 8600M GS │ Intel 3945ABG │ HDA Intel │ 15,4" WXGA
Άβαταρ μέλους
baker
babeTUX
babeTUX
 
Δημοσιεύσεις: 123
Εγγραφή: 15 Μάιος 2009, 14:48
IRC: baker_GR
Εκτύπωση


  • ΣΧΕΤΙΚΑ ΘΕΜΑΤΑ
    ΑΠΑΝΤΗΣΕΙΣ
    ΠΡΟΒΟΛΕΣ
    ΣΥΓΓΡΑΦΕΑΣ

Επιστροφή στο Κάρτες Δικτύου (Ethernet, WiFi, Bluetooth) / Internet

cron