Messages in this thread Patch in this message | | | From | David Howells <> | Subject | Re: [PATCH 0/3] MODSIGN: Use PKCS#7 cert to avoid SKIDs | Date | Thu, 16 Oct 2014 13:31:41 +0100 |
| |
Dmitry Kasatkin <d.kasatkin@samsung.com> wrote:
> /tmp/ccgSFKJd.o: In function `display_openssl_errors': > sign-file.c:(.text+0x4e): undefined reference to `ERR_peek_error' > sign-file.c:(.text+0xa1): undefined reference to `ERR_error_string' > ...
Is this solved for you by making the attached change?
David ---
diff --git a/scripts/Makefile b/scripts/Makefile index 1d9c40be606e..719311b7bd46 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -20,7 +20,7 @@ hostprogs-$(CONFIG_MODULE_SIG) += sign-file HOSTCFLAGS_sortextable.o = -I$(srctree)/tools/include HOSTCFLAGS_asn1_compiler.o = -I$(srctree)/include -HOSTCFLAGS_sign-file.o = -lcrypto +HOSTLOADLIBES_sign-file = -lcrypto
| |