Instalacja sterownikow Intel 3945 (alternative drivers)


(Kamilmlody5) #1

Witam.

Krotko. Dystrybucja Ubuntu. Co robie nie tak?:

root@bt:~/ipwraw-ng# make && make install

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 directory

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:461: error: field 'stats' has incomplete type

/root/ipwraw-ng/ipwraw.h:462: error: array type has incomplete element type

/root/ipwraw-ng/ipwraw.h:519: error: field 'frame' has incomplete type

/root/ipwraw-ng/ipwraw.h:520: 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_GET_STYPE'

/root/ipwraw-ng/ipwraw.c:55: error: implicit declaration of function 'WLAN_FC_GET_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 use 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 'store_bssid':

/root/ipwraw-ng/ipwraw.c:1500: error: implicit declaration of function 'MAC_ARG'

/root/ipwraw-ng/ipwraw.c:1500: warning: too few arguments for format

/root/ipwraw-ng/ipwraw.c:1506: warning: too few arguments for format

/root/ipwraw-ng/ipwraw.c: In function 'show_bssid':

/root/ipwraw-ng/ipwraw.c:1516: warning: too few arguments for format

/root/ipwraw-ng/ipwraw.c: In function 'is_channel_a_band':

/root/ipwraw-ng/ipwraw.c:1701: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'is_channel_bg_band':

/root/ipwraw-ng/ipwraw.c:1706: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'store_channel':

/root/ipwraw-ng/ipwraw.c:1870: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:1876: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'store_band':

/root/ipwraw-ng/ipwraw.c:1918: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:1919: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_print_rx_config':

/root/ipwraw-ng/ipwraw.c:2565: warning: too few arguments for format

/root/ipwraw-ng/ipwraw.c:2567: warning: too few arguments for format

/root/ipwraw-ng/ipwraw.c: In function 'ipw_get_channel_info':

/root/ipwraw-ng/ipwraw.c:3281: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:3291: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'reg_get_chnl_grp_index':

/root/ipwraw-ng/ipwraw.c:3488: error: 'IEEE80211_52GHZ_BAND' undeclared (first use 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 use in this function)

/root/ipwraw-ng/ipwraw.c:4112: error: 'IEEE80211_52GHZ_BAND' undeclared (first use 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' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:4249: error: 'IEEE80211_OFDM_BASIC_RATES_MASK' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:4250: error: 'IEEE80211_CCK_DEFAULT_RATES_MASK' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:4251: error: 'IEEE80211_CCK_BASIC_RATES_MASK' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_queue_tx_free_tfd':

/root/ipwraw-ng/ipwraw.c:5975: error: implicit declaration of function 'ieee80211_get_hdrlen'

/root/ipwraw-ng/ipwraw.c:5975: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c: In function 'raw_rx':

/root/ipwraw-ng/ipwraw.c:6395: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:6405: error: 'ETH_P_80211_RAW' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_handle_data_packet':

/root/ipwraw-ng/ipwraw.c:6440: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c: At top level:

/root/ipwraw-ng/ipwraw.c:6455: warning: 'struct ieee80211_hdr_4addr' declared inside parameter list

/root/ipwraw-ng/ipwraw.c:6455: warning: its scope is only this definition or declaration, which is probably not what you want

/root/ipwraw-ng/ipwraw.c: In function 'is_duplicate_packet':

/root/ipwraw-ng/ipwraw.c:6457: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:6458: error: implicit declaration of function 'WLAN_GET_SEQ_SEQ'

/root/ipwraw-ng/ipwraw.c:6459: 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:6503: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:6503: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6503: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6508: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:6508: error: 'IEEE80211_FTYPE_CTL' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6513: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:6513: error: 'IEEE80211_FTYPE_DATA' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6521: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:6525: error: 'IEEE80211_RADIOTAP_HDRLEN' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6539: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_handle_promiscuous_rx':

/root/ipwraw-ng/ipwraw.c:6617: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:6617: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6617: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6622: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:6622: error: 'IEEE80211_FTYPE_CTL' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6627: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:6627: error: 'IEEE80211_FTYPE_DATA' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6645: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c: In function 'ipw_handle_reply_rx':

/root/ipwraw-ng/ipwraw.c:6841: error: variable 'stats' has initializer but incomplete type

/root/ipwraw-ng/ipwraw.c:6842: error: unknown field 'rssi' specified in initializer

/root/ipwraw-ng/ipwraw.c:6842: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6842: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6843: error: unknown field 'signal' specified in initializer

/root/ipwraw-ng/ipwraw.c:6843: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6843: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6844: error: unknown field 'noise' specified in initializer

/root/ipwraw-ng/ipwraw.c:6844: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6844: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6845: error: unknown field 'mac_time' specified in initializer

/root/ipwraw-ng/ipwraw.c:6845: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6845: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6846: error: unknown field 'rate' specified in initializer

/root/ipwraw-ng/ipwraw.c:6846: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6846: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6847: error: unknown field 'received_channel' specified in initializer

/root/ipwraw-ng/ipwraw.c:6847: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6847: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6848: error: unknown field 'len' specified in initializer

/root/ipwraw-ng/ipwraw.c:6848: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6848: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6849: error: unknown field 'freq' specified in initializer

/root/ipwraw-ng/ipwraw.c:6852: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6852: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6852: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6852: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6853: error: unknown field 'tsf' specified in initializer

/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 'beacon_time' specified in initializer

/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:6841: error: storage size of 'stats' isn't known

/root/ipwraw-ng/ipwraw.c:6870: error: 'IEEE80211_STATMASK_RSSI' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6874: error: 'IEEE80211_STATMASK_SIGNAL' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6876: error: 'IEEE80211_STATMASK_NOISE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6878: error: 'IEEE80211_STATMASK_RATE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6841: warning: unused variable 'stats'

/root/ipwraw-ng/ipwraw.c: At top level:

/root/ipwraw-ng/ipwraw.c:7242: warning: 'struct ieee80211_hdr_4addr' declared inside parameter list

/root/ipwraw-ng/ipwraw.c: In function 'ipw_build_tx_cmd_rate':

/root/ipwraw-ng/ipwraw.c:7249: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7250: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7272: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7272: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7272: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7272: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7272: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7272: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7281: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7288: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7289: error: 'IEEE80211_STYPE_AUTH' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7290: error: 'IEEE80211_STYPE_DEAUTH' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7291: error: 'IEEE80211_STYPE_ASSOC_REQ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7292: error: 'IEEE80211_STYPE_REASSOC_REQ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: At top level:

/root/ipwraw-ng/ipwraw.c:7319: warning: 'struct ieee80211_hdr_4addr' declared inside parameter list

/root/ipwraw-ng/ipwraw.c: In function 'ipw_build_tx_cmd_basic':

/root/ipwraw-ng/ipwraw.c:7326: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7326: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7327: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7330: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7330: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7330: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7330: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7331: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7340: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7340: error: 'IEEE80211_FCTL_MOREFRAGS' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7345: error: 'IEEE80211_FCS_LEN' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7352: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7352: error: 'IEEE80211_FCTL_PROTECTED' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7368: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7369: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7370: error: 'IEEE80211_STYPE_ASSOC_REQ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7371: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7372: error: 'IEEE80211_STYPE_REASSOC_REQ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'tx_skb':

/root/ipwraw-ng/ipwraw.c:7406: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7408: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7409: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7413: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7413: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7413: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7413: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7413: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7413: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7416: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7421: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7421: warning: too few arguments for format

/root/ipwraw-ng/ipwraw.c:7425: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7477: warning: passing argument 3 of 'ipw_build_tx_cmd_basic' from incompatible pointer type

/root/ipwraw-ng/ipwraw.c:7479: warning: passing argument 3 of 'ipw_build_tx_cmd_rate' from incompatible pointer type

/root/ipwraw-ng/ipwraw.c: In function 'ipw_net_hard_start_xmit':

/root/ipwraw-ng/ipwraw.c:7548: error: invalid application of 'sizeof' to incomplete type 'struct ieee80211_hdr_1addr'

/root/ipwraw-ng/ipwraw.c:7567: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7567: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7567: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7567: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7567: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7567: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7568: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7569: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7572: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c: In function 'ipw_net_set_mac_address':

/root/ipwraw-ng/ipwraw.c:7610: warning: too few arguments for format

/root/ipwraw-ng/ipwraw.c: In function 'ipw_up':

/root/ipwraw-ng/ipwraw.c:8081: warning: too few arguments for format

/root/ipwraw-ng/ipwraw.c: In function 'ipw_prom_alloc':

/root/ipwraw-ng/ipwraw.c:8332: error: 'ARPHRD_IEEE80211_RADIOTAP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_wx_set_freq':

/root/ipwraw-ng/ipwraw.c:8463: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8469: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_pci_probe':

/root/ipwraw-ng/ipwraw.c:8720: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8722: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8737: error: 'SA_SHIRQ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8743: error: implicit declaration of function 'SET_MODULE_OWNER'

/root/ipwraw-ng/ipwraw.c:8751: error: 'ARPHRD_IEEE80211' undeclared (first use in this function)

make[2]: *** [/root/ipwraw-ng/ipwraw.o] Error 1

make[1]: *** [_module_/root/ipwraw-ng] Error 2

make[1]: Leaving directory `/usr/src/linux-source-2.6.30.9'

make: *** [modules] Error 2

(system) #2

Czy na pewno posiadasz nagłówki do swojego jądra?

linux-source-xxxxxx

linux-headers-xxxxx

Podaj wersję jajka ( uname -r chyba?)


(Kamilmlody5) #3

Kaka - przepraszam. MOJ BLAD. Mam nadzieje, ze teraz jest dobrze.

uname -r = 2.6.30.9

Rex - jestem poczatkujacy. Moglbys mi powiedziec o co chodzi z naglowkami. Mecze juz sie z tym od poniedzialku po 10 godzin przy kompie, ciagle googluje i rozwiazania nie widze. Chcialbym zainstalowac te sterowniki, poniewaz oryginalne intelowskie nie obsluguja ARP Injection(tak to sie chyba nazywa). Aha przepraszam jeszcze jedno. Posiadam dystrybucje Ubuntu 8.10


(roobal) #4

Masz utworzone dowiązanie symboliczne /usr/src/linux do katalogu ze źródłami? Pokaż wynik polecenia z terminalu:

ls -l /usr/src/linux

Doinstaluj nagłówki i najlepiej pakiet build-essential :

sudo apt-get install linux-headers-`uname -r` build-essential

Oprócz tego:

:arrow: tu masz opisane jak skompilować i co potrzeba do kompilacji sterownika http://www.aircrack-ng.org/doku.php?id=ipw3945

:arrow: tu przypadkowo znalazłem rozwiązanie twojego http://ubuntuforums.org/showthread.php?t=688367

Pozdrawiam!


(Kamilmlody5) #5

Komenda ls -l /usr/src/linux:

root@bt:~/ipwraw-ng# ls -l /usr/src/linux

total 460

-rw-rw-r-- 1 root root 18693 Apr 26 16:48 COPYING

-rw-rw-r-- 1 root root 94031 Apr 26 16:48 CREDITS

drwxrwxr-x 85 root root 12288 Apr 26 16:48 Documentation

-rw-rw-r-- 1 root root 2440 Apr 26 16:48 Kbuild

-rw-rw-r-- 1 root root 164165 Apr 26 16:48 MAINTAINERS

-rw-rw-r-- 1 root root 53202 Apr 26 16:48 Makefile

-rw-rw-r-- 1 root root 17459 Apr 26 16:48 README

-rw-rw-r-- 1 root root 3371 Apr 26 16:48 REPORTING-BUGS

drwxrwxr-x 25 root root 4096 Apr 26 16:48 arch

drwxrwxr-x 2 root root 4096 Apr 26 16:48 block

drwxrwxr-x 3 root root 4096 Apr 26 16:48 crypto

drwxrwxr-x 88 root root 4096 Apr 26 16:48 drivers

drwxrwxr-x 36 root root 4096 Apr 26 16:48 firmware

drwxrwxr-x 70 root root 4096 Apr 26 16:48 fs

drwxrwxr-x 20 root root 4096 Apr 26 16:48 include

drwxrwxr-x 2 root root 4096 Apr 26 16:48 init

drwxrwxr-x 2 root root 4096 Apr 26 16:48 ipc

drwxrwxr-x 7 root root 4096 Apr 26 16:48 kernel

drwxrwxr-x 6 root root 4096 Apr 26 16:48 lib

drwxrwxr-x 2 root root 4096 Apr 26 16:48 mm

drwxrwxr-x 48 root root 4096 Apr 26 16:48 net

drwxrwxr-x 7 root root 4096 Apr 26 16:48 samples

drwxrwxr-x 12 root root 4096 Apr 26 16:48 scripts

drwxrwxr-x 7 root root 4096 Apr 26 16:48 security

drwxrwxr-x 21 root root 4096 Apr 26 16:48 sound

drwxrwxr-x 3 root root 4096 Apr 26 16:48 tools

drwxrwxr-x 2 root root 4096 Apr 26 16:48 usr

drwxrwxr-x 3 root root 4096 Apr 26 16:48 virt

Glupio mi pytac, ale gdy wpisuje:

root@bt:~/ipwraw-ng# sudo apt-get install linux-headers-`uname -r` build-essential

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Couldn't find package linux-headers-2.6.30.9

root@bt:~/ipwraw-ng#

Pobralem linux-headers z: http://packages.debian.org/source/etch/linux-2.6 Innych nie znalazlem. Szczegolnie wersji 2.6.30.9. Prosilbym o podanie stronki i komend jakie trzeba wpisywac, bo juz oczy mi nie wytrzymuja(szukalem na szybko). Wiem ze to dosc 'trudne' dla tych, ktorzy znaja sie na linuxie i mowia sobie 'co za debil..', ale prosze o troche asysty. Offtop: czy zawsze przy obojetnie jakich sterach trzeba tak sie w linuxie bawic z instalacja? Zgodnie z poradnikiem ze strony aircrack podanym powyzej, znowu sa bledy przy funckji make:

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'


  ERROR: Kernel configuration is invalid.

         include/generated/autoconf.h or include/config/auto.conf are missing.

         Run 'make oldconfig && make prepare' on kernel src to fix it.



  WARNING: Symbol version dump /usr/src/linux/Module.symvers

           is missing; modules will have no dependencies and modversions.


  CC [M] /root/ipwraw-ng/ipwraw.o

cc1: error: include/generated/autoconf.h: No such file or directory

/root/ipwraw-ng/ipwraw.c:43:27: error: net/ieee80211.h: No such file or directory

In file included from include/linux/prefetch.h:14,

                 from include/linux/list.h:6,

                 from include/linux/mm_types.h:7,

                 from include/linux/kmemcheck.h:4,

                 from include/linux/skbuff.h:18,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/processor.h:117: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)

/usr/src/linux/arch/x86/include/asm/processor.h:117: error: requested alignment is not a constant

In file included from include/linux/prefetch.h:14,

                 from include/linux/list.h:6,

                 from include/linux/mm_types.h:7,

                 from include/linux/kmemcheck.h:4,

                 from include/linux/skbuff.h:18,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/processor.h:163:1: warning: "cache_line_size" redefined

In file included from /usr/src/linux/arch/x86/include/asm/processor.h:28,

                 from include/linux/prefetch.h:14,

                 from include/linux/list.h:6,

                 from include/linux/mm_types.h:7,

                 from include/linux/kmemcheck.h:4,

                 from include/linux/skbuff.h:18,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/cache.h:64:1: warning: this is the location of the previous definition

/usr/src/linux/arch/x86/include/asm/processor.h: In function 'load_cr3':

/usr/src/linux/arch/x86/include/asm/processor.h:194: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/processor.h:194: error: (Each undeclared identifier is reported only once

/usr/src/linux/arch/x86/include/asm/processor.h:194: error: for each function it appears in.)

/usr/src/linux/arch/x86/include/asm/processor.h: At top level:

/usr/src/linux/arch/x86/include/asm/processor.h:243: error: requested alignment is not a constant

/usr/src/linux/arch/x86/include/asm/processor.h:274: error: requested alignment is not a constant

/usr/src/linux/arch/x86/include/asm/processor.h: In function 'wbinvd_halt':

/usr/src/linux/arch/x86/include/asm/processor.h:790: error: implicit declaration of function 'halt'

In file included from /usr/src/linux/arch/x86/include/asm/atomic.h:4,

                 from /usr/src/linux/arch/x86/include/asm/thread_info.h:24,

                 from include/linux/thread_info.h:56,

                 from include/linux/preempt.h:9,

                 from include/linux/spinlock.h:50,

                 from include/linux/mm_types.h:8,

                 from include/linux/kmemcheck.h:4,

                 from include/linux/skbuff.h:18,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:201: warning: type defaults to 'int' in declaration of 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h:201: error: expected ';', ',' or ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:213: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:225: error: expected declaration specifiers or '...' before 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_add':

/usr/src/linux/arch/x86/include/asm/atomic_64.h:228: error: 'v' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/atomic_64.h:227: error: invalid lvalue in asm output 0

/usr/src/linux/arch/x86/include/asm/atomic_64.h:227: error: memory input 2 is not directly addressable

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:239: error: expected declaration specifiers or '...' before 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_sub':

/usr/src/linux/arch/x86/include/asm/atomic_64.h:242: error: 'v' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/atomic_64.h:241: error: invalid lvalue in asm output 0

/usr/src/linux/arch/x86/include/asm/atomic_64.h:241: error: memory input 2 is not directly addressable

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:255: error: expected declaration specifiers or '...' before 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_sub_and_test':

/usr/src/linux/arch/x86/include/asm/atomic_64.h:260: error: 'v' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/atomic_64.h:259: error: invalid lvalue in asm output 0

/usr/src/linux/arch/x86/include/asm/atomic_64.h:259: error: memory input 3 is not directly addressable

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:271: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:284: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:299: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:317: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:336: error: expected declaration specifiers or '...' before 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_add_negative':

/usr/src/linux/arch/x86/include/asm/atomic_64.h:341: error: 'v' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/atomic_64.h:340: error: invalid lvalue in asm output 0

/usr/src/linux/arch/x86/include/asm/atomic_64.h:340: error: memory input 3 is not directly addressable

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:353: error: expected declaration specifiers or '...' before 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_add_return':

/usr/src/linux/arch/x86/include/asm/atomic_64.h:357: error: 'v' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/atomic_64.h:356: error: invalid lvalue in asm output 1

/usr/src/linux/arch/x86/include/asm/atomic_64.h:356: error: memory input 3 is not directly addressable

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:362: error: expected declaration specifiers or '...' before 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_sub_return':

/usr/src/linux/arch/x86/include/asm/atomic_64.h:364: error: 'v' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/atomic_64.h:364: error: too many arguments to function 'atomic64_add_return'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:370: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:375: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:425: error: expected ')' before '*' token

In file included from include/linux/mm_types.h:8,

                 from include/linux/kmemcheck.h:4,

                 from include/linux/skbuff.h:18,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/spinlock.h: In function 'spin_lock_irq':

include/linux/spinlock.h:306: error: implicit declaration of function 'local_irq_disable'

include/linux/spinlock.h: In function 'spin_unlock_irq':

include/linux/spinlock.h:331: error: implicit declaration of function 'local_irq_enable'

include/linux/spinlock.h: In function 'spin_unlock_irqrestore':

include/linux/spinlock.h:336: error: implicit declaration of function 'local_irq_restore'

In file included from include/linux/kmemcheck.h:4,

                 from include/linux/skbuff.h:18,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/mm_types.h:27:5: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined

include/linux/mm_types.h:71:5: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined

In file included from include/linux/mmzone.h:16,

                 from include/linux/gfp.h:4,

                 from include/linux/kmod.h:22,

                 from include/linux/module.h:13,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/nodemask.h: In function '__first_node':

include/linux/nodemask.h:239: error: implicit declaration of function 'find_first_bit'

include/linux/nodemask.h: In function '__next_node':

include/linux/nodemask.h:245: error: implicit declaration of function 'find_next_bit'

include/linux/nodemask.h: In function '__first_unset_node':

include/linux/nodemask.h:268: error: implicit declaration of function 'find_first_zero_bit'

In file included from include/linux/gfp.h:4,

                 from include/linux/kmod.h:22,

                 from include/linux/module.h:13,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/mmzone.h:18:30: error: generated/bounds.h: No such file or directory

include/linux/mmzone.h:258:5: warning: "MAX_NR_ZONES" is not defined

In file included from include/linux/gfp.h:4,

                 from include/linux/kmod.h:22,

                 from include/linux/module.h:13,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/mmzone.h: At top level:

include/linux/mmzone.h:300: error: 'MAX_NR_ZONES' undeclared here (not in a function)

In file included from include/linux/elf.h:7,

                 from include/linux/module.h:14,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/elf.h: In function 'elf_common_init':

/usr/src/linux/arch/x86/include/asm/elf.h:167: error: 'struct thread_struct' has no member named 'fs'

In file included from include/linux/tracepoint.h:18,

                 from include/linux/module.h:18,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/rcupdate.h:71:2: error: #error "Unknown RCU implementation specified to kernel configuration"

In file included from include/linux/tracepoint.h:18,

                 from include/linux/module.h:18,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/rcupdate.h: In function 'rcu_read_lock':

include/linux/rcupdate.h:121: error: implicit declaration of function '__rcu_read_lock'

include/linux/rcupdate.h: In function 'rcu_read_unlock':

include/linux/rcupdate.h:145: error: implicit declaration of function '__rcu_read_unlock'

include/linux/rcupdate.h: In function 'rcu_read_lock_bh':

include/linux/rcupdate.h:161: error: implicit declaration of function '__rcu_read_lock_bh'

include/linux/rcupdate.h: In function 'rcu_read_unlock_bh':

include/linux/rcupdate.h:175: error: implicit declaration of function '__rcu_read_unlock_bh'

In file included from include/linux/slab_def.h:144,

                 from include/linux/slab.h:166,

                 from include/linux/percpu.h:5,

                 from /usr/src/linux/arch/x86/include/asm/local.h:4,

                 from include/linux/module.h:20,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/kmalloc_sizes.h:5:5: warning: "CONFIG_X86_L1_CACHE_SHIFT" is not defined

include/linux/kmalloc_sizes.h:9:5: warning: "CONFIG_X86_L1_CACHE_SHIFT" is not defined

In file included from /usr/src/linux/arch/x86/include/asm/local.h:4,

                 from include/linux/module.h:20,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/percpu.h: In function 'per_cpu_ptr_to_phys':

include/linux/percpu.h:161: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

In file included from include/linux/module.h:21,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/module.h:59:2: error: #error unknown processor family

In file included from include/linux/ktime.h:25,

                 from include/linux/timer.h:5,

                 from include/linux/workqueue.h:8,

                 from include/linux/pm.h:25,

                 from include/linux/device.h:24,

                 from include/linux/dmaengine.h:24,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:24:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:26:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:28:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:30:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:32:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:34:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:36:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:39:3: error: #error Invalid value of HZ.

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:46: warning: "SHIFT_HZ" is not defined

In file included from /usr/src/linux/arch/x86/include/asm/x86_init.h:5,

                 from /usr/src/linux/arch/x86/include/asm/pgtable.h:19,

                 from include/linux/mm.h:39,

                 from include/linux/scatterlist.h:6,

                 from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/bootparam.h: At top level:

/usr/src/linux/arch/x86/include/asm/bootparam.h:96: error: field 'edid_info' has incomplete type

In file included from include/linux/mm.h:39,

                 from include/linux/scatterlist.h:6,

                 from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/pgtable.h: In function 'pmd_page_vaddr':

/usr/src/linux/arch/x86/include/asm/pgtable.h:344: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/pgtable.h: In function 'pud_page_vaddr':

/usr/src/linux/arch/x86/include/asm/pgtable.h:415: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/pgtable.h: In function 'pgd_page_vaddr':

/usr/src/linux/arch/x86/include/asm/pgtable.h:455: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

In file included from include/linux/scatterlist.h:6,

                 from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/mm.h: In function 'virt_to_head_page':

include/linux/mm.h:318: error: implicit declaration of function '__pfn_to_page'

include/linux/mm.h:318: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

include/linux/mm.h:318: warning: initialization makes pointer from integer without a cast

In file included from include/linux/scatterlist.h:6,

                 from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/mm.h:454:63: warning: "NR_PAGEFLAGS" is not defined

include/linux/mm.h:502:62: warning: "NR_PAGEFLAGS" is not defined

In file included from include/linux/scatterlist.h:6,

                 from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/mm.h: In function 'lowmem_page_address':

include/linux/mm.h:592: error: implicit declaration of function '__page_to_pfn'

include/linux/mm.h:592: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

include/linux/mm.h:943:5: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined

In file included from include/linux/scatterlist.h:8,

                 from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/io.h: In function 'virt_to_phys':

/usr/src/linux/arch/x86/include/asm/io.h:99: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/io.h: In function 'phys_to_virt':

/usr/src/linux/arch/x86/include/asm/io.h:117: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

In file included from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/scatterlist.h: In function 'sg_set_buf':

include/linux/scatterlist.h:112: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

include/linux/scatterlist.h:112: warning: passing argument 2 of 'sg_set_page' makes pointer from integer without a cast

In file included from /root/ipwraw-ng/ipwraw.c:48:

/root/ipwraw-ng/ipwraw.h:32:28: error: linux/autoconf.h: No such file or directory

/root/ipwraw-ng/ipwraw.h:35:27: error: linux/version.h: No such file or directory

In file included from include/net/netns/mib.h:4,

                 from include/net/net_namespace.h:12,

                 from include/linux/netdevice.h:47,

                 from /root/ipwraw-ng/ipwraw.h:37,

                 from /root/ipwraw-ng/ipwraw.c:48:

include/net/snmp.h: At top level:

include/net/snmp.h:74: error: requested alignment is not a constant

include/net/snmp.h:82: error: requested alignment is not a constant

include/net/snmp.h:87: error: requested alignment is not a constant

include/net/snmp.h:93: error: requested alignment is not a constant

include/net/snmp.h:98: error: requested alignment is not a constant

include/net/snmp.h:105: error: requested alignment is not a constant

include/net/snmp.h:111: error: requested alignment is not a constant

In file included from include/linux/hardirq.h:10,

                 from include/linux/interrupt.h:12,

                 from include/linux/netdevice.h:1107,

                 from /root/ipwraw-ng/ipwraw.h:37,

                 from /root/ipwraw-ng/ipwraw.c:48:

/usr/src/linux/arch/x86/include/asm/hardirq.h:29: error: requested alignment is not a constant

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.h:682:5: warning: "LINUX_VERSION_CODE" is not defined

/root/ipwraw-ng/ipwraw.h:682:26: warning: "KERNEL_VERSION" is not defined

/root/ipwraw-ng/ipwraw.h:682:40: error: missing binary operator before token "("

/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:53: error: implicit declaration of function 'WLAN_FC_GET_STYPE'

/root/ipwraw-ng/ipwraw.c:55: error: implicit declaration of function 'WLAN_FC_GET_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 use 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 'ipw_send_cmd':

/root/ipwraw-ng/ipwraw.c:974: error: implicit declaration of function 'local_irq_save'

/root/ipwraw-ng/ipwraw.c:1015: error: 'CONFIG_HZ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:1015: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:1015: error: implicit declaration of function 'signal_pending'

/root/ipwraw-ng/ipwraw.c:1015: error: implicit declaration of function 'schedule_timeout'

/root/ipwraw-ng/ipwraw.c: In function 'show_temperature':

/root/ipwraw-ng/ipwraw.c:1360: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'is_channel_a_band':

/root/ipwraw-ng/ipwraw.c:1709: error: 'IEEE80211_52GHZ_BAND' undeclared (first use 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 use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'store_channel':

/root/ipwraw-ng/ipwraw.c:1878: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:1884: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'store_band':

/root/ipwraw-ng/ipwraw.c:1926: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:1927: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'show_status':

/root/ipwraw-ng/ipwraw.c:2432: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'show_cfg':

/root/ipwraw-ng/ipwraw.c:2443: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'dump_error_log':

/root/ipwraw-ng/ipwraw.c:2460: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'dump_event_log':

/root/ipwraw-ng/ipwraw.c:2474: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'show_rf_kill':

/root/ipwraw-ng/ipwraw.c:2488: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'store_rf_kill':

/root/ipwraw-ng/ipwraw.c:2545: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'ipw_irq_handle_error':

/root/ipwraw-ng/ipwraw.c:2596: error: 'TASK_INTERRUPTIBLE' undeclared (first use 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 use in this function)

/root/ipwraw-ng/ipwraw.c:3294: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'reg_txpower_periodic':

/root/ipwraw-ng/ipwraw.c:3455: error: 'CONFIG_HZ' undeclared (first use 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 use 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 use in this function)

/root/ipwraw-ng/ipwraw.c:4112: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_post_alive_work':

/root/ipwraw-ng/ipwraw.c:4227: error: 'CONFIG_HZ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:4248: error: 'IEEE80211_OFDM_DEFAULT_RATES_MASK' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:4249: error: 'IEEE80211_OFDM_BASIC_RATES_MASK' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:4250: error: 'IEEE80211_CCK_DEFAULT_RATES_MASK' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:4251: error: 'IEEE80211_CCK_BASIC_RATES_MASK' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_nic_reset':

/root/ipwraw-ng/ipwraw.c:4991: error: 'TASK_INTERRUPTIBLE' undeclared (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 'ieee80211_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:6399:5: warning: "LINUX_VERSION_CODE" is not defined

/root/ipwraw-ng/ipwraw.c:6399:26: warning: "KERNEL_VERSION" is not defined

/root/ipwraw-ng/ipwraw.c:6399:40: error: missing binary operator before token "("

/root/ipwraw-ng/ipwraw.c:6402: error: 'struct sk_buff' has no member named 'mac'

/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 inside parameter list

/root/ipwraw-ng/ipwraw.c:6416: warning: its scope is only this definition or declaration, 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 inside 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:6469: error: 'CONFIG_HZ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6469: warning: type defaults to 'int' in declaration of '__dummy2'

/root/ipwraw-ng/ipwraw.c:6469: warning: comparison of distinct pointer types lacks a cast

/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 use in this function)

/root/ipwraw-ng/ipwraw.c:6504: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use 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 use 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 use 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 (first use in this function)

/root/ipwraw-ng/ipwraw.c:6540: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: At top level:

/root/ipwraw-ng/ipwraw.c:6563: warning: 'struct ieee80211_rx_stats' declared inside 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 use in this function)

/root/ipwraw-ng/ipwraw.c:6618: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use 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 use 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 use in this function)

/root/ipwraw-ng/ipwraw.c:6646: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c: In function 'ipw_tx_complete':

/root/ipwraw-ng/ipwraw.c:6841: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_handle_reply_rx':

/root/ipwraw-ng/ipwraw.c:6852: error: variable 'stats' has initializer but incomplete type

/root/ipwraw-ng/ipwraw.c:6853: error: unknown field 'rssi' specified in initializer

/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 initializer

/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 initializer

/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 initializer

/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 initializer

/root/ipwraw-ng/ipwraw.c:6857: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6857: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6858: error: unknown field 'received_channel' specified in initializer

/root/ipwraw-ng/ipwraw.c:6858: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6858: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6859: error: unknown field 'len' specified in initializer

/root/ipwraw-ng/ipwraw.c:6859: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6859: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6860: error: unknown field 'freq' specified in initializer

/root/ipwraw-ng/ipwraw.c:6863: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6863: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6863: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6863: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6864: error: unknown field 'tsf' specified in initializer

/root/ipwraw-ng/ipwraw.c:6864: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6864: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6865: error: unknown field 'beacon_time' specified in initializer

/root/ipwraw-ng/ipwraw.c:6865: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6865: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6852: error: storage size of 'stats' isn't known

/root/ipwraw-ng/ipwraw.c:6881: error: 'IEEE80211_STATMASK_RSSI' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6885: error: 'IEEE80211_STATMASK_SIGNAL' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6887: error: 'IEEE80211_STATMASK_NOISE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6889: error: 'IEEE80211_STATMASK_RATE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6852: warning: unused variable 'stats'

/root/ipwraw-ng/ipwraw.c: In function 'ipw_rx_handle':

/root/ipwraw-ng/ipwraw.c:7187: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: At top level:

/root/ipwraw-ng/ipwraw.c:7256: warning: 'struct ieee80211_hdr_4addr' declared inside parameter list

/root/ipwraw-ng/ipwraw.c: In function 'ipw_build_tx_cmd_rate':

/root/ipwraw-ng/ipwraw.c:7263: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7264: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7286: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7286: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7286: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7286: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7295: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7302: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7303: error: 'IEEE80211_STYPE_AUTH' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7304: error: 'IEEE80211_STYPE_DEAUTH' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7305: error: 'IEEE80211_STYPE_ASSOC_REQ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7306: error: 'IEEE80211_STYPE_REASSOC_REQ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: At top level:

/root/ipwraw-ng/ipwraw.c:7333: warning: 'struct ieee80211_hdr_4addr' declared inside parameter list

/root/ipwraw-ng/ipwraw.c: In function 'ipw_build_tx_cmd_basic':

/root/ipwraw-ng/ipwraw.c:7340: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7340: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7341: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7344: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7344: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7345: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7354: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7354: error: 'IEEE80211_FCTL_MOREFRAGS' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7359: error: 'IEEE80211_FCS_LEN' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7366: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7366: error: 'IEEE80211_FCTL_PROTECTED' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7382: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7383: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7384: error: 'IEEE80211_STYPE_ASSOC_REQ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7385: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7386: error: 'IEEE80211_STYPE_REASSOC_REQ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'tx_skb':

/root/ipwraw-ng/ipwraw.c:7420: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7422: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7423: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7427: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7427: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7427: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7427: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7430: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7439: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7491: warning: passing argument 3 of 'ipw_build_tx_cmd_basic' from incompatible pointer type

/root/ipwraw-ng/ipwraw.c:7493: warning: passing argument 3 of 'ipw_build_tx_cmd_rate' from incompatible pointer type

/root/ipwraw-ng/ipwraw.c: In function 'ipw_net_hard_start_xmit':

/root/ipwraw-ng/ipwraw.c:7562: error: invalid application of 'sizeof' to incomplete type 'struct ieee80211_hdr_1addr'

/root/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7581: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7581: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7581: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7581: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7582: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7583: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7586: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7686:7: warning: "LINUX_VERSION_CODE" is not defined

/root/ipwraw-ng/ipwraw.c:7686:28: warning: "KERNEL_VERSION" is not defined

/root/ipwraw-ng/ipwraw.c:7686:42: error: missing binary operator before token "("

/root/ipwraw-ng/ipwraw.c: In function 'ipw_bg_rf_kill':

/root/ipwraw-ng/ipwraw.c:7751: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_down':

/root/ipwraw-ng/ipwraw.c:8160: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_prom_alloc':

/root/ipwraw-ng/ipwraw.c:8374: error: 'ARPHRD_IEEE80211_RADIOTAP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8375: error: 'struct net_device' has no member named 'open'

/root/ipwraw-ng/ipwraw.c:8376: error: 'struct net_device' has no member named 'stop'

/root/ipwraw-ng/ipwraw.c:8377: error: 'struct net_device' has no member named 'get_stats'

/root/ipwraw-ng/ipwraw.c:8378: error: 'struct net_device' has no member named 'hard_start_xmit'

/root/ipwraw-ng/ipwraw.c: In function 'ipw_wx_set_freq':

/root/ipwraw-ng/ipwraw.c:8517: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8523: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: At top level:

/root/ipwraw-ng/ipwraw.c:8739: error: unknown field 'num_private' specified in initializer

/root/ipwraw-ng/ipwraw.c:8739: warning: initialization makes pointer from integer without a cast

/root/ipwraw-ng/ipwraw.c:8740: error: unknown field 'num_private_args' specified in initializer

/root/ipwraw-ng/ipwraw.c:8740: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:8740: warning: (near initialization for 'ipw_wx_handler_def')

/root/ipwraw-ng/ipwraw.c:8741: error: unknown field 'private' specified in initializer

/root/ipwraw-ng/ipwraw.c:8741: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:8741: warning: (near initialization for 'ipw_wx_handler_def')

/root/ipwraw-ng/ipwraw.c:8742: error: unknown field 'private_args' specified in initializer

/root/ipwraw-ng/ipwraw.c:8742: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:8742: warning: (near initialization for 'ipw_wx_handler_def')

/root/ipwraw-ng/ipwraw.c: In function 'ipw_pci_probe':

/root/ipwraw-ng/ipwraw.c:8870: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8872: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8897: error: 'struct net_device' has no member named 'hard_start_xmit'

/root/ipwraw-ng/ipwraw.c:8898: error: 'struct net_device' has no member named 'open'

/root/ipwraw-ng/ipwraw.c:8899: error: 'struct net_device' has no member named 'stop'

/root/ipwraw-ng/ipwraw.c:8900: error: 'struct net_device' has no member named 'get_stats'

/root/ipwraw-ng/ipwraw.c:8901: error: 'struct net_device' has no member named 'set_mac_address'

/root/ipwraw-ng/ipwraw.c:8902: error: 'ARPHRD_IEEE80211' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8904: error: 'struct net_device' has no member named 'wireless_handlers'

make[2]: *** [/root/ipwraw-ng/ipwraw.o] Error 1

make[1]: *** [_module_/root/ipwraw-ng] Error 2

make[1]: Leaving directory `/usr/src/linux'

make: *** [modules] Error 2

root@bt:~/ipwraw-ng#

Dzisiaj dam sobie spokoj. Jutro znowu sie wezme za to. Dzieki z gory za pomoc. Szczerze powiedziawszy nie wiedzialem, ze linux ma takie wsparcie od uzytkownikow. Myslalem ze to tylko po to, aby rozreklamowac linuxa.


(roobal) #6

Pokaż wynik polecenia:

cat /etc/apt/sources.list

Trochę dziwne, że nie może znaleźć nagłówków jądra. Może zaktualizuj najpierw w ogóle system, być może masz jakieś stare jajko (jądro potocznie :wink:)

sudo apt-get update

sudo apt-get upgrade

Staramy się jak możemy, szczególnie jak ktoś precyzyjnie opisuje swój problem, wtedy i nam jest łatwiej pomagać :wink:

Pozdrawiam!


(Kamilmlody5) #7

Polecenie cat /etc/apt/sources.list:

root@bt:~# cat /etc/apt/sources.list

deb http://archive.offensive-security.com pwnsauce main microverse macroverse restricted universe multiverse

#deb http://archive.offensive-security.com/repotest/ ./ # BackTrack Devel Repository

root@bt:~#

Uzylem komendy: sudo apt-get update i sudo apt-get upgrade. Niby wszystko poszlo ok.

Znowu chcialem zrobic tak jak na stronce aircrack-ng, ale to samo z poleceniem make. Mysle ze musze zainstalwoac te linux-headers, lecz dajcie mi moze instrukcje skad to pobrac i zainstalowac.(LInux-headers-2.6.30.9)


(roobal) #8

Bo Ty masz BackTrack, który z tego co widzę bazuje od niedawna na Ubuntu - wcześniej bazował z tego co pamiętam na Slackware albo na Slaksie. Skoro jest to zmodyfikowany Ubuntu to myślę, że repozytoria od Ubuntu powinny pasować. Wykonaj takie polecenie:

sudo su -c 'echo -e "\n#Repozytoria Ubuntu 8.10\n\ndeb http://pl.archive.ubuntu.com/ubuntu/ interpid main restricted

deb-src http://pl.archive.ubuntu.com/ubuntu/ interpid main restricted

deb http://pl.archive.ubuntu.com/ubuntu/ interpid-updates main restricted

deb-src http://pl.archive.ubuntu.com/ubuntu/ interpid-updates main restricted

deb http://pl.archive.ubuntu.com/ubuntu/ interpid universe

deb-src http://pl.archive.ubuntu.com/ubuntu/ interpid universe

deb http://pl.archive.ubuntu.com/ubuntu/ interpid-updates universe

deb-src http://pl.archive.ubuntu.com/ubuntu/ interpid-updates universe

deb http://pl.archive.ubuntu.com/ubuntu/ interpid multiverse

deb-src http://pl.archive.ubuntu.com/ubuntu/ interpid multiverse

deb http://pl.archive.ubuntu.com/ubuntu/ interpid-updates multiverse

deb-src http://pl.archive.ubuntu.com/ubuntu/ interpid-updates multiverse

deb http://security.ubuntu.com/ubuntu interpid-security main restricted

deb-src http://security.ubuntu.com/ubuntu interpid-security main restricted

deb http://security.ubuntu.com/ubuntu interpid-security universe

deb-src http://security.ubuntu.com/ubuntu interpid-security universe

deb http://security.ubuntu.com/ubuntu interpid-security multiverse

deb-src http://security.ubuntu.com/ubuntu interpid-security multiverse" >> /etc/apt/sources.list'

Następnie:

sudo apt-get update

sudo apt-get upgrade

i gdy system już się zaktualizuje to zainstaluj nagłówki jądra i build-essential:

sudo apt-get install linux-headers-`uname -r` build-essential

viewtopic.php?t=123847&start=0&postdays=0&postorder=asc&highlight=

Linuksa też można bardzo szybko spolszczyć doinstalowując paczki językowe:

sudo apt-get install language-pack-gnome-pl

Polski układ klawiatury ustawiasz albo w konfiguracji środowiska graficznego Gnome albo dopisując do /etc/X11/xorg.conf w sekcji Input Device, dotyczącym klawiatury (keyboard) taką linijkę:

Option "XkbLayout" "pl"

Po restarcie Xservera będziesz miał polskie znaczki :wink:

Pozdrawiam!


(Kamilmlody5) #9

Yyyy.. chyba cos zle zrobilem

ive.ubuntu.com/ubuntu/ interpid main restricted

> deb-src http://pl.archive.ubuntu.com/ubuntu/ interpid main restricted

> deb http://pl.archive.ubuntu.com/ubuntu/ interpid-updates main restricted

> deb-src http://pl.archive.ubuntu.com/ubuntu/ interpid-updates main restricted

> deb http://pl.archive.ubuntu.com/ubuntu/ interpid universe

> deb-src http://pl.archive.ubuntu.com/ubuntu/ interpid universe

> deb http://pl.archive.ubuntu.com/ubuntu/ interpid-updates universe

> deb-src http://pl.archive.ubuntu.com/ubuntu/ interpid-updates universe

> deb http://pl.archive.ubuntu.com/ubuntu/ interpid multiverse

> deb-src http://pl.archive.ubuntu.com/ubuntu/ interpid multiverse

> deb http://pl.archive.ubuntu.com/ubuntu/ interpid-updates multiverse

> deb-src http://pl.archive.ubuntu.com/ubuntu/ interpid-updates multiverse

> deb http://security.ubuntu.com/ubuntu interpid-security main restricted

> deb-src http://security.ubuntu.com/ubuntu interpid-security main restricted

> deb http://security.ubuntu.com/ubuntu interpid-security universe

> deb-src http://security.ubuntu.com/ubuntu interpid-security universe

> deb http://security.ubuntu.com/ubuntu interpid-security multiverse

> deb-src http://security.ubuntu.com/ubuntu interpid-security multiverse" >> /etc/apt/sources.list'

root@bt:~# sudo apt-get update

Ign http://pl.archive.ubuntu.com interpid Release.gpg

Ign http://pl.archive.ubuntu.com interpid-updates Release.gpg

Ign http://security.ubuntu.com interpid-security Release.gpg

Ign http://pl.archive.ubuntu.com interpid Release

Ign http://pl.archive.ubuntu.com interpid-updates Release

Ign http://security.ubuntu.com interpid-security Release

Hit http://archive.offensive-security.com pwnsauce Release.gpg

Ign http://pl.archive.ubuntu.com interpid/main Packages

Ign http://pl.archive.ubuntu.com interpid/restricted Packages

Ign http://pl.archive.ubuntu.com interpid/main Sources

Ign http://pl.archive.ubuntu.com interpid/restricted Sources

Ign http://pl.archive.ubuntu.com interpid/universe Packages

Ign http://security.ubuntu.com interpid-security/main Packages

Hit http://archive.offensive-security.com pwnsauce Release

Ign http://pl.archive.ubuntu.com interpid/universe Sources

Ign http://pl.archive.ubuntu.com interpid/multiverse Packages

Ign http://pl.archive.ubuntu.com interpid/multiverse Sources

Ign http://pl.archive.ubuntu.com interpid-updates/main Packages

Ign http://pl.archive.ubuntu.com interpid-updates/restricted Packages

Ign http://pl.archive.ubuntu.com interpid-updates/main Sources

Ign http://pl.archive.ubuntu.com interpid-updates/restricted Sources

Ign http://pl.archive.ubuntu.com interpid-updates/universe Packages

Ign http://pl.archive.ubuntu.com interpid-updates/universe Sources

Ign http://pl.archive.ubuntu.com interpid-updates/multiverse Packages

Ign http://pl.archive.ubuntu.com interpid-updates/multiverse Sources

Ign http://security.ubuntu.com interpid-security/restricted Packages

Ign http://security.ubuntu.com interpid-security/main Sources

Err http://pl.archive.ubuntu.com interpid/main Packages

  404 Not Found

Err http://pl.archive.ubuntu.com interpid/restricted Packages

  404 Not Found

Err http://pl.archive.ubuntu.com interpid/main Sources

  404 Not Found

Err http://pl.archive.ubuntu.com interpid/restricted Sources

  404 Not Found

Ign http://security.ubuntu.com interpid-security/restricted Sources

Ign http://security.ubuntu.com interpid-security/universe Packages

Ign http://security.ubuntu.com interpid-security/universe Sources

Ign http://security.ubuntu.com interpid-security/multiverse Packages

Ign http://security.ubuntu.com interpid-security/multiverse Sources

Err http://security.ubuntu.com interpid-security/main Packages

  404 Not Found

Err http://pl.archive.ubuntu.com interpid/universe Packages

  404 Not Found

Err http://pl.archive.ubuntu.com interpid/universe Sources

  404 Not Found

Err http://pl.archive.ubuntu.com interpid/multiverse Packages

  404 Not Found

Err http://pl.archive.ubuntu.com interpid/multiverse Sources

  404 Not Found

Err http://pl.archive.ubuntu.com interpid-updates/main Packages

  404 Not Found

Err http://pl.archive.ubuntu.com interpid-updates/restricted Packages

  404 Not Found

Err http://pl.archive.ubuntu.com interpid-updates/main Sources

  404 Not Found

Hit http://archive.offensive-security.com pwnsauce/main Packages

Err http://security.ubuntu.com interpid-security/restricted Packages

  404 Not Found

Err http://pl.archive.ubuntu.com interpid-updates/restricted Sources

  404 Not Found

Err http://pl.archive.ubuntu.com interpid-updates/universe Packages

  404 Not Found

Err http://pl.archive.ubuntu.com interpid-updates/universe Sources

  404 Not Found

Err http://pl.archive.ubuntu.com interpid-updates/multiverse Packages

  404 Not Found

Hit http://archive.offensive-security.com pwnsauce/microverse Packages

Hit http://archive.offensive-security.com pwnsauce/macroverse Packages

Hit http://archive.offensive-security.com pwnsauce/restricted Packages

Hit http://archive.offensive-security.com pwnsauce/universe Packages

Hit http://archive.offensive-security.com pwnsauce/multiverse Packages

Err http://pl.archive.ubuntu.com interpid-updates/multiverse Sources

  404 Not Found

Err http://security.ubuntu.com interpid-security/main Sources

  404 Not Found

Err http://security.ubuntu.com interpid-security/restricted Sources

  404 Not Found

Err http://security.ubuntu.com interpid-security/universe Packages

  404 Not Found

Err http://security.ubuntu.com interpid-security/universe Sources

  404 Not Found

Err http://security.ubuntu.com interpid-security/multiverse Packages

  404 Not Found

Err http://security.ubuntu.com interpid-security/multiverse Sources

  404 Not Found

W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid/main/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid/restricted/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid/main/source/Sources.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid/restricted/source/Sources.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid/universe/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/main/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid/universe/source/Sources.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid/multiverse/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid/multiverse/source/Sources.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid-updates/main/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid-updates/restricted/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid-updates/main/source/Sources.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid-updates/restricted/source/Sources.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid-updates/universe/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid-updates/universe/source/Sources.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid-updates/multiverse/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/interpid-updates/multiverse/source/Sources.gz 404 Not Found


W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/restricted/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/main/source/Sources.gz 404 Not Found


W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/restricted/source/Sources.gz 404 Not Found


W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/universe/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/universe/source/Sources.gz 404 Not Found


W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/multiverse/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/multiverse/source/Sources.gz 404 Not Found


E: Some index files failed to download, they have been ignored, or old ones used instead.

root@bt:~# sudo apt-get upgrade

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages have been kept back:

  nmap openvas-client openvas-libraries openvas-menu

0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

root@bt:~# sudo apt-get install linux-headers-`uname -r` build-essential

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Couldn't find package linux-headers-2.6.30.9

root@bt:~#

Jezeli chodzi o polskie znaki, to zajme sie tym pozniej. Narazie z tym sie martwie...


(roobal) #10

Hmm, na serwerach nie ma plików Packeges.gz, które dają informację systemowi o pakietach w repozytoriach. Może zamiast polskiego mirrora użyć tych, zrób teraz tak:

sudo mv -v /etc/apt/sources.list /etc/apt/sources.list.backup

I wykonaj ponownie:

sudo su -c 'echo -e "deb http://archive.offensive-security.com pwnsauce main microverse macroverse restricted universe multiverse

#deb http://archive.offensive-security.com/repotest/ ./ # BackTrack Devel Repository\n\n#Repozytoria Ubuntu 8.10\n\ndeb http://archive.ubuntu.com/ubuntu/ interpid main restricted

deb-src http://archive.ubuntu.com/ubuntu/ interpid main restricted

deb http://archive.ubuntu.com/ubuntu/ interpid-updates main restricted

deb-src http://archive.ubuntu.com/ubuntu/ interpid-updates main restricted

deb http://archive.ubuntu.com/ubuntu/ interpid universe

deb-src http://archive.ubuntu.com/ubuntu/ interpid universe

deb http://archive.ubuntu.com/ubuntu/ interpid-updates universe

deb-src http://archive.ubuntu.com/ubuntu/ interpid-updates universe

deb http://archive.ubuntu.com/ubuntu/ interpid multiverse

deb-src http://archive.ubuntu.com/ubuntu/ interpid multiverse

deb http://archive.ubuntu.com/ubuntu/ interpid-updates multiverse

deb-src http://archive.ubuntu.com/ubuntu/ interpid-updates multiverse

deb http://security.ubuntu.com/ubuntu interpid-security main restricted

deb-src http://security.ubuntu.com/ubuntu interpid-security main restricted

deb http://security.ubuntu.com/ubuntu interpid-security universe

deb-src http://security.ubuntu.com/ubuntu interpid-security universe

deb http://security.ubuntu.com/ubuntu interpid-security multiverse

deb-src http://security.ubuntu.com/ubuntu interpid-security multiverse" >> /etc/apt/sources.list'

I sprawdź czy po

sudo apt-get update

sudo apt-get upgrade

Znowu będzie błąd 404.

Pozdrawiam!


(Kamilmlody5) #11

hmm... tez bledy 404. Linki nie istnieja.

root@bt:~# sudo mv -v /etc/apt/sources.list /etc/apt/sources.list.backup

`/etc/apt/sources.list' -> `/etc/apt/sources.list.backup'

root@bt:~# sudo su -c 'echo -e "deb http://archive.offensive-security.com pwnsauce main microverse macroverse restricted universe multiverse

> deb http://archive.offensive-security.com/repotest/ ./ # BackTrack Devel Repository\n\n#Repozytoria Ubuntu 8.10\n\ndeb http://archive.ubuntu.com/ubuntu/ interpid main restricted

> deb-src http://archive.ubuntu.com/ubuntu/ interpid main restricted

> deb http://archive.ubuntu.com/ubuntu/ interpid-updates main restricted

> deb-src http://archive.ubuntu.com/ubuntu/ interpid-updates main restricted

> deb http://archive.ubuntu.com/ubuntu/ interpid universe

> deb-src http://archive.ubuntu.com/ubuntu/ interpid universe

> deb http://archive.ubuntu.com/ubuntu/ interpid-updates universe

> deb-src http://archive.ubuntu.com/ubuntu/ interpid-updates universe

> deb http://archive.ubuntu.com/ubuntu/ interpid multiverse

> deb-src http://archive.ubuntu.com/ubuntu/ interpid multiverse

> deb http://archive.ubuntu.com/ubuntu/ interpid-updates multiverse

> deb-src http://archive.ubuntu.com/ubuntu/ interpid-updates multiverse

> deb http://security.ubuntu.com/ubuntu interpid-security main restricted

> deb http://security.ubuntu.com/ubuntu interpid-security universe

> deb-src http://security.ubuntu.com/ubuntu interpid-security universe

> deb http://security.ubuntu.com/ubuntu interpid-security multiverse

> deb-src http://security.ubuntu.com/ubuntu interpid-security multiverse" >> /etc/apt/sources.list'

root@bt:~# sudo apt-get update

Ign http://security.ubuntu.com interpid-security Release.gpg

Ign http://security.ubuntu.com interpid-security Release

Ign http://archive.ubuntu.com interpid Release.gpg

Ign http://archive.ubuntu.com interpid-updates Release.gpg

Hit http://archive.offensive-security.com pwnsauce Release.gpg

Ign http://archive.offensive-security.com ./ Release.gpg

Ign http://archive.ubuntu.com interpid Release

Ign http://security.ubuntu.com interpid-security/main Packages

Hit http://archive.offensive-security.com pwnsauce Release

Ign http://archive.ubuntu.com interpid-updates Release

Ign http://security.ubuntu.com interpid-security/restricted Packages

Ign http://security.ubuntu.com interpid-security/universe Packages

Ign http://archive.offensive-security.com ./ Release

Ign http://security.ubuntu.com interpid-security/universe Sources

Ign http://security.ubuntu.com interpid-security/multiverse Packages

Ign http://security.ubuntu.com interpid-security/multiverse Sources

Ign http://archive.ubuntu.com interpid/main Packages

Ign http://archive.ubuntu.com interpid/restricted Packages

Ign http://archive.ubuntu.com interpid/main Sources

Err http://security.ubuntu.com interpid-security/main Packages

  404 Not Found

Ign http://archive.offensive-security.com ./ Packages

Ign http://archive.ubuntu.com interpid/restricted Sources

Ign http://archive.ubuntu.com interpid/universe Packages

Ign http://archive.ubuntu.com interpid/universe Sources

Ign http://archive.ubuntu.com interpid/multiverse Packages

Ign http://archive.ubuntu.com interpid/multiverse Sources

Ign http://archive.ubuntu.com interpid-updates/main Packages

Ign http://archive.ubuntu.com interpid-updates/restricted Packages

Ign http://archive.ubuntu.com interpid-updates/main Sources

Ign http://archive.ubuntu.com interpid-updates/restricted Sources

Err http://security.ubuntu.com interpid-security/restricted Packages

  404 Not Found

Err http://security.ubuntu.com interpid-security/universe Packages

  404 Not Found

Err http://security.ubuntu.com interpid-security/universe Sources

  404 Not Found

Err http://security.ubuntu.com interpid-security/multiverse Packages

  404 Not Found

Hit http://archive.offensive-security.com pwnsauce/main Packages

Hit http://archive.offensive-security.com pwnsauce/microverse Packages

Hit http://archive.offensive-security.com pwnsauce/macroverse Packages

Hit http://archive.offensive-security.com pwnsauce/restricted Packages

Hit http://archive.offensive-security.com pwnsauce/universe Packages

Ign http://archive.ubuntu.com interpid-updates/universe Packages

Ign http://archive.ubuntu.com interpid-updates/universe Sources

Ign http://archive.ubuntu.com interpid-updates/multiverse Packages

Ign http://archive.ubuntu.com interpid-updates/multiverse Sources

Err http://archive.ubuntu.com interpid/main Packages

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid/restricted Packages

  404 Not Found [IP]

Err http://security.ubuntu.com interpid-security/multiverse Sources

  404 Not Found

Hit http://archive.offensive-security.com pwnsauce/multiverse Packages

Get:1 http://archive.offensive-security.com ./ Packages [20B]

Err http://archive.ubuntu.com interpid/main Sources

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid/restricted Sources

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid/universe Packages

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid/universe Sources

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid/multiverse Packages

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid/multiverse Sources

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid-updates/main Packages

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid-updates/restricted Packages

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid-updates/main Sources

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid-updates/restricted Sources

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid-updates/universe Packages

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid-updates/universe Sources

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid-updates/multiverse Packages

  404 Not Found [IP]

Err http://archive.ubuntu.com interpid-updates/multiverse Sources

  404 Not Found [IP]

Fetched 20B in 1s (17B/s)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/main/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/restricted/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/universe/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/universe/source/Sources.gz 404 Not Found


W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/multiverse/binary-i386/Packages.gz 404 Not Found


W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/interpid-security/multiverse/source/Sources.gz 404 Not Found


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid/main/binary-i386/Packages.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid/restricted/binary-i386/Packages.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid/main/source/Sources.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid/restricted/source/Sources.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid/universe/binary-i386/Packages.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid/universe/source/Sources.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid/multiverse/binary-i386/Packages.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid/multiverse/source/Sources.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid-updates/main/binary-i386/Packages.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid-updates/restricted/binary-i386/Packages.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid-updates/main/source/Sources.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid-updates/restricted/source/Sources.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid-updates/universe/binary-i386/Packages.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid-updates/universe/source/Sources.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid-updates/multiverse/binary-i386/Packages.gz 404 Not Found [IP]


W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/interpid-updates/multiverse/source/Sources.gz 404 Not Found [IP]


E: Some index files failed to download, they have been ignored, or old ones used instead.

root@bt:~# sudo apt-get upgrade

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages have been kept back:

  nmap openvas-client openvas-libraries openvas-menu

0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

root@bt:~#

DOBRA... JUZ SIE WKURZYLEM. Moze mam sciagnac inna dystrybucje niz BackTrack 4, tylko zebym mogl poinstalowac podobne oprogramowanie na tej dystrybucji, chociaz bedzie troche roboty, bo tutaj mam wszystko poinstalowane, jedynie ten sterownik zeby zrobic. Zrobie to w ostatecznosci. A teraz masz moze jakis inny pomysl, aby to w koncu zainstalowac?

Ktoś pomoże? Czy mam ściągać inną dystrybucję?


(roobal) #12

No to już jasne czemu nie ma linux-headers-2.6.30. Wygrzebałem płytki z Ubu 8.10 i 9.04 i z tego co widzę tam jest 2.6.27 i 2.6.28, więc albo BackTrack bazuje na nowszym Ubuntu albo ma nowsze jądro niż Ubuntu 8.10. Akurat mam gdzieś na dysku BackTracka to sprawdzę.

Pozdrawiam!


(mati75) #13

Repozytoria nie działają, bo skończył się support dla 8.10.


(roobal) #14

Działają, bo na oficjalnej płycie z Shipit wszystko chodzi i repozytoria będą działać jeszcze długo ale nie będą pojawiały się aktualizacje pakietów.

Próbowałem coś wykombinować ale BackTrack coś nie bardzo chce u mnie współpracować z Virtualboksem a dziś już nie dam rady tego zrobić. Jak coś wykombinuję to dam znać.

Póki co spróbuj dodać repozytoria od 9.10. Tutaj masz listę serwerów i opis co i jak zrobić http://forum.ubuntu.pl/showthread.php?t=37494

Pozdrawiam!


(Kamilmlody5) #15

Wszystko poszło ok. no może prawie...

root@bt:~# sudo apt-get update

Get:1 http://pl.archive.ubuntu.com karmic Release.gpg [189B]

Get:2 http://pl.archive.ubuntu.com karmic-updates Release.gpg [189B]

Get:3 http://archive.ubuntu.com karmic-backports Release.gpg [189B]

Get:4 http://archive.canonical.com karmic Release.gpg [189B]

Get:5 http://dl.google.com stable Release.gpg [189B]

Get:6 http://security.ubuntu.com karmic-security Release.gpg [189B]

Get:7 http://packages.medibuntu.org karmic Release.gpg [197B]

Get:8 http://pl.archive.ubuntu.com karmic Release [65.9kB]

Get:9 http://ppa.launchpad.net karmic Release.gpg [307B]

Get:10 http://ppa.launchpad.net karmic Release.gpg [307B]

Get:11 http://archive.ubuntu.com karmic-backports Release [37.1kB]

Get:12 http://archive.canonical.com karmic Release [9347B]

Get:13 http://dl.google.com stable Release [2540B]

Get:14 http://security.ubuntu.com karmic-security Release [44.1kB]

Get:15 http://packages.medibuntu.org karmic Release [9237B]

Ign http://dl.google.com stable Release

Get:16 http://ppa.launchpad.net karmic Release [66.0kB]

Get:17 http://dl.google.com stable/non-free Packages [1010B]

Ign http://packages.medibuntu.org karmic Release

Get:18 http://archive.canonical.com karmic/partner Packages [4964B]

Get:19 http://packages.medibuntu.org karmic/free Packages [3279B]

Get:20 http://pl.archive.ubuntu.com karmic-updates Release [44.1kB]

Get:21 http://packages.medibuntu.org karmic/non-free Packages [7553B]

Get:22 http://archive.ubuntu.com karmic-backports/main Packages [67.7kB]

Get:23 http://security.ubuntu.com karmic-security/main Packages [95.6kB]

Get:24 http://pl.archive.ubuntu.com karmic/main Packages [1353kB]

Ign http://ppa.launchpad.net karmic Release

Get:25 http://ppa.launchpad.net karmic Release [66.0kB]

Get:26 http://security.ubuntu.com karmic-security/restricted Packages [14B]

Get:27 http://security.ubuntu.com karmic-security/main Sources [28.5kB]

Get:28 http://security.ubuntu.com karmic-security/restricted Sources [14B]

Get:29 http://security.ubuntu.com karmic-security/universe Packages [51.1kB]

Get:30 http://security.ubuntu.com karmic-security/universe Sources [8743B]

Get:31 http://security.ubuntu.com karmic-security/multiverse Packages [1666B]

Get:32 http://security.ubuntu.com karmic-security/multiverse Sources [577B]

Get:33 http://archive.ubuntu.com karmic-backports/restricted Packages [14B]

Get:34 http://archive.ubuntu.com karmic-backports/universe Packages [21.1kB]

Get:35 http://archive.ubuntu.com karmic-backports/multiverse Packages [14B]

Ign http://ppa.launchpad.net karmic Release

Get:36 http://ppa.launchpad.net karmic/main Packages [1810B]

Get:37 http://ppa.launchpad.net karmic/main Packages [2322B]

Get:38 http://pl.archive.ubuntu.com karmic/restricted Packages [7971B]

Get:39 http://pl.archive.ubuntu.com karmic/main Sources [640kB]

Get:40 http://pl.archive.ubuntu.com karmic/restricted Sources [3270B]

Get:41 http://pl.archive.ubuntu.com karmic/universe Packages [5133kB]

Get:42 http://pl.archive.ubuntu.com karmic/universe Sources [2795kB]

Get:43 http://pl.archive.ubuntu.com karmic/multiverse Packages [190kB]

Get:44 http://pl.archive.ubuntu.com karmic/multiverse Sources [116kB]

Get:45 http://pl.archive.ubuntu.com karmic-updates/main Packages [210kB]

Get:46 http://pl.archive.ubuntu.com karmic-updates/restricted Packages [14B]

Get:47 http://pl.archive.ubuntu.com karmic-updates/main Sources [62.5kB]

Get:48 http://pl.archive.ubuntu.com karmic-updates/restricted Sources [14B]

Get:49 http://pl.archive.ubuntu.com karmic-updates/universe Packages [128kB]

Get:50 http://pl.archive.ubuntu.com karmic-updates/universe Sources [30.4kB]

Get:51 http://pl.archive.ubuntu.com karmic-updates/multiverse Packages [10.1kB]

Get:52 http://pl.archive.ubuntu.com karmic-updates/multiverse Sources [4598B]

Fetched 11.3MB in 1min52s (101kB/s)

Reading package lists... Done

W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991

W: GPG error: http://packages.medibuntu.org karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783

W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9761EDC37AB674BA

W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A9A06AEF9CB8DB0

W: You may want to run apt-get update to correct these problems

Teraz wykonałem polecenie apt-get upgrade i wszystko ok. Polecenie make

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'


  ERROR: Kernel configuration is invalid.

         include/generated/autoconf.h or include/config/auto.conf are missing.

         Run 'make oldconfig && make prepare' on kernel src to fix it.



  WARNING: Symbol version dump /usr/src/linux/Module.symvers

           is missing; modules will have no dependencies and modversions.


  CC [M] /root/ipwraw-ng/ipwraw.o

cc1: error: include/generated/autoconf.h: No such file or directory

/root/ipwraw-ng/ipwraw.c:43:27: error: net/ieee80211.h: No such file or directory

In file included from include/linux/prefetch.h:14,

                 from include/linux/list.h:6,

                 from include/linux/mm_types.h:7,

                 from include/linux/kmemcheck.h:4,

                 from include/linux/skbuff.h:18,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/processor.h:117: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)

/usr/src/linux/arch/x86/include/asm/processor.h:117: error: requested alignment is not a constant

In file included from include/linux/prefetch.h:14,

                 from include/linux/list.h:6,

                 from include/linux/mm_types.h:7,

                 from include/linux/kmemcheck.h:4,

                 from include/linux/skbuff.h:18,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/processor.h:163:1: warning: "cache_line_size" redefined

In file included from /usr/src/linux/arch/x86/include/asm/processor.h:28,

                 from include/linux/prefetch.h:14,

                 from include/linux/list.h:6,

                 from include/linux/mm_types.h:7,

                 from include/linux/kmemcheck.h:4,

                 from include/linux/skbuff.h:18,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/cache.h:64:1: warning: this is the location of the previous definition

/usr/src/linux/arch/x86/include/asm/processor.h: In function 'load_cr3':

/usr/src/linux/arch/x86/include/asm/processor.h:194: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/processor.h:194: error: (Each undeclared identifier is reported only once

/usr/src/linux/arch/x86/include/asm/processor.h:194: error: for each function it appears in.)

/usr/src/linux/arch/x86/include/asm/processor.h: At top level:

/usr/src/linux/arch/x86/include/asm/processor.h:243: error: requested alignment is not a constant

/usr/src/linux/arch/x86/include/asm/processor.h:274: error: requested alignment is not a constant

/usr/src/linux/arch/x86/include/asm/processor.h: In function 'wbinvd_halt':

/usr/src/linux/arch/x86/include/asm/processor.h:790: error: implicit declaration of function 'halt'

In file included from /usr/src/linux/arch/x86/include/asm/atomic.h:4,

                 from /usr/src/linux/arch/x86/include/asm/thread_info.h:24,

                 from include/linux/thread_info.h:56,

                 from include/linux/preempt.h:9,

                 from include/linux/spinlock.h:50,

                 from include/linux/mm_types.h:8,

                 from include/linux/kmemcheck.h:4,

                 from include/linux/skbuff.h:18,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:201: warning: type defaults to 'int' in declaration of 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h:201: error: expected ';', ',' or ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:213: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:225: error: expected declaration specifiers or '...' before 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_add':

/usr/src/linux/arch/x86/include/asm/atomic_64.h:228: error: 'v' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/atomic_64.h:227: error: invalid lvalue in asm output 0

/usr/src/linux/arch/x86/include/asm/atomic_64.h:227: error: memory input 2 is not directly addressable

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:239: error: expected declaration specifiers or '...' before 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_sub':

/usr/src/linux/arch/x86/include/asm/atomic_64.h:242: error: 'v' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/atomic_64.h:241: error: invalid lvalue in asm output 0

/usr/src/linux/arch/x86/include/asm/atomic_64.h:241: error: memory input 2 is not directly addressable

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:255: error: expected declaration specifiers or '...' before 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_sub_and_test':

/usr/src/linux/arch/x86/include/asm/atomic_64.h:260: error: 'v' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/atomic_64.h:259: error: invalid lvalue in asm output 0

/usr/src/linux/arch/x86/include/asm/atomic_64.h:259: error: memory input 3 is not directly addressable

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:271: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:284: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:299: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:317: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:336: error: expected declaration specifiers or '...' before 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_add_negative':

/usr/src/linux/arch/x86/include/asm/atomic_64.h:341: error: 'v' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/atomic_64.h:340: error: invalid lvalue in asm output 0

/usr/src/linux/arch/x86/include/asm/atomic_64.h:340: error: memory input 3 is not directly addressable

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:353: error: expected declaration specifiers or '...' before 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_add_return':

/usr/src/linux/arch/x86/include/asm/atomic_64.h:357: error: 'v' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/atomic_64.h:356: error: invalid lvalue in asm output 1

/usr/src/linux/arch/x86/include/asm/atomic_64.h:356: error: memory input 3 is not directly addressable

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:362: error: expected declaration specifiers or '...' before 'atomic64_t'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_sub_return':

/usr/src/linux/arch/x86/include/asm/atomic_64.h:364: error: 'v' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/atomic_64.h:364: error: too many arguments to function 'atomic64_add_return'

/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:

/usr/src/linux/arch/x86/include/asm/atomic_64.h:370: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:375: error: expected ')' before '*' token

/usr/src/linux/arch/x86/include/asm/atomic_64.h:425: error: expected ')' before '*' token

In file included from include/linux/mm_types.h:8,

                 from include/linux/kmemcheck.h:4,

                 from include/linux/skbuff.h:18,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/spinlock.h: In function 'spin_lock_irq':

include/linux/spinlock.h:306: error: implicit declaration of function 'local_irq_disable'

include/linux/spinlock.h: In function 'spin_unlock_irq':

include/linux/spinlock.h:331: error: implicit declaration of function 'local_irq_enable'

include/linux/spinlock.h: In function 'spin_unlock_irqrestore':

include/linux/spinlock.h:336: error: implicit declaration of function 'local_irq_restore'

In file included from include/linux/kmemcheck.h:4,

                 from include/linux/skbuff.h:18,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/mm_types.h:27:5: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined

include/linux/mm_types.h:71:5: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined

In file included from include/linux/mmzone.h:16,

                 from include/linux/gfp.h:4,

                 from include/linux/kmod.h:22,

                 from include/linux/module.h:13,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/nodemask.h: In function '__first_node':

include/linux/nodemask.h:239: error: implicit declaration of function 'find_first_bit'

include/linux/nodemask.h: In function '__next_node':

include/linux/nodemask.h:245: error: implicit declaration of function 'find_next_bit'

include/linux/nodemask.h: In function '__first_unset_node':

include/linux/nodemask.h:268: error: implicit declaration of function 'find_first_zero_bit'

In file included from include/linux/gfp.h:4,

                 from include/linux/kmod.h:22,

                 from include/linux/module.h:13,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/mmzone.h:18:30: error: generated/bounds.h: No such file or directory

include/linux/mmzone.h:258:5: warning: "MAX_NR_ZONES" is not defined

In file included from include/linux/gfp.h:4,

                 from include/linux/kmod.h:22,

                 from include/linux/module.h:13,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/mmzone.h: At top level:

include/linux/mmzone.h:300: error: 'MAX_NR_ZONES' undeclared here (not in a function)

In file included from include/linux/elf.h:7,

                 from include/linux/module.h:14,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/elf.h: In function 'elf_common_init':

/usr/src/linux/arch/x86/include/asm/elf.h:167: error: 'struct thread_struct' has no member named 'fs'

In file included from include/linux/tracepoint.h:18,

                 from include/linux/module.h:18,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/rcupdate.h:71:2: error: #error "Unknown RCU implementation specified to kernel configuration"

In file included from include/linux/tracepoint.h:18,

                 from include/linux/module.h:18,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/rcupdate.h: In function 'rcu_read_lock':

include/linux/rcupdate.h:121: error: implicit declaration of function '__rcu_read_lock'

include/linux/rcupdate.h: In function 'rcu_read_unlock':

include/linux/rcupdate.h:145: error: implicit declaration of function '__rcu_read_unlock'

include/linux/rcupdate.h: In function 'rcu_read_lock_bh':

include/linux/rcupdate.h:161: error: implicit declaration of function '__rcu_read_lock_bh'

include/linux/rcupdate.h: In function 'rcu_read_unlock_bh':

include/linux/rcupdate.h:175: error: implicit declaration of function '__rcu_read_unlock_bh'

In file included from include/linux/slab_def.h:144,

                 from include/linux/slab.h:166,

                 from include/linux/percpu.h:5,

                 from /usr/src/linux/arch/x86/include/asm/local.h:4,

                 from include/linux/module.h:20,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/kmalloc_sizes.h:5:5: warning: "CONFIG_X86_L1_CACHE_SHIFT" is not defined

include/linux/kmalloc_sizes.h:9:5: warning: "CONFIG_X86_L1_CACHE_SHIFT" is not defined

In file included from /usr/src/linux/arch/x86/include/asm/local.h:4,

                 from include/linux/module.h:20,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/percpu.h: In function 'per_cpu_ptr_to_phys':

include/linux/percpu.h:161: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

In file included from include/linux/module.h:21,

                 from include/linux/textsearch.h:7,

                 from include/linux/skbuff.h:27,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/module.h:59:2: error: #error unknown processor family

In file included from include/linux/ktime.h:25,

                 from include/linux/timer.h:5,

                 from include/linux/workqueue.h:8,

                 from include/linux/pm.h:25,

                 from include/linux/device.h:24,

                 from include/linux/dmaengine.h:24,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:24:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:26:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:28:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:30:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:32:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:34:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:36:7: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:39:3: error: #error Invalid value of HZ.

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined

include/linux/jiffies.h:257:31: error: division by zero in #if

include/linux/jiffies.h:257:46: warning: "SHIFT_HZ" is not defined

In file included from /usr/src/linux/arch/x86/include/asm/x86_init.h:5,

                 from /usr/src/linux/arch/x86/include/asm/pgtable.h:19,

                 from include/linux/mm.h:39,

                 from include/linux/scatterlist.h:6,

                 from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/bootparam.h: At top level:

/usr/src/linux/arch/x86/include/asm/bootparam.h:96: error: field 'edid_info' has incomplete type

In file included from include/linux/mm.h:39,

                 from include/linux/scatterlist.h:6,

                 from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/pgtable.h: In function 'pmd_page_vaddr':

/usr/src/linux/arch/x86/include/asm/pgtable.h:344: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/pgtable.h: In function 'pud_page_vaddr':

/usr/src/linux/arch/x86/include/asm/pgtable.h:415: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/pgtable.h: In function 'pgd_page_vaddr':

/usr/src/linux/arch/x86/include/asm/pgtable.h:455: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

In file included from include/linux/scatterlist.h:6,

                 from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/mm.h: In function 'virt_to_head_page':

include/linux/mm.h:318: error: implicit declaration of function '__pfn_to_page'

include/linux/mm.h:318: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

include/linux/mm.h:318: warning: initialization makes pointer from integer without a cast

In file included from include/linux/scatterlist.h:6,

                 from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/mm.h:454:63: warning: "NR_PAGEFLAGS" is not defined

include/linux/mm.h:502:62: warning: "NR_PAGEFLAGS" is not defined

In file included from include/linux/scatterlist.h:6,

                 from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/mm.h: In function 'lowmem_page_address':

include/linux/mm.h:592: error: implicit declaration of function '__page_to_pfn'

include/linux/mm.h:592: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

include/linux/mm.h:943:5: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined

In file included from include/linux/scatterlist.h:8,

                 from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

/usr/src/linux/arch/x86/include/asm/io.h: In function 'virt_to_phys':

/usr/src/linux/arch/x86/include/asm/io.h:99: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

/usr/src/linux/arch/x86/include/asm/io.h: In function 'phys_to_virt':

/usr/src/linux/arch/x86/include/asm/io.h:117: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

In file included from include/linux/dma-mapping.h:7,

                 from include/linux/dmaengine.h:26,

                 from include/linux/skbuff.h:30,

                 from include/linux/if_ether.h:124,

                 from include/net/ieee80211_radiotap.h:38,

                 from /root/ipwraw-ng/ipwraw.c:44:

include/linux/scatterlist.h: In function 'sg_set_buf':

include/linux/scatterlist.h:112: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)

include/linux/scatterlist.h:112: warning: passing argument 2 of 'sg_set_page' makes pointer from integer without a cast

In file included from /root/ipwraw-ng/ipwraw.c:48:

/root/ipwraw-ng/ipwraw.h:32:28: error: linux/autoconf.h: No such file or directory

/root/ipwraw-ng/ipwraw.h:35:27: error: linux/version.h: No such file or directory

In file included from include/net/netns/mib.h:4,

                 from include/net/net_namespace.h:12,

                 from include/linux/netdevice.h:47,

                 from /root/ipwraw-ng/ipwraw.h:37,

                 from /root/ipwraw-ng/ipwraw.c:48:

include/net/snmp.h: At top level:

include/net/snmp.h:74: error: requested alignment is not a constant

include/net/snmp.h:82: error: requested alignment is not a constant

include/net/snmp.h:87: error: requested alignment is not a constant

include/net/snmp.h:93: error: requested alignment is not a constant

include/net/snmp.h:98: error: requested alignment is not a constant

include/net/snmp.h:105: error: requested alignment is not a constant

include/net/snmp.h:111: error: requested alignment is not a constant

In file included from include/linux/hardirq.h:10,

                 from include/linux/interrupt.h:12,

                 from include/linux/netdevice.h:1107,

                 from /root/ipwraw-ng/ipwraw.h:37,

                 from /root/ipwraw-ng/ipwraw.c:48:

/usr/src/linux/arch/x86/include/asm/hardirq.h:29: error: requested alignment is not a constant

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.h:682:5: warning: "LINUX_VERSION_CODE" is not defined

/root/ipwraw-ng/ipwraw.h:682:26: warning: "KERNEL_VERSION" is not defined

/root/ipwraw-ng/ipwraw.h:682:40: error: missing binary operator before token "("

/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:53: error: implicit declaration of function 'WLAN_FC_GET_STYPE'

/root/ipwraw-ng/ipwraw.c:55: error: implicit declaration of function 'WLAN_FC_GET_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 use 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 'ipw_send_cmd':

/root/ipwraw-ng/ipwraw.c:974: error: implicit declaration of function 'local_irq_save'

/root/ipwraw-ng/ipwraw.c:1015: error: 'CONFIG_HZ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:1015: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:1015: error: implicit declaration of function 'signal_pending'

/root/ipwraw-ng/ipwraw.c:1015: error: implicit declaration of function 'schedule_timeout'

/root/ipwraw-ng/ipwraw.c: In function 'show_temperature':

/root/ipwraw-ng/ipwraw.c:1360: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'is_channel_a_band':

/root/ipwraw-ng/ipwraw.c:1709: error: 'IEEE80211_52GHZ_BAND' undeclared (first use 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 use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'store_channel':

/root/ipwraw-ng/ipwraw.c:1878: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:1884: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'store_band':

/root/ipwraw-ng/ipwraw.c:1926: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:1927: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'show_status':

/root/ipwraw-ng/ipwraw.c:2432: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'show_cfg':

/root/ipwraw-ng/ipwraw.c:2443: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'dump_error_log':

/root/ipwraw-ng/ipwraw.c:2460: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'dump_event_log':

/root/ipwraw-ng/ipwraw.c:2474: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'show_rf_kill':

/root/ipwraw-ng/ipwraw.c:2488: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'store_rf_kill':

/root/ipwraw-ng/ipwraw.c:2545: error: 'struct device' has no member named 'driver_data'

/root/ipwraw-ng/ipwraw.c: In function 'ipw_irq_handle_error':

/root/ipwraw-ng/ipwraw.c:2596: error: 'TASK_INTERRUPTIBLE' undeclared (first use 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 use in this function)

/root/ipwraw-ng/ipwraw.c:3294: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'reg_txpower_periodic':

/root/ipwraw-ng/ipwraw.c:3455: error: 'CONFIG_HZ' undeclared (first use 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 use 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 use in this function)

/root/ipwraw-ng/ipwraw.c:4112: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_post_alive_work':

/root/ipwraw-ng/ipwraw.c:4227: error: 'CONFIG_HZ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:4248: error: 'IEEE80211_OFDM_DEFAULT_RATES_MASK' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:4249: error: 'IEEE80211_OFDM_BASIC_RATES_MASK' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:4250: error: 'IEEE80211_CCK_DEFAULT_RATES_MASK' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:4251: error: 'IEEE80211_CCK_BASIC_RATES_MASK' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_nic_reset':

/root/ipwraw-ng/ipwraw.c:4991: error: 'TASK_INTERRUPTIBLE' undeclared (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 'ieee80211_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:6399:5: warning: "LINUX_VERSION_CODE" is not defined

/root/ipwraw-ng/ipwraw.c:6399:26: warning: "KERNEL_VERSION" is not defined

/root/ipwraw-ng/ipwraw.c:6399:40: error: missing binary operator before token "("

/root/ipwraw-ng/ipwraw.c:6402: error: 'struct sk_buff' has no member named 'mac'

/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 inside parameter list

/root/ipwraw-ng/ipwraw.c:6416: warning: its scope is only this definition or declaration, 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 inside 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:6469: error: 'CONFIG_HZ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6469: warning: type defaults to 'int' in declaration of '__dummy2'

/root/ipwraw-ng/ipwraw.c:6469: warning: comparison of distinct pointer types lacks a cast

/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 use in this function)

/root/ipwraw-ng/ipwraw.c:6504: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use 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 use 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 use 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 (first use in this function)

/root/ipwraw-ng/ipwraw.c:6540: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: At top level:

/root/ipwraw-ng/ipwraw.c:6563: warning: 'struct ieee80211_rx_stats' declared inside 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 use in this function)

/root/ipwraw-ng/ipwraw.c:6618: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use 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 use 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 use in this function)

/root/ipwraw-ng/ipwraw.c:6646: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c: In function 'ipw_tx_complete':

/root/ipwraw-ng/ipwraw.c:6841: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_handle_reply_rx':

/root/ipwraw-ng/ipwraw.c:6852: error: variable 'stats' has initializer but incomplete type

/root/ipwraw-ng/ipwraw.c:6853: error: unknown field 'rssi' specified in initializer

/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 initializer

/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 initializer

/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 initializer

/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 initializer

/root/ipwraw-ng/ipwraw.c:6857: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6857: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6858: error: unknown field 'received_channel' specified in initializer

/root/ipwraw-ng/ipwraw.c:6858: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6858: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6859: error: unknown field 'len' specified in initializer

/root/ipwraw-ng/ipwraw.c:6859: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6859: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6860: error: unknown field 'freq' specified in initializer

/root/ipwraw-ng/ipwraw.c:6863: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6863: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6863: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6863: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6864: error: unknown field 'tsf' specified in initializer

/root/ipwraw-ng/ipwraw.c:6864: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6864: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6865: error: unknown field 'beacon_time' specified in initializer

/root/ipwraw-ng/ipwraw.c:6865: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:6865: warning: (near initialization for 'stats')

/root/ipwraw-ng/ipwraw.c:6852: error: storage size of 'stats' isn't known

/root/ipwraw-ng/ipwraw.c:6881: error: 'IEEE80211_STATMASK_RSSI' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6885: error: 'IEEE80211_STATMASK_SIGNAL' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6887: error: 'IEEE80211_STATMASK_NOISE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6889: error: 'IEEE80211_STATMASK_RATE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:6852: warning: unused variable 'stats'

/root/ipwraw-ng/ipwraw.c: In function 'ipw_rx_handle':

/root/ipwraw-ng/ipwraw.c:7187: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: At top level:

/root/ipwraw-ng/ipwraw.c:7256: warning: 'struct ieee80211_hdr_4addr' declared inside parameter list

/root/ipwraw-ng/ipwraw.c: In function 'ipw_build_tx_cmd_rate':

/root/ipwraw-ng/ipwraw.c:7263: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7264: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7286: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7286: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7286: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7286: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7295: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7302: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7303: error: 'IEEE80211_STYPE_AUTH' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7304: error: 'IEEE80211_STYPE_DEAUTH' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7305: error: 'IEEE80211_STYPE_ASSOC_REQ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7306: error: 'IEEE80211_STYPE_REASSOC_REQ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: At top level:

/root/ipwraw-ng/ipwraw.c:7333: warning: 'struct ieee80211_hdr_4addr' declared inside parameter list

/root/ipwraw-ng/ipwraw.c: In function 'ipw_build_tx_cmd_basic':

/root/ipwraw-ng/ipwraw.c:7340: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7340: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7341: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7344: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7344: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7345: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7354: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7354: error: 'IEEE80211_FCTL_MOREFRAGS' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7359: error: 'IEEE80211_FCS_LEN' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7366: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7366: error: 'IEEE80211_FCTL_PROTECTED' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7382: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7383: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7384: error: 'IEEE80211_STYPE_ASSOC_REQ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7385: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7386: error: 'IEEE80211_STYPE_REASSOC_REQ' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'tx_skb':

/root/ipwraw-ng/ipwraw.c:7420: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7422: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7423: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7427: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7427: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7427: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7427: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7430: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7439: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7491: warning: passing argument 3 of 'ipw_build_tx_cmd_basic' from incompatible pointer type

/root/ipwraw-ng/ipwraw.c:7493: warning: passing argument 3 of 'ipw_build_tx_cmd_rate' from incompatible pointer type

/root/ipwraw-ng/ipwraw.c: In function 'ipw_net_hard_start_xmit':

/root/ipwraw-ng/ipwraw.c:7562: error: invalid application of 'sizeof' to incomplete type 'struct ieee80211_hdr_1addr'

/root/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7581: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7581: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7581: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7581: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:7582: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7583: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7586: error: dereferencing pointer to incomplete type

/root/ipwraw-ng/ipwraw.c:7686:7: warning: "LINUX_VERSION_CODE" is not defined

/root/ipwraw-ng/ipwraw.c:7686:28: warning: "KERNEL_VERSION" is not defined

/root/ipwraw-ng/ipwraw.c:7686:42: error: missing binary operator before token "("

/root/ipwraw-ng/ipwraw.c: In function 'ipw_bg_rf_kill':

/root/ipwraw-ng/ipwraw.c:7751: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_down':

/root/ipwraw-ng/ipwraw.c:8160: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: In function 'ipw_prom_alloc':

/root/ipwraw-ng/ipwraw.c:8374: error: 'ARPHRD_IEEE80211_RADIOTAP' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8375: error: 'struct net_device' has no member named 'open'

/root/ipwraw-ng/ipwraw.c:8376: error: 'struct net_device' has no member named 'stop'

/root/ipwraw-ng/ipwraw.c:8377: error: 'struct net_device' has no member named 'get_stats'

/root/ipwraw-ng/ipwraw.c:8378: error: 'struct net_device' has no member named 'hard_start_xmit'

/root/ipwraw-ng/ipwraw.c: In function 'ipw_wx_set_freq':

/root/ipwraw-ng/ipwraw.c:8517: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8523: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c: At top level:

/root/ipwraw-ng/ipwraw.c:8739: error: unknown field 'num_private' specified in initializer

/root/ipwraw-ng/ipwraw.c:8739: warning: initialization makes pointer from integer without a cast

/root/ipwraw-ng/ipwraw.c:8740: error: unknown field 'num_private_args' specified in initializer

/root/ipwraw-ng/ipwraw.c:8740: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:8740: warning: (near initialization for 'ipw_wx_handler_def')

/root/ipwraw-ng/ipwraw.c:8741: error: unknown field 'private' specified in initializer

/root/ipwraw-ng/ipwraw.c:8741: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:8741: warning: (near initialization for 'ipw_wx_handler_def')

/root/ipwraw-ng/ipwraw.c:8742: error: unknown field 'private_args' specified in initializer

/root/ipwraw-ng/ipwraw.c:8742: warning: excess elements in struct initializer

/root/ipwraw-ng/ipwraw.c:8742: warning: (near initialization for 'ipw_wx_handler_def')

/root/ipwraw-ng/ipwraw.c: In function 'ipw_pci_probe':

/root/ipwraw-ng/ipwraw.c:8870: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8872: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8897: error: 'struct net_device' has no member named 'hard_start_xmit'

/root/ipwraw-ng/ipwraw.c:8898: error: 'struct net_device' has no member named 'open'

/root/ipwraw-ng/ipwraw.c:8899: error: 'struct net_device' has no member named 'stop'

/root/ipwraw-ng/ipwraw.c:8900: error: 'struct net_device' has no member named 'get_stats'

/root/ipwraw-ng/ipwraw.c:8901: error: 'struct net_device' has no member named 'set_mac_address'

/root/ipwraw-ng/ipwraw.c:8902: error: 'ARPHRD_IEEE80211' undeclared (first use in this function)

/root/ipwraw-ng/ipwraw.c:8904: error: 'struct net_device' has no member named 'wireless_handlers'

make[2]: *** [/root/ipwraw-ng/ipwraw.o] Error 1

make[1]: *** [_module_/root/ipwraw-ng] Error 2

make[1]: Leaving directory `/usr/src/linux'

make: *** [modules] Error 2

root@bt:~/ipwraw-ng# make install

make: *** No rule to make target `ipwraw.ko', needed by `install'. Stop.

root@bt:~/ipwraw-ng#

Pobrałem już Kubuntu 10.4 i teraz zaczne go instalowac. Zobacze, czy na nowym sys pójdzie.

EDIT: Ten cały kubuntu mi się nie podoba. Zresztą nie moge uruchomić neta, chociaż chodzi sterownik. Instaluje spowrotem backtracka 4, bo bardziej mi się podoba. Roobal i jak znalazłeś cudowny lek na to?

-- Dodane 03.05.2010 (Pn) 13:02 --

Udało się:slight_smile:

Teraz poradnik dla wszystkich co mieli ten sam problem.

Ściągamy sterowniki stąd: http://dl.aircrack-ng.org/drivers/compa ... nh.tar.bz2

Rozpakujemy

make

make install

make unload

modprobe -r iwl3945

modprobe iwl3945

I arp request chodzi :-). Robiłem to na BackTrack 4. Aby zhakowac swoją sieĆ, potrzebowałem 10 sekund. Aż straszne...

Uwaga. Na samym początku mamy 0 arp request, ale wystarczy poczekać z 2 minuty i zacznie się dziać.