gcc: error: security/keys/crypto/x509-asn1.c: No such file or directo
Quoted 11 lines · Fengguang Wu
Kernel build failed somewhere in
tree: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-modsign.git devel-x509 head: 60e96ee932ebebf7c93f36b72475a12af7b0bc4e config: x86_64-allmodconfig (attached as .config)Build errors:
gcc: error:
security/keys/crypto/x509-asn1.c: No such file or directory
gcc: error:security/keys/crypto/x509_rsakey-asn1.c: No such file or directory Can't open perl script "lib/build_OID_registry": No such file or directory
I can't reproduce this. The lib/build_OID_registry error is particularly odd as the patches are clearly adding and modifying it. Are you building into a separate directory to the source tree?
David
Quoted 10 lines · David Howells
Quoted 8 lines · Fengguang Wu
Kernel build failed somewhere in
tree: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-modsign.git devel-x509 head: 60e96ee932ebebf7c93f36b72475a12af7b0bc4e config: x86_64-allmodconfig (attached as .config)Build errors:
Quoted 7 lines
Quoted 3 lines
gcc: error:
security/keys/crypto/x509-asn1.c: No such file or directory
gcc: error:security/keys/crypto/x509_rsakey-asn1.c: No such file or directory Can't open perl script "lib/build_OID_registry": No such file or directoryI can't reproduce this. The
lib/build_OID_registryerror is particularly odd as the patches are clearly adding and modifying it. Are you building into a separate directory to the source tree?
I just reproduced it. Yes I used KBUILD_OUTPUT.
Just in case it matters: my gcc version is 4.7.1 (Debian 4.7.1-5).
Thanks,
Fengguang
Quoted 5 lines · Fengguang Wu
Quoted 3 lines
I can't reproduce this. The
lib/build_OID_registryerror is particularly odd as the patches are clearly adding and modifying it. Are you building into a separate directory to the source tree?I just reproduced it. Yes I used
KBUILD_OUTPUT.
"make O=foo" does show it for me. I've fixed the *-asn1.c not found problem, now to work on the build_OID_registry problem.
It seems $(obj) doesn't contain what I thought it did.
David
Quoted 5 lines · Fengguang Wu
Quoted 3 lines
I can't reproduce this. The
lib/build_OID_registryerror is particularly odd as the patches are clearly adding and modifying it. Are you building into a separate directory to the source tree?I just reproduced it. Yes I used
KBUILD_OUTPUT.
Should be sorted now. The Make experience is such fun... especially when enhanced by the kernel's kbuild system.
David