Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2011-04-09 18:28:07

  limak - Użytkownik

limak
Użytkownik
Skąd: Tłuszcz
Zarejestrowany: 2009-01-08

Madwifi - błąd przy tworzeniu modułu jadra

Postępując zgodnie z artykułem http://dug.net.pl/tekst/46/polaczenie_wifi_przez_karte_atheros/
Problem powstaje po wpisywaniu polecenia:

Kod:

m-a a-i madwifi

wywala

Kod:

module-assistant, interactive mode 
        Build of the package madwifi-source failed! How do you wish   
        to proceed?

 VIEW     Examine the build log file                   
 CONTINUE Skip and continue with the next operation      
  STOP     Stop processing the build commands

Tu po wciśnięciu *View Examine the build log file *

Kod:

dh_testdir
dh_testroot
dh_clean
/usr/bin/make -C /usr/src/modules/madwifi clean \
    KERNELPATH=/lib/modules/2.6.32-5-486/build KERNELRELEASE=2.6.32-5-486 KERNELCONF=/lib/modules/2.6.32-5-486/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-5-486/build KERNELRELEASE=2.6.32-5-486 KERNELCONF=/lib/modules/2.6.32-5-486/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-5-486/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-5-486/g ;s/#KVERS#/2.6.32-5-486/g ; s/_KVERS_/2.6.32-5-486/g ; s/##KDREV##/2.6.32-31/g ; s/#KDREV#/2.6.32-31/g ; s/_KDREV_/2.6.32-31/g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
# Build modules
/usr/bin/make -C /usr/src/modules/madwifi modules \
    KERNELPATH=/lib/modules/2.6.32-5-486/build KERNELRELEASE=2.6.32-5-486 KERNELCONF=/lib/modules/2.6.32-5-486/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-5-486/build SUBDIRS=/usr/src/modules/madwifi modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.32-5-486'
  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-5-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-5-486'
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

Co można poradzić aby stworzyć moduł bez błędu i móc załadować go da jadra ?

Offline

 

#2  2011-04-09 18:36:24

  torrentow - Członek Sejmowej Komisji Śledczej

torrentow
Członek Sejmowej Komisji Śledczej
Skąd: z GNU
Zarejestrowany: 2009-11-23

Re: Madwifi - błąd przy tworzeniu modułu jadra

Jaki masz procesor?


Każdy sam sobie szkodzi :)
http://img715.imageshack.us/img715/7104/apt.png

Offline

 

#3  2011-04-09 18:41:04

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/random
Zarejestrowany: 2008-01-07

Re: Madwifi - błąd przy tworzeniu modułu jadra

Potrzebne:

Kod:

lspci -k | grep -iA3 atheros

I informacja, czy to karta w stadardzie BG czy BGN.

Madwifi-ng obsługuje tylko karty G, do N stosuje się ath9k.
Poza tym np

Kod:

uname -a

Kod:

cat /etc/debian_version

napisz też, czy masz zainstalowane

Kod:

linux-headers-$(uname -r)

i jaka wersja madwifi - mam na myśli wynik polecenia:

Kod:

apt-cache show madwifi* | grep -i filename

oraz wersja kompilatora, ostatnia linia z wyniku

Kod:

cc -v

np u mnie:

Kod:

gcc version 4.5.1 (Gentoo Hardened 4.5.1-r1 p1.4, pie-0.4.5)

To by było na tyle
;-)

Ostatnio edytowany przez Jacekalex (2011-04-09 18:45:35)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#4  2011-04-09 18:42:05

  limak - Użytkownik

limak
Użytkownik
Skąd: Tłuszcz
Zarejestrowany: 2009-01-08

Re: Madwifi - błąd przy tworzeniu modułu jadra

VIA Samuel 2/VIA C3

Offline

 

#5  2011-04-09 19:47:52

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Madwifi - błąd przy tworzeniu modułu jadra

limak napisał(-a):

VIA Samuel 2/VIA C3

To nie wiele mówi.

Podaj to o co Jacekalex prosił.


Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#6  2011-04-09 20:13:40

  limak - Użytkownik

limak
Użytkownik
Skąd: Tłuszcz
Zarejestrowany: 2009-01-08

Re: Madwifi - błąd przy tworzeniu modułu jadra

Kod:

limak@slimak:~$ lspci -k | grep -iA3 atheros
00:09.0 Ethernet controller: Atheros Communications Inc. AR2413 802.11bg NIC (rev 01)
        Subsystem: Atheros Communications Inc. Compex Wireless 802.11 b/g  MiniPCI Adapter, Rev A1 [WLM54G]
        Kernel driver in use: ath5k
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller

karta bg

Kod:

Linux slimak 2.6.32-5-486 #1 Tue Mar 8 21:03:02 UTC 2011 i686 GNU/Linux

Kod:

limak@slimak:~$ cat /etc/debian_version
6.0.1

tak mam zainstalowane linux-headers-2.6.32-5-486

wersja madwifi
Version: 1:0.9.4+r3772.20080716-1

gcc version 4.4.5 (Debian 4.4.5-8)


co do procesora to jest on zintegrowany z płyta http://www.pcchips.com.tw/PCCWebSite/Products/Produ … 1&LanID=0 wiecej info nie posiadam

Ostatnio edytowany przez limak (2011-04-09 20:16:40)

Offline

 

#7  2011-04-09 20:23:45

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Madwifi - błąd przy tworzeniu modułu jadra

Ale Ty chyba nie potrzebujesz madwifi.

Pokaż

Kod:

ifconfig -a

Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#8  2011-04-09 20:36:40

  limak - Użytkownik

limak
Użytkownik
Skąd: Tłuszcz
Zarejestrowany: 2009-01-08

Re: Madwifi - błąd przy tworzeniu modułu jadra

Karta jest wykrywana przez system można ja odpalić, ale potrzebuje zrobić z niej AP wiec bez madwifi sama jej obecność mi nic nie daje.

Offline

 

#9  2011-04-09 21:03:34

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Madwifi - błąd przy tworzeniu modułu jadra

Obawiam się ,że na tym kernelu madwifi nie skompilujesz.

W debianie madwifi był jeszcze w Lennym ale tam był kernel 2.6.26.

To już chyba martwy projekt.


Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#10  2011-04-09 21:13:48

  Huk - Smoleńsk BULWA!

Huk
Smoleńsk BULWA!
Zarejestrowany: 2006-11-08

Re: Madwifi - błąd przy tworzeniu modułu jadra

@limak:

Hostap bez problemów powinien działać BEZ madwifi, jak dobrze pamiętam na portalu DUG'a są dokładnie instrukcje jak postawić AP na Atherosie ze sterownikiem ath5k - poszukaj.

EDIT:

O tutaj masz ;]

http://dug.net.pl/tekst/119/hostap/

Ostatnio edytowany przez Huk (2011-04-09 21:14:57)

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)