Kompilacja sterowników ipw3945

Karty sieciowe, modemy, routery, WiFi, Bluetooth etc.
Swistakenator
Sędziwy Jeż
Sędziwy Jeż
Posty: 35
Rejestracja: 25 cze 2008, 14:42
Płeć: Mężczyzna
Wersja Ubuntu: 8.04
Środowisko graficzne: GNOME
Kontakt:

Kompilacja sterowników ipw3945

Post autor: Swistakenator »

Mam problem z kompilacją sterowników ipw3945.

Kod: Zaznacz cały

rafal@raptop:~/pobrane/ipw3945/ipw3945-1.2.2$ make
Makefile:53:
Makefile:54: WARNING: $SHELL not set to bash.
Makefile:55: If you experience build errors, try
Makefile:56: 'make SHELL=/bin/bash'.
Makefile:57:
/bin/sh: Syntax error: "(" unexpected
/bin/sh: Syntax error: "(" unexpected
-e
 WARNING: Your kernel contains ieee80211 symbol definitions and you
are not using the kernel's default ieee80211 subsystem.  (Perhaps you
used the out-of-tree ieee80211 subsystem's 'make install' or have
provided a path to the ieee80211 subsystem via IEEE80211_INC.)

If you wish to use the out-of-tree ieee80211 subsystem then it is
recommended to use that projects' "make patch_kernel" facility
and rebuild your kernel to update the Module symbol version information.

Failure to do this may result in build warnings and unexpected
behavior when running modules which rely on the ieee80211 subsystem.


-e  Aborting the build.  You can force the build to continue by adding:

        IEEE80211_IGNORE_DUPLICATE=y

to your make command line.


make: *** [check_inc] Błąd 1
Próbowałem make IEEE80211_IGNORE_DUPLICATE=y, make SHELL=/bin/bash i innych przekształceń make które podpowiada kompilacja, ale nie idzie :/
W końcu doszedlem do wniosku, że brakuje mi ieee80211.

I znowu mam błędy kompilacji:

Kod: Zaznacz cały

rafal@raptop:~/pobrane/ieee80211-1.2.18/ieee80211-1.2.18$ sudo make install
Makefile:17:
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21:
make -C /lib/modules/2.6.24-23-generic/build M=/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18 modules
make[1]: Wejście do katalogu `/usr/src/linux-headers-2.6.24-23-generic'
/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18/Makefile:17:
/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18/Makefile:18: WARNING: $SHELL not set to bash.
/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18/Makefile:19: If you experience build errors, try
/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18/Makefile:20: 'make SHELL=/bin/bash'.
/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18/Makefile:21:
  CC [M]  /home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18/ieee80211_module.o
/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18/ieee80211_module.c: W funkcji `ieee80211_init,:
/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18/ieee80211_module.c:268: błąd: `proc_net, undeclared (first use in this function)
/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18/ieee80211_module.c:268: błąd: (Each undeclared identifier is reported only once
/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18/ieee80211_module.c:268: błąd: for each function it appears in.)
/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18/ieee80211_module.c: W funkcji `ieee80211_exit,:
/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18/ieee80211_module.c:297: błąd: `proc_net, undeclared (first use in this function)
make[2]: *** [/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18/ieee80211_module.o] Błąd 1
make[1]: *** [_module_/home/rafa/pobrane/ieee80211-1.2.18/ieee80211-1.2.18] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.24-23-generic'
make: *** [modules] Błąd 2
Teraz już całkiem nie wiem co robić :/ Pomoże ktoś?
ODPOWIEDZ

Wróć do „Urządzenia sieciowe”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 1 gość