分页: 1 / 1

安装rtl8188eus驱动的问题

发表于 : 2020-01-11 19:01
wayoca
系统: 19.10 64位

磊科 nw366 芯片 rtl8188eus

按照下面的方法安装

sudo apt-get install git dkms (成功)

git clone https://github.com/lwfinger/rtl8188eu.git (成功)

sudo dkms add ./rtl8188eu 成功

sudo dkms install 8188eu/1.0 失败

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' all KVER=5.3.0-18-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for 8188eu: 1.0 not found
Error! Bad return status for module build on kernel: 5.3.0-18-generic (x86_64)
Consult /var/lib/dkms/8188eu/1.0/build/make.log for more information.


amke.log

DKMS make.log for 8188eu-1.0 for kernel 5.3.0-18-generic (x86_64)
2020年 01月 11日 星期六 18:51:42 CST
Directory .git does not exist indicating that you downloaded the source as a zip file. Only the 'git clone' method is now supported.
make: *** [Makefile:152:test] 错误 1


求解,谢谢

Re: 安装rtl8188eus驱动的问题

发表于 : 2020-01-11 21:23
wayoca
来自

https://github.com/aircrack-ng/rtl8188eus

[email protected]:~/rtl8188eus-5.3.9$ make
make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.3.0-18-generic/build M=/home/wayoca/rtl8188eus-5.3.9 modules
make[1]: 进入目录“/usr/src/linux-headers-5.3.0-18-generic”
CC [M] /home/wayoca/rtl8188eus-5.3.9/core/rtw_cmd.o
gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’
gcc: note: valid arguments to ‘-mabi=’ are: ms sysv
gcc: error: unrecognized command line option ‘-mlittle-endian’
gcc: error: unrecognized command line option ‘-mapcs’
gcc: error: unrecognized command line option ‘-mno-sched-prolog’
make[2]: *** [scripts/Makefile.build:290:/home/wayoca/rtl8188eus-5.3.9/core/rtw_cmd.o] 错误 1
make[1]: *** [Makefile:1653:_module_/home/wayoca/rtl8188eus-5.3.9] 错误 2
make[1]: 离开目录“/usr/src/linux-headers-5.3.0-18-generic”
make: *** [Makefile:2063:modules] 错误 2