-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello
Thank you for this job.
I have installed linux-headers-* on debian but try to build driver I have this error.
root@debian:/pico-rng-1.0/driver# cmake ./pico-rng-1.0/driver# make
-- The C compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Kernel release: 6.1.0-9-amd64
-- Kernel headers: KERNELHEADERS_DIR-NOTFOUND
-- Configuring done
-- Generating done
-- Build files have been written to: /root/pico-rng-1.0/driver
root@debian:
[100%] Generating pico_rng.ko
make[3]: *** KERNELHEADERS_DIR-NOTFOUND : Aucun fichier ou dossier de ce type. Arrêt.
make[2]: *** [CMakeFiles/pico_rng_driver.dir/build.make:73 : pico_rng.ko] Erreur 2
make[1]: *** [CMakeFiles/Makefile2:83 : CMakeFiles/pico_rng_driver.dir/all] Erreur 2
make: *** [Makefile:91 : all] Erreur 2
Do you have a fix ?