I am trying to write a simple application which uses SHA256 from the OpenSSL library.
My code is stored inside user/demo/openssl and I am trying to build it with ./opensgx -c user/demo/openssl/hellosgx.c. I am getting the following errors:
devel/sgx/opensgx/user/demo/openssl/hellosgx.c:47: undefined reference to SHA256_Init devel/sgx/opensgx/user/demo/openssl/hellosgx.c:48: undefined reference to SHA256_Update' devel/sgx/opensgx/user/demo/openssl/hellosgx.c:49: undefined reference to SHA256_Final
Does anyone know what the problem might be?
Edit: sorry for the spam. There was a mistake in the Makefile.
I am trying to write a simple application which uses SHA256 from the OpenSSL library.
My code is stored inside user/demo/openssl and I am trying to build it with
./opensgx -c user/demo/openssl/hellosgx.c
. I am getting the following errors:devel/sgx/opensgx/user/demo/openssl/hellosgx.c:47: undefined reference to SHA256_Init devel/sgx/opensgx/user/demo/openssl/hellosgx.c:48: undefined reference to SHA256_Update' devel/sgx/opensgx/user/demo/openssl/hellosgx.c:49: undefined reference to SHA256_Final
Does anyone know what the problem might be?
Edit: sorry for the spam. There was a mistake in the Makefile.