Skip to content

linux7.2: fix building host tools on cross during dkms - #62525

Open
classabbyamp wants to merge 1 commit into
void-linux:masterfrom
classabbyamp:linux7-cross
Open

linux7.2: fix building host tools on cross during dkms#62525
classabbyamp wants to merge 1 commit into
void-linux:masterfrom
classabbyamp:linux7-cross

Conversation

@classabbyamp

Copy link
Copy Markdown
Member

fixes this failure when compiling dkms modules:

  HOSTCC  scripts/sign-file
scripts/sign-file.c:43:10: fatal error: linux/module_signature.h: No such file or directory
   43 | #include <linux/module_signature.h>
	  |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.host:114: scripts/sign-file] Error 1
make[1]: *** [/usr/src/kernel-headers-7.2.4_1/Makefile:1402: scripts] Error 2
make: *** [Makefile:248: __sub-make] Error 2
make : on quitte le répertoire « /usr/src/kernel-headers-7.2.4_1 »
Available DKMS module: zfs-2.4.4.
Building DKMS module: zfs-2.4.4... FAILED!
Generating kernel module dependency lists... done.

Testing the changes

  • I tested the changes in this PR: YES (aarch64-musl)

[ci skip] [skip ci] [ci-skip] [skip-ci]

fixes this failure when compiling dkms modules:

      HOSTCC  scripts/sign-file
    scripts/sign-file.c:43:10: fatal error: linux/module_signature.h: No such file or directory
       43 | #include <linux/module_signature.h>
    	  |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [scripts/Makefile.host:114: scripts/sign-file] Error 1
    make[1]: *** [/usr/src/kernel-headers-7.2.4_1/Makefile:1402: scripts] Error 2
    make: *** [Makefile:248: __sub-make] Error 2
    make : on quitte le répertoire « /usr/src/kernel-headers-7.2.4_1 »
    Available DKMS module: zfs-2.4.4.
    Building DKMS module: zfs-2.4.4... FAILED!
    Generating kernel module dependency lists... done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant