Hallo, while compiling a loadable kernel-module for a wifi controller with chipset rtl8192du there occurs following error-message:
root@bpi-iot-ros-ai:~/rtl8192du-master# make make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/3.10.108-BPI-M2U-Kernel/build M=/root/rtl8192du-master modules make[1]: Entering directory ‘/usr/src/linux-headers-3.10.108-BPI-M2U-Kernel’ Makefile:580: /usr/src/linux-headers-3.10.108-BPI-M2U-Kernel/arch/armv7l/Makefile: No such file or directory make[1]: *** No rule to make target ‘/usr/src/linux-headers-3.10.108-BPI-M2U-Kernel/arch/armv7l/Makefile’. Stop. make[1]: Leaving directory ‘/usr/src/linux-headers-3.10.108-BPI-M2U-Kernel’ Makefile:609: recipe for target ‘modules’ failed make: *** [modules] Error 2 root@bpi-iot-ros-ai:~/rtl8192du-master#
In fact there is no directory “/usr/src/linux-headers-3.10.108-BPI-M2U-Kernel/arch/armv7l”, so how to get it and its content?
I am on “Linux bpi-iot-ros-ai 3.10.108-BPI-M2U-Kernel #5 SMP Fri May 10 10:12:10 CST 2019 armv7l GNU/Linux” …