Trying to build the kernel from source for squeeze hosts and it fails on LD fs/dlm/built-in.o LD fs/ecryptfs/built-in.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[3]: *** [crypto/signature/ksign-publickey.o] Error 1 make[2]: *** [crypto/signature] Error 2 make[1]: *** [crypto] Error 2 make[1]: *** Waiting for unfinished jobs.... CC fs/exportfs/expfs.o
As these files don't exist in the default 2.6.32 kernel they seem to be provided by the patch OVZ provides patching file crypto/sha512_generic.c patching file crypto/signature/dsa.c patching file crypto/signature/ksign.c patching file crypto/signature/ksign-keyring.c patching file crypto/signature/ksign-parse.c patching file crypto/signature/ksign-publickey.c patching file crypto/signature/local.h patching file crypto/signature/Makefile patching file crypto/testmgr.c Here are the links to the files used to build. http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.tar.bz2 http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab085.20/patches/patch-042stab085.20-combined.gz http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab085.20/configs/config-2.6.32-042stab085.20.x86_64 Anyone have ideas? Edward _______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users