当我安装 Realtek RTL8192EU 芯片组 (0bda:818b) 的驱动程序时 包裹并且按照 how-to-install.txt 操作,运行时出现错误sudo ./install.sh
[tjm@ArchPad install_folder]$ LANG=en_US-utf8 sudo ./install.sh
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl8192EU_linux_v4.2.2_7585.20130524
Authentication requested [root] for make clean:
cd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
Authentication requested [root] for make driver:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.5-1-ARCH/build M=/tmp/install_folder/driver/rtl8192EU_linux_v4.2.2_7585.20130524 modules
make[1]: Entering directory '/usr/lib/modules/4.4.5-1-ARCH/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/usr/lib/modules/4.4.5-1-ARCH/build'
Makefile:1043: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
安装后linux-headers
我收到了新的错误
我能做些什么?
编辑此脚本或找到要安装的新驱动程序?
答案1
您需要安装该linux-headers
包:
(实时环境中没有足够的空间进行安装gcc
。安装后请查看错误的变化linux-header
。)
PS 顺便说一下,github 上还有不少维护良好的分支。例如:https://github.com/Mange/rtl8192eu-linux-driver