julbouln / tinydrm_it8951

kernel module for Waveshare it8951 based eink kits
23 stars 14 forks source link

/lib/modules/4.19.75+/build: No such file or directory. Stop. #1

Closed 6bigfire closed 4 years ago

6bigfire commented 4 years ago

I have got the errors when i made it. Can you help me?

pi@raspberrypi:~/tinydrm_it8951 $ make make -C /lib/modules/uname -r/build M=$PWD make[1]: *** /lib/modules/4.19.75+/build: No such file or directory. Stop. make: *** [Makefile:4: default] Error 2

julbouln commented 4 years ago

Hi, Did you install kernel headers ? https://www.raspberrypi.org/documentation/linux/kernel/headers.md

6bigfire commented 4 years ago

I have not installed the kernel headers!Thank you very much, I'll try it.

6bigfire commented 4 years ago

OK!

pi@raspberrypi:~/tinydrm_it8951 $ make make -C /lib/modules/uname -r/build M=$PWD make[1]: Entering directory '/usr/src/linux-headers-4.19.75+' CC [M] /home/pi/tinydrm_it8951/it8951.o Building modules, stage 2. MODPOST 1 modules CC /home/pi/tinydrm_it8951/it8951.mod.o LD [M] /home/pi/tinydrm_it8951/it8951.ko make[1]: Leaving directory '/usr/src/linux-headers-4.19.75+'