diederikdehaas / rtl8812AU

Realtek 8812AU USB WiFi driver
Other
475 stars 177 forks source link

Error! Bad return status for module build on kernel: 4.9.59-v7+ (armv7l) #88

Closed ghost closed 6 years ago

ghost commented 6 years ago

I have troubles with "sudo dkms build -m ${DRV_NAME} -v ${DRV_VERSION}"

Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... 'make'...(bad exit status: 2) Error! Bad return status for module build on kernel: 4.9.59-v7+ (armv7l) Consult /var/lib/dkms/rtl8812AU/4.3.14/build/make.log for more information

In log I see:

_KMS make.log for rtl8812AU-4.3.14 for kernel 4.9.59-v7+ (armv7l) Mon 5 Feb 17:58:22 UTC 2018 make ARCH=armv7l CROSSCOMPILE= -C /lib/modules/4.9.59-v7+/build M=/var/lib/dkms/rtl8812AU/4.3.$ make[1]: Entering directory '/usr/src/linux-headers-4.9.59-v7+' Makefile:628: arch/armv7l/Makefile: No such file or directory make[1]: No rule to make target 'arch/armv7l/Makefile'. Stop. make[1]: Leaving directory '/usr/src/linux-headers-4.9.59-v7+' Makefile:1576: recipe for target 'modules' failed make: [modules] Error 2

Can somebody help me?

ghost commented 6 years ago

I did like this: sudo cp -rp arm armv7l