Ok questo è ciò che accade quando mi trovo nella cartella dei drivers e lancio il comando
chmod +x install.sh e poi ./install.sh, mi dice di inserire la password di root. Dopo ciò che appare è questo:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:324:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:409:9: note: in expansion of macro ‘GetAddr1Ptr’
sa = GetAddr1Ptr(pframe);
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:324:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
#define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:409:9: note: in expansion of macro ‘GetAddr1Ptr’
sa = GetAddr1Ptr(pframe);
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:326:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:412:9: note: in expansion of macro ‘GetAddr2Ptr’
sa = GetAddr2Ptr(pframe);
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:326:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
#define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:412:9: note: in expansion of macro ‘GetAddr2Ptr’
sa = GetAddr2Ptr(pframe);
^
In file included from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/drv_types.h:80:0,
from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/core/rtw_cmd.c:24:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_xmit.h: At top level:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_xmit.h:343:24: error: field ‘xmit_tasklet’ has incomplete type
struct tasklet_struct xmit_tasklet;
^
In file included from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/drv_types.h:81:0,
from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/core/rtw_cmd.c:24:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_recv.h:208:24: error: field ‘recv_tasklet’ has incomplete type
struct tasklet_struct recv_tasklet;
^
In file included from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/drv_types.h:81:0,
from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/core/rtw_cmd.c:24:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_recv.h: In function ‘rxmem_to_recvframe’:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_recv.h:429:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_recv.h:429:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;
^
In file included from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/drv_types.h:86:0,
from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/core/rtw_cmd.c:24:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_io.h: At top level:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_io.h:35:28: fatal error: linux/smp_lock.h: No such file or directory
#include <linux/smp_lock.h>
^
cc1: some warnings being treated as errors
compilation terminated.
make[2]: *** [/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/core/rtw_cmd.o] Error 1
make[1]: *** [_module_/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic'
make: *** [modules] Error 2
Compile make driver error: 2, Please check error Mesg