Error compilacion

Spanish Forum

Moderator: vrkalak

Error compilacion

Postby zer0beat on Thu Mar 04, 2010 6:14 pm

El problema es que he intentado instalar los drivers madwifi para mi tarjeta de red Atheros he leido manuales y ponen que hagamos dentro de la carpeta donde se encuentra descomprimido el programa $ make , pero al hacerlo me da este error:
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.31-19-generic/build SUBDIRS=/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-19-generic'
CC [M] /home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.o
In file included from /home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/../net80211/ieee80211_monitor.h:45,
from /home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:71:
/home/zer0beat/Documentos/drivers/tarjetared/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/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_attach':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:402: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:678: error: 'struct net_device' has no member named 'open'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:679: error: 'struct net_device' has no member named 'stop'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:680: error: 'struct net_device' has no member named 'hard_start_xmit'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:681: error: 'struct net_device' has no member named 'tx_timeout'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:683: error: 'struct net_device' has no member named 'set_multicast_list'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:684: error: 'struct net_device' has no member named 'do_ioctl'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:685: error: 'struct net_device' has no member named 'get_stats'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:686: error: 'struct net_device' has no member named 'set_mac_address'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:687: error: 'struct net_device' has no member named 'change_mtu'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_detach':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:958: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:1005: error: 'struct net_device' has no member named 'stop'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_vap_create':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:1014: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:1084: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_vap_delete':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:1248: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_suspend':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:1350: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_resume':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:1359: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_intr':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:1652: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_bmiss_tasklet':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:1843: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_init':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:1886: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_stop_locked':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:2014: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_stop':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:2078: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_reset':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:2182: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_startraw':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:2343: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_hardstart':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:2558: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_mgtstart':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:2875: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_alloc':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:3237: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_delete':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:3304: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_set':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:3380: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_update_begin':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:3395: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_update_end':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:3416: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_mode_init':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:3504: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_updateslot':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:3555: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_beacon_dturbo_config':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:3585: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_beacon_dturbo_update':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:3633: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_turbo_switch_mode':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:3776: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_bstuck_tasklet':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:4368: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_alloc':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:4820: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_cleanup':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:4855: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_free':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:4909: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rx_capture':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:5404: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_capture':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:5437: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_recv_mgmt':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:5502: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rx_tasklet':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:5574: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_grppoll_start':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:6013: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_grppoll_stop':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:6226: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_wme_update':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:6441: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_uapsd_flush':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:6460: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_start':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:6655: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet_q0':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:7495: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet_q0123':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:7516: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:7551: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_timeout':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:7574: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_calibrate':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:7937: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_scan_start':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:8003: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_scan_end':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:8023: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_channel':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:8041: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_coverageclass':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:8057: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_mhz2ieee':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:8067: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_newstate':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:8082: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_setup_stationkey':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:8471: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_newassoc':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:8631: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_getchannels':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:8662: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_xr_rate_setup':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:8832: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_setup_subrates':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:8861: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rate_setup':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:8904: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_getstats':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:9141: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_mac_address':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:9164: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_change_mtu':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:9196: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_ioctl':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:9283: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_announce':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:9779: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rcv_dev_event':
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:9926: error: 'struct net_device' has no member named 'priv'
/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.c:9928: error: 'struct net_device' has no member named 'open'
make[3]: *** [/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath/if_ath.o] Error 1
make[2]: *** [/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4/ath] Error 2
make[1]: *** [_module_/home/zer0beat/Documentos/drivers/tarjetared/madwifi-0.9.4] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-19-generic'
make: *** [modules] Error 2



He leido que puede ser porque esten mal instaladas las fuentes de kernel pero en mint no tengo ni idea de como instalarlas, he probado con build-essential y nada, alguna idea de como poder hacerlo funcionar? Gracias!!
zer0beat
Level 1
Level 1
 
Posts: 1
Joined: Thu Mar 04, 2010 6:04 pm

Linux Mint is funded by ads and donations.
 

Return to Español (Spanish)

Who is online

Users browsing this forum: No registered users and 7 guests