Debian安装TP-LINK TL-WN723N无线usb

时间:2014-02-26 07:39:13

标签: linux debian driver wireless

我从github下载rtl8188eu-master文件,在debian上安装此驱动程序。解压缩后运行make命令获取此错误。

make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.11-2-486/build M=/home/tux-world/Desktop/Home/rtl8188eu-master  modules
make[1]: Entering directory `/usr/src/linux-headers-3.11-2-486'
  CC [M]  /home/tux-world/Desktop/Home/rtl8188eu-master/core/rtw_cmd.o
In file included from /home/tux-world/Desktop/Home/rtl8188eu-master/core/rtw_cmd.c:23:0:
/home/tux-world/Desktop/Home/rtl8188eu-master/include/osdep_service.h: In function ‘thread_enter’:
/home/tux-world/Desktop/Home/rtl8188eu-master/include/osdep_service.h:1406:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
  daemonize("%s", name);
  ^
cc1: some warnings being treated as errors
make[4]: *** [/home/tux-world/Desktop/Home/rtl8188eu-master/core/rtw_cmd.o] Error 1
make[3]: *** [_module_/home/tux-world/Desktop/Home/rtl8188eu-master] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11-2-486'
make: *** [modules] Error 2
已安装

linux-headers-3.11-2-486build-essential个软件包,我没有遇到任何问题。

1 个答案:

答案 0 :(得分:2)

虽然这与编程没什么关系,但我会回答这个问题,以防有人来这里遇到类似问题。

使用这些命令编译驱动程序没有问题(确保安装了标头):

wget https://codeload.github.com/lwfinger/rtl8188eu/zip/master
unzip master
cd rtl8188eu-master
sudo make
sudo make install