usb无线网卡驱动编译不通过求解答!!!!
发表于 : 2013-11-18 21:15
由于装的64位网卡驱动编译不了,求助,以下是错误的信息
rtl8192_8188CU_linux_v3.0.2164.20110715/os_dep/linux/usb_intf.c
rtl8192_8188CU_linux_v3.0.2164.20110715/os_dep/linux/xmit_linux.c
rtl8192_8188CU_linux_v3.0.2164.20110715/os_dep/osdep_service.c
rtl8192_8188CU_linux_v3.0.2164.20110715/runwpa
rtl8192_8188CU_linux_v3.0.2164.20110715/wlan0dhcp
rtl8192_8188CU_linux_v3.0.2164.20110715
Authentication requested [root] for make driver:
install.sh: 14: [: unexpected operator
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.11.0-13-generic/build M=/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715 modules
make[1]: 正在进入目录 `/usr/src/linux-headers-3.11.0-13-generic'
CC [M] /home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/core/rtw_cmd.o
In file included from /home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/core/rtw_cmd.c:24:0:
/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/osdep_service.h: In function ‘thread_enter’:
/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/osdep_service.h:551:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
daemonize("%s", "RTKTHREAD");
^
In file included from /home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/drv_types.h:69:0,
from /home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/core/rtw_cmd.c:25:
/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/rtw_recv.h: In function ‘rxmem_to_recvframe’:
/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/rtw_recv.h:622: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/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/rtw_recv.h:622:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;
^
cc1: some warnings being treated as errors
make[2]: *** [/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/core/rtw_cmd.o] 错误 1
make[1]: *** [_module_/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.11.0-13-generic'
make: *** [modules] 错误 2
Compile make driver error: 2, Please check error Mesg
错误不知道啊,求帮助
以下是我的代码连接
http://yun.baidu.com/share/link?shareid ... 1110148241
rtl8192_8188CU_linux_v3.0.2164.20110715/os_dep/linux/usb_intf.c
rtl8192_8188CU_linux_v3.0.2164.20110715/os_dep/linux/xmit_linux.c
rtl8192_8188CU_linux_v3.0.2164.20110715/os_dep/osdep_service.c
rtl8192_8188CU_linux_v3.0.2164.20110715/runwpa
rtl8192_8188CU_linux_v3.0.2164.20110715/wlan0dhcp
rtl8192_8188CU_linux_v3.0.2164.20110715
Authentication requested [root] for make driver:
install.sh: 14: [: unexpected operator
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.11.0-13-generic/build M=/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715 modules
make[1]: 正在进入目录 `/usr/src/linux-headers-3.11.0-13-generic'
CC [M] /home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/core/rtw_cmd.o
In file included from /home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/core/rtw_cmd.c:24:0:
/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/osdep_service.h: In function ‘thread_enter’:
/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/osdep_service.h:551:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
daemonize("%s", "RTKTHREAD");
^
In file included from /home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/drv_types.h:69:0,
from /home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/core/rtw_cmd.c:25:
/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/rtw_recv.h: In function ‘rxmem_to_recvframe’:
/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/rtw_recv.h:622: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/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/include/rtw_recv.h:622:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;
^
cc1: some warnings being treated as errors
make[2]: *** [/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715/core/rtw_cmd.o] 错误 1
make[1]: *** [_module_/home/zhuang/RTL8192CU/driver/rtl8192_8188CU_linux_v3.0.2164.20110715] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.11.0-13-generic'
make: *** [modules] 错误 2
Compile make driver error: 2, Please check error Mesg
错误不知道啊,求帮助
以下是我的代码连接
http://yun.baidu.com/share/link?shareid ... 1110148241