Hi all, I have downloaded a debian image
*Debian 8.7 2017-03-19 4GB SD LXQT * <https://debian.beagleboard.org/images/bone-debian-8.7-lxqt-4gb-armhf-2017-03-19-4gb.img.xz> I have attached a adxl345 accelerometer, and with user space tools its working fine. Now I am trying to attach a kernel driver i.e in adxl345. I put the source files in /home/debian/Desktop/adxl345 and issued make. I get this error *root@beaglebone:/home/debian/Desktop/adxl345# make* *make -C /lib/modules/4.4.54-ti-r93/build M=/home/debian/Desktop/adxl345 modules* *make[1]: *** /lib/modules/4.4.54-ti-r93/build: No such file or directory. Stop.* *Makefile:13: recipe for target 'default' failed* *make: *** [default] Error 2* I checked root@beaglebone:/lib/modules/4.4.54-ti-r93# ls extra modules.builtin modules.devname modules.symbols.bin kernel modules.builtin.bin modules.order modules.alias modules.dep modules.softdep modules.alias.bin modules.dep.bin modules.symbols there is no build directory. I tried to update kernel headers sudo apt-get install linux-headers-linux-headers-4.4.54-ti-r93 but it says *E: Unable to locate package linux-headers-linux-headers-4.4.54-ti-r93* How I am going to build the drivers? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/b4f8ef9f-7e54-425c-8f26-65383f070bc3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
