kangz543g Posted October 18, 2021 Posted October 18, 2021 install https://github.com/emmercm/rpi-rtl8812au error? $ sudo make make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.10.60-sunxi/build M=/sr/src/rtl8812au-f1bd10b modules make[1]: Entering directory '/usr/lib/modules/5.10.60-sunxi/build' make[1]: *** No rule to make target 'modules'. Stop. make[1]: Leaving directory '/usr/lib/modules/5.10.60-sunxi/build' make: *** [Makefile:1086: modules] Error 2
Werner Posted October 18, 2021 Posted October 18, 2021 Moved to Common issues / peer to peer technical support Duplicate topic has been deleted since it would have been an invalid issue report anyways and posting the same issue in multiple places is considered abusive behavior.
phelum Posted October 18, 2021 Posted October 18, 2021 (edited) 2 hours ago, kangz543g said: install https://github.com/emmercm/rpi-rtl8812au error? $ sudo make make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.10.60-sunxi/build M=/sr/src/rtl8812au-f1bd10b modules Hi, The M=/sr/src/... looks wrong to me. Shouldn't it be M=/usr/src/... ? Update: I think that this make has to be done on the system that built the kernel. This was the case with the old Realtek drivers I built for RPi kernels. The make needs a valid "build" softlink in the modules directory. This softlink is only valid where the modules were created. Cheers, Steven Edited October 18, 2021 by phelum More details
Recommended Posts