Kompilace ovladačů Wi-Fi

Kompilace ovladačů Wi-Fi
« kdy: 01. 05. 2011, 23:43:35 »
Mam Ubuntu 11.04 a snažím sa skompilovať compat-wireless-2.6 aby mi išlo správne wifi ale

ked idem podla návodu v readme až kým nedám "make" kde aj skoncim:
Kód: [Vybrat]
tommq@error:~$ cd Plocha
tommq@error:~/Plocha$ cd compat-wireless-2011-04-30
tommq@error:~/Plocha/compat-wireless-2011-04-30$ ./scripts/driver-select ath9k
Processing new driver-select request...
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/wireless/Makefile.bk
Backup exists: drivers/net/wireless/ath/Makefile.bk
Backup exists: net/wireless/Makefile.bk
Backup exists: drivers/net/Makefile.bk
Backup exists: drivers/ssb/Makefile.bk
Backup exists: drivers/misc/eeprom/Makefile.bk
Backup exists: Makefile.bk
tommq@error:~/Plocha/compat-wireless-2011-04-30$ make
/home/tommq/Plocha/compat-wireless-2011-04-30/config.mk:199: "WARNING: CONFIG_CFG80211_WEXT will be deactivated or not working because kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools using wext interface like iwconfig will not work. To activate it build your kernel e.g. with CONFIG_LIBIPW=m."
make -C /lib/modules/2.6.38-8-generic/build M=/home/tommq/Plocha/compat-wireless-2011-04-30 modules
make: *** /lib/modules/2.6.38-8-generic/build: Adresár alebo súbor neexistuje. Stop.
make: *** [modules] Chyba 2
tommq@error:~/Plocha/compat-wireless-2011-04-30$
... build-essential a checkinstall nainštalovane mam. V čom môže byť chyba ?  :)
« Poslední změna: 01. 05. 2011, 23:54:28 od Petr Krčmář »


Re: Kompilace ovladačů Wi-Fi
« Odpověď #1 kdy: 01. 05. 2011, 23:56:48 »
Chybí ti hlavičkové soubory jádra. Ty jsou potřeba, aby bylo možné proti jádru kompilovat další software. Doinstaluj si balíček linux-headers-2.6.38-8.

Re: Kompilace ovladačů Wi-Fi
« Odpověď #2 kdy: 02. 05. 2011, 00:48:18 »
diki už to funguje  :D

Re: Kompilace ovladačů Wi-Fi
« Odpověď #3 kdy: 08. 05. 2011, 10:46:55 »
mam dalsi problém z kompiláciou ovládača. Ked dam make začne kompilovať ale skonči to týmto:
Kód: [Vybrat]
.
.
.
  CC [M]  /home/tommq/Plocha/a/drivers/net/wireless/ath/ath9k/ar9002_mac.o
  CC [M]  /home/tommq/Plocha/a/drivers/net/wireless/ath/ath9k/ar9003_mac.o
  CC [M]  /home/tommq/Plocha/a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.o
  CC [M]  /home/tommq/Plocha/a/drivers/net/wireless/ath/ath9k/ar9003_paprd.o
  LD [M]  /home/tommq/Plocha/a/drivers/net/wireless/ath/ath9k/ath9k.o
  LD [M]  /home/tommq/Plocha/a/drivers/net/wireless/ath/ath9k/ath9k_hw.o
  LD [M]  /home/tommq/Plocha/a/drivers/net/wireless/ath/ath9k/ath9k_common.o
  LD [M]  /home/tommq/Plocha/a/drivers/net/wireless/ath/ath9k/ath9k_htc.o
  LD      /home/tommq/Plocha/a/net/mac80211/built-in.o
  CC [M]  /home/tommq/Plocha/a/net/mac80211/main.o
  CC [M]  /home/tommq/Plocha/a/net/mac80211/status.o
  CC [M]  /home/tommq/Plocha/a/net/mac80211/sta_info.o
  CC [M]  /home/tommq/Plocha/a/net/mac80211/wep.o
  CC [M]  /home/tommq/Plocha/a/net/mac80211/wpa.o
  CC [M]  /home/tommq/Plocha/a/net/mac80211/scan.o
  CC [M]  /home/tommq/Plocha/a/net/mac80211/offchannel.o
  CC [M]  /home/tommq/Plocha/a/net/mac80211/ht.o
  CC [M]  /home/tommq/Plocha/a/net/mac80211/agg-tx.o
/home/tommq/Plocha/a/net/mac80211/agg-tx.c: In function ‘___ieee80211_stop_tx_ba_session’:
/home/tommq/Plocha/a/net/mac80211/agg-tx.c:158:3: error: implicit declaration of function ‘kfree_rcu’
/home/tommq/Plocha/a/net/mac80211/agg-tx.c:158:21: error: ‘rcu_head’ undeclared (first use in this function)
/home/tommq/Plocha/a/net/mac80211/agg-tx.c:158:21: note: each undeclared identifier is reported only once for each function it appears in
/home/tommq/Plocha/a/net/mac80211/agg-tx.c: In function ‘ieee80211_tx_ba_session_handle_start’:
/home/tommq/Plocha/a/net/mac80211/agg-tx.c:317:21: error: ‘rcu_head’ undeclared (first use in this function)
/home/tommq/Plocha/a/net/mac80211/agg-tx.c: In function ‘ieee80211_stop_tx_ba_cb’:
/home/tommq/Plocha/a/net/mac80211/agg-tx.c:696:20: error: ‘rcu_head’ undeclared (first use in this function)
make[3]: *** [/home/tommq/Plocha/a/net/mac80211/agg-tx.o] Chyba 1
make[2]: *** [/home/tommq/Plocha/a/net/mac80211] Chyba 2
make[1]: *** [_module_/home/tommq/Plocha/a] Chyba 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make: *** [modules] Chyba 2


vie niekto čo s tym ? diki