no /lib/modules/<version>/build - Printable Version

+- PINE64 (
+-- Forum: PINE A64(+) (
+--- Forum: Linux on Pine A64(+) (
+---- Forum: Ubuntu (
+---- Thread: no /lib/modules/<version>/build (/showthread.php?tid=5650)

no /lib/modules/<version>/build - davidgs - 02-02-2018

I'm tryin go build the gt9xx touchscreen driver, and there's no way to proceed:

make -C /lib/modules/3.10.104/build M=/home/ubuntu/pine64-gt9xxf_ts modules
make[1]: Entering directory '/lib/modules/3.10.104/build'
make[1]: *** No rule to make target 'modules'.  Stop.
make[1]: Leaving directory '/lib/modules/3.10.104/build'
Makefile:11: recipe for target 'all' failed

I will admit that the /lib/modules/3.10.104/build directory *used to* exist, but it was a symlink to a /home/user account name that, of course, does not exist on my machine.