Skip to content

Impossible build driver #1

@romcoca

Description

@romcoca

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 .
-- 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:
/pico-rng-1.0/driver# make
[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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions