Closed hoang408 closed 6 years ago
OK, the Linux headers were not installed. Thus, I follow this guide https://www.garron.me/en/go2linux/how-install-linux-kernel-headers-debian-or-ubuntu.html. After the first command (sudo apt-get install linux-headers-$(uname -r)), the build folder appears in /lib/modules/4.4.91-ti-r136/. It now builds.
I am trying to use this driver for my Beaglebone Black, which is running on Debian 8.9. I follow the step until 'make,' which failed. This is the output from the screen:
export DBGFLAGS
Building driver with debug messages
cp -f os/linux/Makefile.6 /home/debian/downloads/Netgear-A6210/os/linux/Makefile make -C /lib/modules/4.4.91-ti-r136/build DBGFLAGS=-DDBG SUBDIRS=/home/debian/downloads/Netgear-A6210/os/linux modules make[1]: /lib/modules/4.4.91-ti-r136/build: No such file or directory. Stop. Makefile:59: recipe for target 'debug' failed make: [debug] Error 2
Can someone help? I have no clue what is going on.