我是 Ubuntu 新手,需要您帮助安装 COMFAST CF-WU810N 的驱动程序。供应商提供了一张包含驱动程序的 CD,但当我使用
sudo bash install.sh
我收到以下错误:
Authentication requested [root] for make driver:
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.19.0-15-generic/build M=/home/shiv/Desktop/RTL8188EUS_linux_v4.1.4_6773.20130222/driver/rtl8188EUS_linux_v4.1.4_6773.20130222 modules
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-15-generic'
CC [M] /home/shiv/Desktop/RTL8188EUS_linux_v4.1.4_6773.20130222/driver/rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_cmd.o
In file included from /home/shiv/Desktop/RTL8188EUS_linux_v4.1.4_6773.20130222/driver/rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_cmd.c:23:0:
/home/shiv/Desktop/RTL8188EUS_linux_v4.1.4_6773.20130222/driver/rtl8188EUS_linux_v4.1.4_6773.20130222/include/osdep_service.h: In function ‘thread_enter’:
/home/shiv/Desktop/RTL8188EUS_linux_v4.1.4_6773.20130222/driver/rtl8188EUS_linux_v4.1.4_6773.20130222/include/osdep_service.h:1423:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
daemonize("%s", name);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/home/shiv/Desktop/RTL8188EUS_linux_v4.1.4_6773.20130222/driver/rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_cmd.o' failed
make[2]: *** [/home/shiv/Desktop/RTL8188EUS_linux_v4.1.4_6773.20130222/driver/rtl8188EUS_linux_v4.1.4_6773.20130222/core/rtw_cmd.o] Error 1
Makefile:1394: recipe for target '_module_/home/shiv/Desktop/RTL8188EUS_linux_v4.1.4_6773.20130222/driver/rtl8188EUS_linux_v4.1.4_6773.20130222' failed
make[1]: *** [_module_/home/shiv/Desktop/RTL8188EUS_linux_v4.1.4_6773.20130222/driver/rtl8188EUS_linux_v4.1.4_6773.20130222] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-15-generic'
Makefile:678: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
root@shiv-Inspiron-1545:/home/shiv/Desktop/RTL8188EUS_linux_v4.1.4_6773.20130222#
我该如何继续?
答案1
您可以通过这种方式安装驱动程序。以另一种方式连接到互联网并在终端中运行:
sudo apt-get install git dkms
git clone https://github.com/lwfinger/rtl8188eu.git
sudo dkms add ./rtl8188eu
sudo dkms install 8188eu/1.0
第一个命令安装git
并dkms
打包。
第二条命令从github下载驱动源。
最后两个命令使用 安装驱动程序dkms
。