Ubuntu 8.04 instalacja sterow do atheros 5007eg
siwkins - 27 Wrz 2008 16:01
Witam forumowiczow,
mam takowy problem:
w moim laptopie jest karta sieciowa atheros AR5007EG i nie moge zainstalowac do niej sterownikow.
Przeczytalem chyba wszystko na ten temat i nie moge sobie poradzic, sciagalem ndiswrappeera, madwifi itp i nie daje rady.
Robilem wszystko w/g instrukcji z forum i tez nic.
Nie mam polaczenia z internetem i musze instalowac z dysku.
Instaluje sterowniki z instrukcji ponizej ale wywala mi bledy, jakies sugestie, jestem zielony jezeli chodzi o linuxa.
Pozdrawiam
Instalacja kart WLAN opartych na układzie AR242x (*Ubuntu 8.04)
Poniżej zamieszczam opis uruchomienia nowszych kart WiFi opartych na układzie Atherosa AR242x (znanego również pod nazwą AR500x), które możemy znaleźć w nowszych laptopach (na przyklad w coraz popularniejszych kadłubkach firmy Compal o symbolu JHL90). Opis powstał na podstawie instrukcji znalezionych na http://madwifi.org/ticket/1192 oraz na http://madwifi.org/wiki/UserDocs/FirstTimeHowTo
1. Upewnijmy się, że użyliśmy kombinacji klawiszy lub włącznika włączajacego sieć WLAN (o ile takowy istnieje).
2. Za pomocą ulubionego menadżera pakietow należy zainstalować, jeśli wcześniej tego nie zrobiliśmy, pakiet "build-essential".
3. Ze stony madwifi ściągamy najnowszą wersję madwifi-HAL.
4. Rozpakowujemy plik i wchodzimy do utworzonego katalogu.
Resztę kroków należy wykonać w terminalu. Dla ułatwienia zamieszczam gotowe instrukcje również dla kroków 1-4. Przypominam, że (przynajmniej w KDE w programie Konsole) skopiowane z tej strony wiersze poleceń do konsoli wklejamy kombinacją klawiszy Shift+Ins.
Dla ułatwienia proponuję utworzenie w swoim katalogu domowym katalogu o nazwie "System", w którym będziemy przechowywać różne potrzebne systemowi rzeczy
Kod:
cd ~/
mkdir System
cd System/
sudo aptitude install build-essential
wget http://snapshots.madwifi.org/madwifi...0080903.tar.gz
tar -zxvf madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
cd madwifi-hal-0.10.5.6-r3861-20080903/
Zanim skompilujemy sterownik, zatrzymujemy (ewentualnie uruchomione) uslugi korzystające z (ewentualnie
załadowanych) modułów Atherosa. Komendy stosujemy dla każdego posiadanego urządzenia MadWiFi.
Kod:
sudo ifconfig ath0 down
sudo ifconfig wifi0 down
Wchodzimy do katalogu /scripts/ i uruchamiamy 2 skrypty ułatwiające usunięcie starych modułów.
Kod:
cd scripts
sudo ./madwifi-unload
sudo ./find-madwifi-modules.sh $(uname -r)
cd ..
Budujemy i instalujemy nowe moduły:
Kod:
make
sudo make install
I tu, niestety, musimy zrestartować system. Po restarcie karty WiFi powinny już byc obsługiwane jak należy
niestety pojawiaja sie bledy
ania(małpa)ania-laptop:~/system/madwifi-hal-0.10.5.6-r3861-20080903$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
CC [M] /home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath/if_ath.o
CC [M] /home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath/if_ath_radar.o
CC [M] /home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath/if_ath_hal_extensions.o
CC [M] /home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath/if_ath_pci.o
LD [M] /home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath/ath_pci.o
CC [M] /home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/ah_os.o
HOSTCC /home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c: At top level:
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c: In function 'main':
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode] Error 1
make[2]: *** [/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal] Error 2
make[1]: *** [_module_/home/ania/system/madwifi-hal-0.10.5.6-r3861-20080903] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [modules] Bł±d 2
ania(małpa)ania-laptop:~/system/madwifi-hal-0.10.5.6-r3861-20080903$
co robie nie tak? prosze o pomoc bo juz mi rece opadaja
xHaKeReK - 27 Wrz 2008 18:02
Wiesz co to root? Z tego błędu łatwo wyczytać że wpisywała to ania(małpa)ania-laptop czy jakoś tak a instalacja, kompilacja etc muszą być wykonywane z konta roota
szaleniec - 27 Wrz 2008 19:23
instalacja, kompilacja etc muszą być wykonywane z konta roota
Ładowanie modułu jądra, podnoszenie/wyłączanie sieciowki - owszem. Samo kompilowanie sterownikow może być przeprowadzone z konta użytkownika.
siwkins - 27 Wrz 2008 19:28
Wiesz co to root? Z tego błędu łatwo wyczytać że wpisywała to ania(małpa)ania-laptop czy jakoś tak a instalacja, kompilacja etc muszą być wykonywane z konta roota
proszę bardzo mądralo, jak nie masz pojęcia to nie wypisuj bzdur
root(małpa)ania-laptop:~# cd system/
root(małpa)ania-laptop:~/system# cd madwifi-hal-0.10.5.6-r3861-20080903/
root(małpa)ania-laptop:~/system/madwifi-hal-0.10.5.6-r3861-20080903# sudo ifconfig ath0 down
ath0: ERROR while getting interface flags: No such device
root(małpa)ania-laptop:~/system/madwifi-hal-0.10.5.6-r3861-20080903# sudo ifconfig wifi0 down
wifi0: ERROR while getting interface flags: No such device
root(małpa)ania-laptop:~/system/madwifi-hal-0.10.5.6-r3861-20080903# cd scripts
root(małpa)ania-laptop:~/system/madwifi-hal-0.10.5.6-r3861-20080903/scripts# sudo ./madwifi-unload
root(małpa)ania-laptop:~/system/madwifi-hal-0.10.5.6-r3861-20080903/scripts# sudo ./find-madwifi-modules.sh $(uname -r)
WARNING:
It seems that there are modules left from previous MadWifi installations.
If you are unistalling the MadWifi modules please press "r" to remove them.
If you are installing new MadWifi modules, you should consider removing those
already installed, or else you may experience problems during operation.
Remove old modules?
[l]ist, [r]emove, [i]gnore or e[x]it (l,r,i,[x]) ?
r
root(małpa)ania-laptop:~/system/madwifi-hal-0.10.5.6-r3861-20080903/scripts# cd ..
root(małpa)ania-laptop:~/system/madwifi-hal-0.10.5.6-r3861-20080903# make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/root/system/madwifi-hal-0.10.5.6-r3861-20080903 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
CC [M] /root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath/if_ath.o
CC [M] /root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath/if_ath_radar.o
CC [M] /root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath/if_ath_hal_extensions.o
CC [M] /root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath/if_ath_pci.o
LD [M] /root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath/ath_pci.o
CC [M] /root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/ah_os.o
HOSTCC /root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c: In function 'uudecode_usage':
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c: At top level:
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c: In function 'main':
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: for each function it appears in.)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode] Error 1
make[2]: *** [/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal] Error 2
make[1]: *** [_module_/root/system/madwifi-hal-0.10.5.6-r3861-20080903] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [modules] Bł±d 2
root(małpa)ania-laptop:~/system/madwifi-hal-0.10.5.6-r3861-20080903# sudo make install
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/root/system/madwifi-hal-0.10.5.6-r3861-20080903 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
HOSTCC /root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c: In function 'uudecode_usage':
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c: At top level:
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c: In function 'main':
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: for each function it appears in.)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode] Error 1
make[2]: *** [/root/system/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal] Error 2
make[1]: *** [_module_/root/system/madwifi-hal-0.10.5.6-r3861-20080903] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [modules] Bł±d 2
root(małpa)ania-laptop:~/system/madwifi-hal-0.10.5.6-r3861-20080903#
xHaKeReK - 27 Wrz 2008 19:39
Mądralo:P Masz zainstalowane źródła jądra?
siwkins - 27 Wrz 2008 20:21
Napisałem w pierwszym poście ze jestem zielony w temacie linux'a wiec bądź tak uprzejmy i pomóż rozwiązać problem.
Robie tak jak napisałem w/g instrukcji i jest to co widać czyli nic.
Za pomoc w rozwiązaniu problemu i sprawieniu ze karta ożyje podaruje punkty.
xHaKeReK - 27 Wrz 2008 20:41
Masz zainstalowane build-essentials? Jeśli nie to zainstaluj. ie mam ubuntu ale to chyba idzie jakoś tak:
sudo apt-get install build-essential
widziałem także tak:
sudo aptitude install build-essential
Żródła jądra to paczka kernel sources, zazwyczaj jak kompiluje jakis sterownik to ich szuka, przynajmniej w gentooa u Ciebie szuka właśnie jakihś plik/ów nagłówkowych. Wyszukaj kernel a napewno będzie coś z sources=źródła. Czytaj manuale jeśli jestes zielony. Każda komenda ma pomoc prawie. polecenie --help, -h, man polecenie. Pozdrawiam
Strona 1 z 2 • Znaleźliśmy 19 wypowiedzi • 1, 2