Skip to content

missing linux/nvme.h #515

@MaciejMalusi

Description

@MaciejMalusi

After issuing the “make” command, the image compilation process is interrupted and throws an error:
"In file included from linux/DtaDevLinuxNvme.cpp:33:
linux/DtaDevLinuxNvme.h:22:41: error: missing binary operator before token "("
22 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)
| ^
linux/DtaDevLinuxNvme.h:25:10: fatal error: linux/nvme.h: No such file or directory
25 | #include <linux/nvme.h>
| ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:646: linux/DtaDevLinuxNvme.o] Error 1

Os: Linux vbox-VirtualBox 6.11.0-26-generic #26~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 17 19:20:47 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Does anyone know where to get this nvme.h file , or will give another solution? Originally I wanted to compile the image in another fork (from: takooakes) but it flushed with this very error and it turns out that here in the source happens the same thing .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions