=^.^=

ksign-publickey.c:2:17: error: key.h: No such file or directory

karma

Encountered while compiling a new kernel and modules for ClearOS 6.2 kernel 2.6.32-279.2.1.v6.x86_64 to obtain the one wireless module that isn't offered (naturally):

scripts/kconfig/conf -s arch/x86/Kconfig
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  CC      crypto/signature/ksign-publickey.o
crypto/signature/ksign-publickey.c:2:17: error: key.h: No such file or directory
crypto/signature/ksign-publickey.c: In function ‘ksign_init’:
crypto/signature/ksign-publickey.c:10: error: ‘ksign_def_public_key’ undeclared (first use in this function)
crypto/signature/ksign-publickey.c:10: error: (Each undeclared identifier is reported only once
crypto/signature/ksign-publickey.c:10: error: for each function it appears in.)
crypto/signature/ksign-publickey.c:11: error: ‘ksign_def_public_key_size’ undeclared (first use in this function)
make[2]: *** [crypto/signature/ksign-publickey.o] Error 1
make[1]: *** [crypto/signature] Error 2
make: *** [crypto] Error 2

Thanks to this post:

1) Select "Enable loadable module support", then "Module signature verification (EXPERIMENTAL)". Disable it.
2) Then go back to the main menu, select "Cryptographic API" then "In-kernel signature checker (EXPERIMENTAL)" and disable that one too.

Now I just have to cross my paws that this is still a simple matter of compiling a module and not the slightly messier matter of replacing the kernel image as well.

Comments

• di

Awesome, thanks a lot
It works

karma

@NolFwa
I'm afraid I don't understand the question.

• NolFwa

how long do you think your going to be down for?