[+] madwifi i linux-headers-2.6.32-trunk-686

Tematy związane z oprogramowaniem, instalacją, konfiguracją
Awatar użytkownika
grafka
Posty: 3
Rejestracja: 10 czerwca 2010, 15:00
Lokalizacja: wro/gaj

[+] madwifi i linux-headers-2.6.32-trunk-686

Post autor: grafka »

Witam, jestem nowy na forum więc proszę nie bijcie.
Mam kartę wifi na chipie atherosa ar 2413 i chciałbym zainstalować madwifi na moim Debianie.
Znalazłem fajny poradnik na tym forum LINK.
Moje jajko to 2.6.32-trunk-686
Problem polega na tym, że po poleceniu:

Kod: Zaznacz cały

m-a a-i madwifi
module-asistant wywala :

Kod: Zaznacz cały

Updated infos about 1 packages
Getting source for kernel version: 2.6.32-trunk-686
apt-get install linux-headers-2.6.32-trunk-686
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
E: Nie udało się odnaleźć pakietu linux-headers-2.6.32-trunk-686
apt-get install build-essential
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
build-essential jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.

Done!
Próbowałem wykonać:

Kod: Zaznacz cały

m-a -l 2.6.32-3-686 a-i madwifi
Co daje w konsoli:

Kod: Zaznacz cały

# m-a -l 2.6.32-3-686 a-i madwifi

Updated infos about 1 packages
Getting source for kernel version: 2.6.32-3-686
Kernel headers available in /lib/modules/2.6.32-3-686/build
apt-get install build-essential
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
build-essential jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.

Done!
unpack
Extracting the package tarball, /usr/src/madwifi.tar.bz2, please wait...
"/usr/share/modass/overrides/madwifi-source" build KVERS=2.6.32-3-686 KSRC=/lib/modules/2.6.32-3-686/build KDREV=2.6.32-9 kdist_image
log m-a jest niestety większy:

Kod: Zaznacz cały

dh_testdir
dh_testroot
dh_clean
/usr/bin/make -C /usr/src/modules/madwifi clean \
	KERNELPATH=/lib/modules/2.6.32-3-686/build KERNELRELEASE=2.6.32-3-686 KERNELCONF=/lib/modules/2.6.32-3-686/build/.config
make[1]: Wejście do katalogu `/usr/src/modules/madwifi'
for i in ath/ ath_hal/ ath_rate/ net80211/; do \
		/usr/bin/make -C $i clean; \
	done
make[2]: Entering directory `/usr/src/modules/madwifi/ath'
rm -f *~ *.o *.ko *.mod.c .*.cmd
rm -f modules.order .depend .version .*.o.flags .*.o.d
rm -rf .tmp_versions
make[2]: Leaving directory `/usr/src/modules/madwifi/ath'
make[2]: Entering directory `/usr/src/modules/madwifi/ath_hal'
rm -f *~ *.o *.ko *.mod.c uudecode .*.cmd
rm -f modules.order .depend .version .*.o.flags .*.o.d
rm -rf .tmp_versions
make[2]: Leaving directory `/usr/src/modules/madwifi/ath_hal'
make[2]: Entering directory `/usr/src/modules/madwifi/ath_rate'
for i in amrr/ onoe/ sample/ minstrel/; do \
		/usr/bin/make -C $i clean; \
	done
make[3]: Entering directory `/usr/src/modules/madwifi/ath_rate/amrr'
rm -f *~ *.o *.ko *.mod.c
rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[3]: Leaving directory `/usr/src/modules/madwifi/ath_rate/amrr'
make[3]: Entering directory `/usr/src/modules/madwifi/ath_rate/onoe'
rm -f *~ *.o *.ko *.mod.c
rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[3]: Leaving directory `/usr/src/modules/madwifi/ath_rate/onoe'
make[3]: Entering directory `/usr/src/modules/madwifi/ath_rate/sample'
rm -f *~ *.o *.ko *.mod.c
rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[3]: Leaving directory `/usr/src/modules/madwifi/ath_rate/sample'
make[3]: Entering directory `/usr/src/modules/madwifi/ath_rate/minstrel'
rm -f *~ *.o *.ko *.mod.c
rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[3]: Leaving directory `/usr/src/modules/madwifi/ath_rate/minstrel'
rm -f modules.order
make[2]: Leaving directory `/usr/src/modules/madwifi/ath_rate'
make[2]: Entering directory `/usr/src/modules/madwifi/net80211'
rm -f *~ *.o *.ko *.mod.c
rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[2]: Leaving directory `/usr/src/modules/madwifi/net80211'
/usr/bin/make -C ./tools  clean
make[2]: Entering directory `/usr/src/modules/madwifi/tools'
rm -f athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig wpakey core a.out
for d in ath_info; do \
		/usr/bin/make -C $d clean; \
	done
make[3]: Entering directory `/usr/src/modules/madwifi/tools/ath_info'
rm -f *.o ath_info
make[3]: Leaving directory `/usr/src/modules/madwifi/tools/ath_info'
make[2]: Leaving directory `/usr/src/modules/madwifi/tools'
rm -rf .tmp_versions
rm -f modules.order *.symvers svnversion.h
make[1]: Opuszczenie katalogu `/usr/src/modules/madwifi'
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Wejście do katalogu `/usr/src/modules/madwifi'
dh_testdir
dh_testroot
dh_clean
/usr/bin/make -C /usr/src/modules/madwifi clean \
	KERNELPATH=/lib/modules/2.6.32-3-686/build KERNELRELEASE=2.6.32-3-686 KERNELCONF=/lib/modules/2.6.32-3-686/build/.config
make[2]: Wejście do katalogu `/usr/src/modules/madwifi'
for i in ath/ ath_hal/ ath_rate/ net80211/; do \
		/usr/bin/make -C $i clean; \
	done
make[3]: Entering directory `/usr/src/modules/madwifi/ath'
rm -f *~ *.o *.ko *.mod.c .*.cmd
rm -f modules.order .depend .version .*.o.flags .*.o.d
rm -rf .tmp_versions
make[3]: Leaving directory `/usr/src/modules/madwifi/ath'
make[3]: Entering directory `/usr/src/modules/madwifi/ath_hal'
rm -f *~ *.o *.ko *.mod.c uudecode .*.cmd
rm -f modules.order .depend .version .*.o.flags .*.o.d
rm -rf .tmp_versions
make[3]: Leaving directory `/usr/src/modules/madwifi/ath_hal'
make[3]: Entering directory `/usr/src/modules/madwifi/ath_rate'
for i in amrr/ onoe/ sample/ minstrel/; do \
		/usr/bin/make -C $i clean; \
	done
make[4]: Entering directory `/usr/src/modules/madwifi/ath_rate/amrr'
rm -f *~ *.o *.ko *.mod.c
rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[4]: Leaving directory `/usr/src/modules/madwifi/ath_rate/amrr'
make[4]: Entering directory `/usr/src/modules/madwifi/ath_rate/onoe'
rm -f *~ *.o *.ko *.mod.c
rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[4]: Leaving directory `/usr/src/modules/madwifi/ath_rate/onoe'
make[4]: Entering directory `/usr/src/modules/madwifi/ath_rate/sample'
rm -f *~ *.o *.ko *.mod.c
rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[4]: Leaving directory `/usr/src/modules/madwifi/ath_rate/sample'
make[4]: Entering directory `/usr/src/modules/madwifi/ath_rate/minstrel'
rm -f *~ *.o *.ko *.mod.c
rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[4]: Leaving directory `/usr/src/modules/madwifi/ath_rate/minstrel'
rm -f modules.order
make[3]: Leaving directory `/usr/src/modules/madwifi/ath_rate'
make[3]: Entering directory `/usr/src/modules/madwifi/net80211'
rm -f *~ *.o *.ko *.mod.c
rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[3]: Leaving directory `/usr/src/modules/madwifi/net80211'
/usr/bin/make -C ./tools  clean
make[3]: Entering directory `/usr/src/modules/madwifi/tools'
rm -f athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig wpakey core a.out
for d in ath_info; do \
		/usr/bin/make -C $d clean; \
	done
make[4]: Entering directory `/usr/src/modules/madwifi/tools/ath_info'
rm -f *.o ath_info
make[4]: Leaving directory `/usr/src/modules/madwifi/tools/ath_info'
make[3]: Leaving directory `/usr/src/modules/madwifi/tools'
rm -rf .tmp_versions
rm -f modules.order *.symvers svnversion.h
make[2]: Opuszczenie katalogu `/usr/src/modules/madwifi'
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.32-3-686/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.32-3-686/g ;s/#KVERS#/2.6.32-3-686/g ; s/_KVERS_/2.6.32-3-686/g ; s/##KDREV##/2.6.32-9/g ; s/#KDREV#/2.6.32-9/g ; s/_KDREV_/2.6.32-9/g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testdir
dh_testroot
dh_clean -k
# Build modules
/usr/bin/make -C /usr/src/modules/madwifi modules \
	KERNELPATH=/lib/modules/2.6.32-3-686/build KERNELRELEASE=2.6.32-3-686 KERNELCONF=/lib/modules/2.6.32-3-686/build/.config
make[2]: Wejście do katalogu `/usr/src/modules/madwifi'
Checking requirements... ok.
Checking kernel configuration... ok.
/usr/bin/make -C /lib/modules/2.6.32-3-686/build SUBDIRS=/usr/src/modules/madwifi modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.32-3-686'
  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.32-3-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:1184: error: 'struct net_device' has no member named 'stop'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_vap_create':
/usr/src/modules/madwifi/ath/if_ath.c:1193: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:1268: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_vap_delete':
/usr/src/modules/madwifi/ath/if_ath.c:1452: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_suspend':
/usr/src/modules/madwifi/ath/if_ath.c:1552: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:1552: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:1552: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:1552: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:1552: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:1552: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_resume':
/usr/src/modules/madwifi/ath/if_ath.c:1559: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:1559: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:1559: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:1559: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:1559: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:1559: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_intr':
/usr/src/modules/madwifi/ath/if_ath.c:2259: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_fatal_tasklet':
/usr/src/modules/madwifi/ath/if_ath.c:2455: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_rxorn_tasklet':
/usr/src/modules/madwifi/ath/if_ath.c:2465: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_bmiss_tasklet':
/usr/src/modules/madwifi/ath/if_ath.c:2475: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_init':
/usr/src/modules/madwifi/ath/if_ath.c:2517: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_stop_locked':
/usr/src/modules/madwifi/ath/if_ath.c:2620: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_stop':
/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: In function 'ath_beacon_dturbo_update':
/usr/src/modules/madwifi/ath/if_ath.c:4426: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_turbo_switch_mode':
/usr/src/modules/madwifi/ath/if_ath.c:4569: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_bstuck_tasklet':
/usr/src/modules/madwifi/ath/if_ath.c:5282: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_node_alloc':
/usr/src/modules/madwifi/ath/if_ath.c:5690: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_node_cleanup':
/usr/src/modules/madwifi/ath/if_ath.c:5718: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_recv_mgmt':
/usr/src/modules/madwifi/ath/if_ath.c:6238: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_rx_tasklet':
/usr/src/modules/madwifi/ath/if_ath.c:6361: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_grppoll_start':
/usr/src/modules/madwifi/ath/if_ath.c:6799: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_grppoll_stop':
/usr/src/modules/madwifi/ath/if_ath.c:7005: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_wme_update':
/usr/src/modules/madwifi/ath/if_ath.c:7211: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_uapsd_flush':
/usr/src/modules/madwifi/ath/if_ath.c:7230: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_tx_start':
/usr/src/modules/madwifi/ath/if_ath.c:7403: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_tx_tasklet_q0':
/usr/src/modules/madwifi/ath/if_ath.c:8242: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_tx_tasklet_q0123':
/usr/src/modules/madwifi/ath/if_ath.c:8263: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_tx_tasklet':
/usr/src/modules/madwifi/ath/if_ath.c:8307: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_tx_timeout':
/usr/src/modules/madwifi/ath/if_ath.c:8335: error: 'struct net_device' has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_calibrate':
/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'
cc1: warnings being treated as errors
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_sysctl_halparam':
/usr/src/modules/madwifi/ath/if_ath.c:10502: error: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10502: error: too many arguments to function 'proc_dointvec'
/usr/src/modules/madwifi/ath/if_ath.c:10813: error: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10813: error: too many arguments to function 'proc_dointvec'
/usr/src/modules/madwifi/ath/if_ath.c: At top level:
/usr/src/modules/madwifi/ath/if_ath.c:10825: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10831: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10837: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10843: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10849: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10855: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10861: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10867: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10873: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10880: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10887: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10893: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10899: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10905: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10911: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10918: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10924: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10931: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10937: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10943: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10949: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10955: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10961: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10967: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10973: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10979: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10985: error: initialization from incompatible pointer type
/usr/src/modules/madwifi/ath/if_ath.c:10991: error: initialization from incompatible pointer type
/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[7]: *** [/usr/src/modules/madwifi/ath/if_ath.o] Error 1
make[6]: *** [/usr/src/modules/madwifi/ath] Error 2
make[5]: *** [_module_/usr/src/modules/madwifi] Error 2
make[4]: *** [sub-make] Error 2
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.32-3-686'
make[2]: *** [modules] BĹ‚Ä…d 2
make[2]: Opuszczenie katalogu `/usr/src/modules/madwifi'
make[1]: *** [binary-modules] BĹ‚Ä…d 2
make[1]: Opuszczenie katalogu `/usr/src/modules/madwifi'
make: *** [kdist_build] BĹ‚Ä…d 2
Nie wiem co z tym dalej zrobić?

Generalnie to pytanie sprowadza sie do tego jak podmienić linux-headers-2.6.32-trunk-686 na inne.
Z tego co wyczytalem to może to być 2.6.32-3-686 tylko nie wiem jak to zrobić?
Awatar użytkownika
parrotlarch
Beginner
Posty: 393
Rejestracja: 12 kwietnia 2007, 07:31
Lokalizacja: Olsztyn

Post autor: parrotlarch »

A po co używasz takiego jądra? Wyższa wersja jest w repo squeeze. Nie miałbyś problemu z:

Kod: Zaznacz cały

E: Nie udało się odnaleźć pakietu linux-headers-2.6.32-trunk-686
Co do zasady kompilując jądro możesz zbudować sobie paczkę linux-headers, ale jeszcze łatwiej użyć gotowej z repo.
pavbaranov
Senior Member
Posty: 2156
Rejestracja: 29 lipca 2007, 18:06

Post autor: pavbaranov »

Pomijając już to o czym wspomniał parrotlarch wyżej. Po co w ogóle chcesz używać madwifi? Na kernelu - bodaj od 2.6.26 działa sobie spokojnie i dobrze ath5k, które obsługuje Twoją kartę.
Awatar użytkownika
grafka
Posty: 3
Rejestracja: 10 czerwca 2010, 15:00
Lokalizacja: wro/gaj

Post autor: grafka »

Chciałbym żeby ta karta pracowała jako punkt dostępowy, tj. w trybie master.
Na moim komputerze jajko kompiluje się jakieś 8 godzin więc odpada, jest jakie jest.
pavbaranov
Senior Member
Posty: 2156
Rejestracja: 29 lipca 2007, 18:06

Post autor: pavbaranov »

Nikt nie każe Ci kompilować. Ściągnij najwyższe dostępne dystrybucyjne dla Twojej gałęzi. Albo inaczej - to, które współpracuje z madwifi, skoro musisz je mieć (szczerze nie wiem, czy athXk obsługują ten tryb, którym jesteś zainteresowany, czy nie).
rpc
Posty: 7
Rejestracja: 24 października 2009, 12:45

Post autor: rpc »

ath5k w routerach obsługuje hostapd bez problemu więc i tu też powinno.
Ostatnio ustawiałem dynamic vlan na hostapd na ath9k w openwrt i działało wyśmienicie.
Wniosek się raczej powinno dać.
Awatar użytkownika
grafka
Posty: 3
Rejestracja: 10 czerwca 2010, 15:00
Lokalizacja: wro/gaj

Post autor: grafka »

Skompilowałem sobie nowe jajko 2.6.26-2-686.
Madwifi działa, komputery łączą się z punktem dostępowym, udhcpd i pppoeconf też skonfigurowane.
Zostaje jeszcze iptables, a później hostapd do uwierzytelnienia.
Temat można usunąć bo nikt nie powiedział tutaj nic co pomogłoby rozwiązać problem, jedynie ominąć.
ODPOWIEDZ