Pessoal,
Agora estou no meu pc... Usando o linux... o erro que acontece quando eu
dou o *make * é este...
drwxr-xr-x 3 ronaldo ronaldo 4096 2008-02-13 03:14 tools
rona...@acer4736z:~/Downloads/madwifi-0.9.4$ sudo make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.31-21-generic/build
SUBDIRS=/home/ronaldo/Downloads/madwifi-0.9.4 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-21-generic'
CC [M] /home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.o
In file included from
/home/ronaldo/Downloads/madwifi-0.9.4/ath/../net80211/ieee80211_monitor.h:45,
from /home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:71:
/home/ronaldo/Downloads/madwifi-0.9.4/ath/../ath/if_athvar.h:98: error:
conflicting types for 'irqreturn_t'
include/linux/irqreturn.h:16: note: previous declaration of
'irqreturn_t' was here
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_attach':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:402: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:678: error: 'struct
net_device' has no member named 'open'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:679: error: 'struct
net_device' has no member named 'stop'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:680: error: 'struct
net_device' has no member named 'hard_start_xmit'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:681: error: 'struct
net_device' has no member named 'tx_timeout'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:683: error: 'struct
net_device' has no member named 'set_multicast_list'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:684: error: 'struct
net_device' has no member named 'do_ioctl'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:685: error: 'struct
net_device' has no member named 'get_stats'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:686: error: 'struct
net_device' has no member named 'set_mac_address'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:687: error: 'struct
net_device' has no member named 'change_mtu'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_detach':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:958: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:1005: error: 'struct
net_device' has no member named 'stop'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_vap_create':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:1014: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:1084: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_vap_delete':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:1248: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_suspend':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:1350: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_resume':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:1359: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function 'ath_intr':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:1652: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_bmiss_tasklet':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:1843: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function 'ath_init':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:1886: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_stop_locked':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:2014: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function 'ath_stop':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:2078: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function 'ath_reset':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:2182: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_tx_startraw':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:2343: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_hardstart':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:2558: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_mgtstart':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:2875: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_key_alloc':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:3237: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_key_delete':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:3304: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_key_set':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:3380: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_key_update_begin':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:3395: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_key_update_end':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:3416: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_mode_init':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:3504: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_updateslot':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:3555: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_beacon_dturbo_config':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:3585: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_beacon_dturbo_update':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:3633: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_turbo_switch_mode':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:3776: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_bstuck_tasklet':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:4368: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_node_alloc':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:4820: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_node_cleanup':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:4855: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_node_free':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:4909: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_rx_capture':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:5404: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_tx_capture':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:5437: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_recv_mgmt':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:5502: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_rx_tasklet':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:5574: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_grppoll_start':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:6013: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_grppoll_stop':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:6226: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_wme_update':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:6441: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_uapsd_flush':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:6460: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_tx_start':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:6655: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_tx_tasklet_q0':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:7495: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_tx_tasklet_q0123':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:7516: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_tx_tasklet':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:7551: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_tx_timeout':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:7574: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_calibrate':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:7937: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_scan_start':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:8003: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_scan_end':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:8023: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_set_channel':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:8041: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_set_coverageclass':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:8057: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_mhz2ieee':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:8067: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_newstate':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:8082: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_setup_stationkey':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:8471: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_newassoc':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:8631: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_getchannels':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:8662: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_xr_rate_setup':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:8832: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_setup_subrates':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:8861: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_rate_setup':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:8904: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_getstats':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:9141: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_set_mac_address':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:9164: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_change_mtu':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:9196: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function 'ath_ioctl':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:9283: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_announce':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:9779: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c: In function
'ath_rcv_dev_event':
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:9926: error: 'struct
net_device' has no member named 'priv'
/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.c:9928: error: 'struct
net_device' has no member named 'open'
make[3]: *** [/home/ronaldo/Downloads/madwifi-0.9.4/ath/if_ath.o] Error 1
make[2]: *** [/home/ronaldo/Downloads/madwifi-0.9.4/ath] Error 2
make[1]: *** [_module_/home/ronaldo/Downloads/madwifi-0.9.4] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-21-generic'
make: ** [modules] Erro 2
rona...@acer4736z:~/Downloads/madwifi-0.9.4$
E a saída do *lspci* é:
rona...@acer4736z:~/Downloads/madwifi-0.9.4$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory
Controller Hub (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series
Chipset Integrated Graphics Controller (rev 09)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset
Integrated Graphics Controller (rev 09)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI
Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI
Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller
(rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller
(rev 03)
00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9
Family) Thermal Subsystem (rev 03)
04:00.0 Network controller: Atheros Communications Inc. AR928X Wireless
Network Adapter (PCI-Express) (rev 01)
05:00.0 Ethernet controller: Attansic Technology Corp. Device 1063 (rev c0)
rona...@acer4736z:~/Downloads/madwifi-0.9.4$
Obs... Na versao 0.9.4 eu nao encontrei o *configure*
Eu já instalei os pacotes *build-essential* e *module-assistant*, vi em
algumas páginas uns pacotes com o nome *madwifi-source* e
*madwifi-tools*, mas não informam os repositórios e não tem nos da canonial.
Paulo de Souza Lima escreveu:
> Boa tarde, Ronaldo.
>
> Que equipamento vc está usando? Pergunto isso porque eu utilizo um
> Acer Aspire One NAV50 que possui essa placa wireless e não tenho tido
> nenhum problema com ela. Inclusive *não* precisei instalar o pacote
> madwifi porque o Ubuntu reconheceu a placa automaticamente e instalou
> os drivers necessários.
>
> Pode ser que seu problema seja outro. Não com a placa.
>
> Em 15 de abril de 2010 16:35, Ronaldo Assis <[email protected]> escreveu:
>
>> Pessoal,
>>
>> Boa tarde.
>>
>> Direto ao assunto, com o pacote *build-essential* eu consigo compilar
>> drivers como o *madwifi-0.9.4.tar.gz* no *Ubuntu 9.10*?
>> Ou seria necessário mais alguns pacotes? Se sim, quais seriam?
>>
>> O problema:
>> Eu tenho tido problemas com minha WIFI *Atheros AR928X*, quero tentar
>> compilar o driver madwifi.
>> Até então eu dou o comando make e aparece alguns erros e não consigo
>> prosseguir.
>>
>> OBS: Usando o *Ndiswrapper* eu também não tive muito sucesso...
>>
>>
>> Atenciosamente,
>> *Ronaldo Assis Alves*
>>
>> "Quando for mandar uma mensagem para várias pessoas, utilize o campo
>> cco: ou bcc: no lugar do campo to: (para:). Assim você evita de divulgar
>> o endereço dos seus amigos para outras pessoas. Esta é uma das formas de
>> evitar spam e vírus.”
>>
>>
>> --
>> Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece
>>
>> Lista de discussão Ubuntu Brasil
>> Histórico, descadastramento e outras opções:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>>
>>
>
>
--
Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece
Lista de discussão Ubuntu Brasil
Histórico, descadastramento e outras opções:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br