Αλλαγή γραμματοσειράς
Ημερομηνία Κυρ Μάιος 19, 2019 3:38 pm
foss.aueb.gr

Hardware

[solved] Madwifi - Atheros drivers - Errors on make

Ερωτήσεις σχετικές με υποστήριξη Hardware, Drivers, Chipsets, etc

[solved] Madwifi - Atheros drivers - Errors on make

Δημοσίευσηαπό cypha » Τρί Νοέμ 03, 2009 8:25 pm

Λεπον ακολουθω αυτα http://madwifi-project.org/wiki/UserDocs/FirstTimeHowTo
και παω να κανω make το πακετο και μου πεταει ενα καρο errors :think:
[Reveal] Spoiler: errors on make
Κώδικας: Επιλογή όλων
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.31-1-amd64/build SUBDIRS=/usr/src/modules/madwifi modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-1-amd64'
CC [M] /usr/src/modules/madwifi/ath/if_ath.o
In file included from /usr/src/modules/madwifi/ath/../net80211/ieee80211_monitor.h:34,
from /usr/src/modules/madwifi/ath/if_ath.c:75:
/usr/src/modules/madwifi/ath/../ath/if_athvar.h:107: error: conflicting types for 'irqreturn_t'
/usr/src/linux-headers-2.6.31-1-common/include/linux/irqreturn.h:16: error: previous declaration of 'irqreturn_t' was here
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_attach':
/usr/src/modules/madwifi/ath/if_ath.c:478: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:818: error: 'struct net_device' has no member named 'open'
/usr/src/modules/madwifi/ath/if_ath.c:819: error: 'struct net_device' has no member named 'stop'
/usr/src/modules/madwifi/ath/if_ath.c:820: error: 'struct net_device' has no member named 'hard_start_xmit'
/usr/src/modules/madwifi/ath/if_ath.c:821: error: 'struct net_device' has no member named 'tx_timeout'
/usr/src/modules/madwifi/ath/if_ath.c:823: error: 'struct net_device' has no member named 'set_multicast_list'
/usr/src/modules/madwifi/ath/if_ath.c:824: error: 'struct net_device' has no member named 'do_ioctl'
/usr/src/modules/madwifi/ath/if_ath.c:825: error: 'struct net_device' has no member named 'get_stats'
/usr/src/modules/madwifi/ath/if_ath.c:826: error: 'struct net_device' has no member named 'set_mac_address'
/usr/src/modules/madwifi/ath/if_ath.c:827: error: 'struct net_device' has no member named 'change_mtu'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_detach':
/usr/src/modules/madwifi/ath/if_ath.c:1129: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:2701: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_reset':
/usr/src/modules/madwifi/ath/if_ath.c:2741: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_tx_startraw':
/usr/src/modules/madwifi/ath/if_ath.c:2960: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_hardstart':
/usr/src/modules/madwifi/ath/if_ath.c:3272: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_mgtstart':
/usr/src/modules/madwifi/ath/if_ath.c:3619: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_key_alloc':
/usr/src/modules/madwifi/ath/if_ath.c:3951: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_key_delete':
/usr/src/modules/madwifi/ath/if_ath.c:4016: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_key_set':
/usr/src/modules/madwifi/ath/if_ath.c:4092: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_key_update_begin':
/usr/src/modules/madwifi/ath/if_ath.c:4107: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_key_update_end':
/usr/src/modules/madwifi/ath/if_ath.c:4128: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_mode_init':
/usr/src/modules/madwifi/ath/if_ath.c:4218: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_updateslot':
/usr/src/modules/madwifi/ath/if_ath.c:4350: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_beacon_dturbo_config':
/usr/src/modules/madwifi/ath/if_ath.c:4377: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:8722: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_scan_start':
/usr/src/modules/madwifi/ath/if_ath.c:8802: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_scan_end':
/usr/src/modules/madwifi/ath/if_ath.c:8822: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_set_channel':
/usr/src/modules/madwifi/ath/if_ath.c:8840: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_set_coverageclass':
/usr/src/modules/madwifi/ath/if_ath.c:8856: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_mhz2ieee':
/usr/src/modules/madwifi/ath/if_ath.c:8866: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_newstate':
/usr/src/modules/madwifi/ath/if_ath.c:8881: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_setup_stationkey':
/usr/src/modules/madwifi/ath/if_ath.c:9376: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_newassoc':
/usr/src/modules/madwifi/ath/if_ath.c:9537: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_getchannels':
/usr/src/modules/madwifi/ath/if_ath.c:9568: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_xr_rate_setup':
/usr/src/modules/madwifi/ath/if_ath.c:9866: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_setup_subrates':
/usr/src/modules/madwifi/ath/if_ath.c:9895: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_rate_setup':
/usr/src/modules/madwifi/ath/if_ath.c:9938: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_printtxbuf':
/usr/src/modules/madwifi/ath/if_ath.c:10162: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_getstats':
/usr/src/modules/madwifi/ath/if_ath.c:10189: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_set_mac_address':
/usr/src/modules/madwifi/ath/if_ath.c:10212: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_change_mtu':
/usr/src/modules/madwifi/ath/if_ath.c:10241: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_ioctl':
/usr/src/modules/madwifi/ath/if_ath.c:10330: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_announce':
/usr/src/modules/madwifi/ath/if_ath.c:11083: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'txcont_configure_radio':
/usr/src/modules/madwifi/ath/if_ath.c:11279: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'txcont_queue_packet':
/usr/src/modules/madwifi/ath/if_ath.c:11550: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'txcont_on':
/usr/src/modules/madwifi/ath/if_ath.c:11684: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'txcont_off':
/usr/src/modules/madwifi/ath/if_ath.c:11705: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_get_dfs_testmode':
/usr/src/modules/madwifi/ath/if_ath.c:11719: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_set_dfs_testmode':
/usr/src/modules/madwifi/ath/if_ath.c:11746: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_get_txcont':
/usr/src/modules/madwifi/ath/if_ath.c:11756: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_set_txcont_power':
/usr/src/modules/madwifi/ath/if_ath.c:11774: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_get_txcont_power':
/usr/src/modules/madwifi/ath/if_ath.c:11792: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_set_txcont_rate':
/usr/src/modules/madwifi/ath/if_ath.c:11802: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_get_txcont_rate':
/usr/src/modules/madwifi/ath/if_ath.c:11819: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_set_dfs_cac_time':
/usr/src/modules/madwifi/ath/if_ath.c:11829: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_get_dfs_cac_time':
/usr/src/modules/madwifi/ath/if_ath.c:11839: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_set_dfs_excl_period':
/usr/src/modules/madwifi/ath/if_ath.c:11859: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_get_dfs_excl_period':
/usr/src/modules/madwifi/ath/if_ath.c:11868: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_test_radar':
/usr/src/modules/madwifi/ath/if_ath.c:11880: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_dump_hal_map':
/usr/src/modules/madwifi/ath/if_ath.c:11895: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_rcv_dev_event':
/usr/src/modules/madwifi/ath/if_ath.c:12003: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:12005: error: 'struct net_device' has no member named 'open'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_debug_iwpriv':
/usr/src/modules/madwifi/ath/if_ath.c:12370: error: 'struct net_device' has no member named 'priv'
make[5]: *** [/usr/src/modules/madwifi/ath/if_ath.o] Error 1
make[4]: *** [/usr/src/modules/madwifi/ath] Error 2
make[3]: *** [_module_/usr/src/modules/madwifi] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-1-amd64'
make: *** [modules] Error 2

Υποψιν οτι εχω debian lenny stable + τον τελευταιο kernel απο sid (2.6.31-* -amd64).
Απο οτι εψαξα η μονη πιθανη αιτια που μπορει να υπαρχει ειναι το οτι δεν υποστηριζουν ακομα αυτον τον kernel αν και δεν ξερω κατα ποσο ισχυει κατι τετοιο.
Τι λυσεις υπαρχουν αν φταιει αυτο; Downgrade του kernel η μηπως compiling με αλλο configuration; (and if so πως περιπου κανω το καθε ενα απο αυτα; :tongue: )

EDIT: Btw δεν δουλευει καλα το spoiler στο forum. :tongue:
Εικόνα
Άβαταρ μέλους
cypha
Moderator
 
Δημοσ.: 89
Εγγραφη: Τρί Οκτ 27, 2009 12:07 pm
Operating System: Debian lenny, Αrch linux

Re: Madwifi - Atheros drivers - Errors on make

Δημοσίευσηαπό c00kiemon5ter » Τρί Νοέμ 03, 2009 8:54 pm

Έλα ντε, τί έπαθε το spoiler ? Τί του έκανες ??????? spoiler is back

Δεν χρειάζεσαι madwifi πλέον, υπάρχει Atheros υποστήριξή στον πυρήνα και δουλεύει μια χαρά. Αν δε ξέρεις πως να κάνεις reconfigure τον kernel δε σου λέω πως γιατί βαριέμαι.

Κοίταξες για κανα bug report στο madwifi.org ή στο sid bugzilla?
Computers are simple. You just write an instruction and they follow it.
Εικόνα
a cookie! ~ i.will.do.science.to.it! Εικόνα
Άβαταρ μέλους
c00kiemon5ter
cookie hunter
 
Δημοσ.: 554
Εγγραφη: Δευτ Μάιος 11, 2009 1:55 am
Τοποθεσια: (void *)NULL
Operating System: ~ Arch ~ .: Gentoo :.

Re: Madwifi - Atheros drivers - Errors on make

Δημοσίευσηαπό c00kiemon5ter » Τρί Νοέμ 03, 2009 9:20 pm

Computers are simple. You just write an instruction and they follow it.
Εικόνα
a cookie! ~ i.will.do.science.to.it! Εικόνα
Άβαταρ μέλους
c00kiemon5ter
cookie hunter
 
Δημοσ.: 554
Εγγραφη: Δευτ Μάιος 11, 2009 1:55 am
Τοποθεσια: (void *)NULL
Operating System: ~ Arch ~ .: Gentoo :.

Re: Madwifi - Atheros drivers - Errors on make

Δημοσίευσηαπό cypha » Τρί Νοέμ 03, 2009 10:24 pm

Νταξ βρεθηκε λυση. :tongue: Εβγαλα οτι πακετα σχετικα με madwifi ειχα απο το synaptics, εκανα και make uninstall στο directory που ειχα κανει προηγουμενως make install και εφυγαν ολα και με ενα reboot εμφανιστηκε wlan0 στο ifconfig και συνδεθηκα κανονικα. Οποτε τσαμπα ολο αυτο το making. Δεν ηξερα οτι υπαρχει ηδη το module στον πυρηνα.
Ευχαριστω ΙησουΣουπερσταρ. :P
Εικόνα
Άβαταρ μέλους
cypha
Moderator
 
Δημοσ.: 89
Εγγραφη: Τρί Οκτ 27, 2009 12:07 pm
Operating System: Debian lenny, Αrch linux


Επιστροφή στην Hardware

cron
foss.aueb.gr

Μελη σε συνδεση

Συνολικά υπάρχει 1 μέλος συνδεδεμένο: 0 εγγεγραμμένο, 0 κρυφοί και 1 επισκέπτης (με βάση τα μέλη που έχουν συνδεθεί τα τελευταία 5 λεπτά)
Περισσότερα μέλη σε σύνδεση 167 την Κυρ Οκτ 02, 2016 2:55 am

Μέλη σε αυτή την Δ. Συζήτηση : Δεν υπάρχουν εγγεγραμμένα μέλη και 1 επισκέπτης

Γενέθλια

Κανένα μέλος δεν έχει γενέθλια σήμερα