Codice: Seleziona tutto
[root@Vito:rtl8187B_linux_24.6.1021.0212.2007]# ./makedrv
rm -fr *.mod.c *.mod *.o .*.cmd *.mod.* *.ko *.o *~
make -C /lib/modules/2.6.22.1/build M=/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-2.6.22'
CC [M] /home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.o
In file included from /home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:17:
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211.h:56: error: redeclaration of enumerator 'false'
include/linux/stddef.h:16: error: previous definition of 'false' was here
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211.h:56: error: redeclaration of enumerator 'true'
include/linux/stddef.h:18: error: previous definition of 'true' was here
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211.h:56: error: conflicting types for 'bool'
include/linux/types.h:36: error: previous declaration of 'bool' was here
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c: In function 'ieee80211_softmac_scan_wq':
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:448: warning: passing argument 2 of 'queue_delayed_work' from incompatible pointer type
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c: In function 'ieee80211_softmac_stop_scan':
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:534: warning: passing argument 1 of 'cancel_delayed_work' from incompatible pointer type
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c: In function 'ieee80211_associate_abort':
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:1031: warning: passing argument 2 of 'queue_delayed_work' from incompatible pointer type
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:1519:4: warning: #warning CHECK_LOCK_HERE
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:1559:2: warning: #warning CHECK_LOCK_HERE
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c: In function 'ieee80211_stop_protocol':
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:2303: warning: passing argument 1 of 'cancel_delayed_work' from incompatible pointer type
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:2423:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c: In function 'ieee80211_softmac_init':
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:2423: error: 'INIT_WORK' undeclared (first use in this function)
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:2423: error: (Each undeclared identifier is reported only once
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:2423: error: for each function it appears in.)
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:2424:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:2425:94: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:2426:96: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:2427:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:2428:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c: In function 'ieee80211_softmac_free':
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:2456: warning: passing argument 1 of 'cancel_delayed_work' from incompatible pointer type
make[2]: *** [/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.o] Error 1
make[1]: *** [_module_/home/vito/rtl8187B_linux_24.6.1021.0212.2007/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22'
make: *** [modules] Error 2
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
make -C /lib/modules/2.6.22.1/build M=/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-2.6.22'
CC [M] /home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.o
In file included from /home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:64:
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187.h:29:26: error: linux/config.h: No such file or directory
In file included from /home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187.h:50,
from /home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:64:
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/ieee80211.h:56: error: redeclaration of enumerator 'false'
include/linux/stddef.h:16: error: previous definition of 'false' was here
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/ieee80211.h:56: error: redeclaration of enumerator 'true'
include/linux/stddef.h:18: error: previous definition of 'true' was here
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/ieee80211.h:56: error: conflicting types for 'bool'
include/linux/types.h:36: error: previous declaration of 'bool' was here
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c: In function 'rtl8187_rx_urbsubmit':
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:916: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c: In function 'rtl8187_rx_manage_urbsubmit':
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:936: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c: In function 'rtl8180_tx':
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:2068: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:2075: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:2422:64: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c: In function 'rtl8180_init':
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:2422: error: 'INIT_WORK' undeclared (first use in this function)
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:2422: error: (Each undeclared identifier is reported only once
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:2422: error: for each function it appears in.)
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:2459:34: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c: In function 'rtl8187_usb_probe':
/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:4087: error: 'struct net_device' has no member named 'get_wireless_stats'
make[2]: *** [/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.o] Error 1
make[1]: *** [_module_/home/vito/rtl8187B_linux_24.6.1021.0212.2007/rtl8187] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22'
make: *** [modules] Error 2

