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

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: Ubuntu (https://forum.pine64.org/forumdisplay.php?fid=27)
+---- 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. 

Help!