Skocz do zawartości

Problem Przy Kompilacji


prqr

Rekomendowane odpowiedzi

brakuje mi jakiegos pakietu (albo kilku) przy kompilacji, moze ktos bedzie znal rozwiazanie tego problemu. oto log:

 

[root@localhost drivers]# ./makedrv 
ieee80211/ 
ieee80211/ieee80211_tx.c 
ieee80211/Modules.symvers 
ieee80211/ieee80211_softmac_wx.c 
ieee80211/LICENSE 
ieee80211/ieee80211_rx.c 
ieee80211/ieee80211_crypt_tkip.c 
ieee80211/ieee80211_crypt.h 
ieee80211/ieee80211_crypt_ccmp.c 
ieee80211/ieee80211_module.c 
ieee80211/Makefile 
ieee80211/.tmp_versions/ 
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod 
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod 
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod 
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod 
ieee80211/.tmp_versions/ieee80211-rtl.mod 
ieee80211/ieee80211.h 
ieee80211/ieee80211_softmac.c 
ieee80211/README 
ieee80211/ieee80211_wx.c 
ieee80211/ieee80211_crypt_wep.c 
ieee80211/ieee80211_crypt.c 
rtl818x-0.1/ 
rtl818x-0.1/r8180_wx.h 
rtl818x-0.1/r8180_wx.c 
rtl818x-0.1/r8180_rtl8225.h 
rtl818x-0.1/r8180_rtl8255.h 
rtl818x-0.1/AUTHORS 
rtl818x-0.1/r8180_max2820.c 
rtl818x-0.1/r8180.h 
rtl818x-0.1/r8180_max2820.h 
rtl818x-0.1/tags 
rtl818x-0.1/r8180_sa2400.h 
rtl818x-0.1/r8180_93cx6.c 
rtl818x-0.1/ieee80211.h 
rtl818x-0.1/r8180_gct.c 
rtl818x-0.1/r8180_gct.h 
rtl818x-0.1/.r8180_core.o.d 
rtl818x-0.1/r8180_rtl8225.c.old 
rtl818x-0.1/Modules.symvers 
rtl818x-0.1/CHANGES 
rtl818x-0.1/LICENSE 
rtl818x-0.1/r8180_93cx6.h 
rtl818x-0.1/README.master 
rtl818x-0.1/r8180_hw.h 
rtl818x-0.1/README 
rtl818x-0.1/r8180_pm.c 
rtl818x-0.1/r8180_sa2400.c 
rtl818x-0.1/COPYING 
rtl818x-0.1/README.adhoc 
rtl818x-0.1/r8180_rtl8225.c 
rtl818x-0.1/.tmp_versions/ 
rtl818x-0.1/.tmp_versions/r8180.mod 
rtl818x-0.1/INSTALL 
rtl818x-0.1/r8180_rtl8255.c 
rtl818x-0.1/r8180_core.c 
rtl818x-0.1/r8180_pm.h 
rtl818x-0.1/Makefile 
rtl818x-0.1/ieee80211_crypt.h 
rm -f *.mod.c *.mod *.o .*.cmd *.ko  
rm -rf /home/cichy/drivers/ieee80211/tmp 
make -C /lib/modules/2.6.23.1-42.fc8/build M=/home/cichy/drivers/ieee80211 CC=gcc modules 
make[1]: Wejście do katalogu `/usr/src/kernels/2.6.23.1-42.fc8-x86_64' 
 CC [M]  /home/cichy/drivers/ieee80211/ieee80211_softmac.o 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_scan_wq’: 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:391: warning: ISO C90 forbids mixed declarations and code 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:412: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_stop_scan’: 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:486: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_associate_abort’: 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:885: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:1359:4: warning: #warning CHECK_LOCK_HERE 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:1399:2: warning: #warning CHECK_LOCK_HERE 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_rx_frame_softmac’: 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:1470: warning: ISO C90 forbids mixed declarations and code 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_stop_protocol’: 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:2059: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:2167:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init’: 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:2167: error: ‘INIT_WORK’ undeclared (first use in this function) 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:2167: error: (Each undeclared identifier is reported only once 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:2167: error: for each function it appears in.) 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:2168:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:2169:94: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:2170:96: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:2171:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:2172:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_free’: 
/home/cichy/drivers/ieee80211/ieee80211_softmac.c:2191: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type 
make[2]: *** [/home/cichy/drivers/ieee80211/ieee80211_softmac.o] Błąd 1 
make[1]: *** [_module_/home/cichy/drivers/ieee80211] Błąd 2 
make[1]: Opuszczenie katalogu `/usr/src/kernels/2.6.23.1-42.fc8-x86_64' 
make: *** [modules] Błąd 2 
rm -f *.mod.c *.mod *.o .*.cmd *.ko  
rm -rf /home/cichy/drivers/rtl818x-0.1/tmp 
make -C /lib/modules/2.6.23.1-42.fc8/build M=/home/cichy/drivers/rtl818x-0.1 CC=gcc modules 
make[1]: Wejście do katalogu `/usr/src/kernels/2.6.23.1-42.fc8-x86_64' 
 CC [M]  /home/cichy/drivers/rtl818x-0.1/r8180_core.o 
In file included from /home/cichy/drivers/rtl818x-0.1/r8180_core.c:61: 
/home/cichy/drivers/rtl818x-0.1/r8180.h:29:26: error: linux/config.h: Nie ma takiego pliku ani katalogu 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c: In function ‘proc_get_stats_hw’: 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:354: warning: cast from pointer to integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:355: warning: cast from pointer to integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:358: warning: cast from pointer to integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:359: warning: cast from pointer to integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:362: warning: cast from pointer to integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:363: warning: cast from pointer to integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:363: warning: format ‘%x’ expects type ‘unsigned int’, but argument 8 has type ‘dma_addr_t’ 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:363: warning: format ‘%x’ expects type ‘unsigned int’, but argument 12 has type ‘dma_addr_t’ 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:363: warning: format ‘%x’ expects type ‘unsigned int’, but argument 16 has type ‘dma_addr_t’ 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c: In function ‘check_tx_ring’: 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:862: warning: cast from pointer to integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:862: warning: cast from pointer to integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:863: warning: cast from pointer to integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:863: warning: cast from pointer to integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c: In function ‘alloc_tx_desc_ring’: 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:1544: warning: cast from pointer to integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:1544: warning: cast to pointer from integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c: In function ‘alloc_rx_desc_ring’: 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:1722: warning: cast from pointer to integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:1722: warning: cast to pointer from integer of different size 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:2953:67: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c: In function ‘rtl8180_init’: 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:2953: error: ‘INIT_WORK’ undeclared (first use in this function) 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:2953: error: (Each undeclared identifier is reported only once 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:2953: error: for each function it appears in.) 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:3276: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:64) 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:3276: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c: In function ‘rtl8180_pci_probe’: 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:4031: error: ‘struct net_device’ has no member named ‘get_wireless_stats’ 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c: In function ‘rtl8180_pci_module_init’: 
/home/cichy/drivers/rtl818x-0.1/r8180_core.c:4156: error: implicit declaration of function ‘pci_module_init’ 
make[2]: *** [/home/cichy/drivers/rtl818x-0.1/r8180_core.o] Błąd 1 
make[1]: *** [_module_/home/cichy/drivers/rtl818x-0.1] Błąd 2 
make[1]: Opuszczenie katalogu `/usr/src/kernels/2.6.23.1-42.fc8-x86_64' 
make: *** [modules] Błąd 2 
[root@localhost drivers]# ./wlan0up 
./wlan0up: line 4: insmod: command not found 
./wlan0up: line 5: insmod: command not found 
./wlan0up: line 6: insmod: command not found 
./wlan0up: line 7: insmod: command not found 
./wlan0up: line 8: insmod: command not found 
./wlan0up: line 11: insmod: command not found 
./wlan0up: line 15: ifconfig: command not found 
[root@localhost drivers]#  

Odnośnik do komentarza
Udostępnij na innych stronach

Kompilacja przebiegla pomyslnie po instalacji tych pakietow i pobraniu nowszych sterownikow, pozostaje jednak druga czesc problemu, a mianowicie:

 

[root@localhost drivers]# ./wlan0up 
./wlan0up: line 4: insmod: command not found 
./wlan0up: line 5: insmod: command not found 
./wlan0up: line 6: insmod: command not found 
./wlan0up: line 7: insmod: command not found 
./wlan0up: line 8: insmod: command not found 
./wlan0up: line 11: insmod: command not found 
./wlan0up: line 15: ifconfig: command not found 
[root@localhost drivers]#  

 

jak sobie z tym poradzic?

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
×
×
  • Dodaj nową pozycję...