- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I'm now developing a simple test sgx application using intel sgx ssl, There are lots of errors after running the makefile.
As the following shows:
/home/abc/intel-sgx-ssl-master/sgxssl.1.9.100.99999/lib64/debug/libsgx_tsgxssl.a(tsocket.o): In function `sgxssl_gai_strerror':
/home/abc/intel-sgx-ssl-master/sgx/libsgx_tsgxssl/tsocket.cpp:218: undefined reference to `strerror'
/home/agc/intel-sgx-ssl-master/sgxssl.1.9.100.99999/lib64/debug/libsgx_tsgxssl.a(tstdlib.o): In function `sgxssl_getenv':
/home/abc/intel-sgx-ssl-master/sgx/libsgx_tsgxssl/tstdlib.cpp:69: undefined reference to `strcmp'
...
/home/abc/intel-sgx-ssl-master/openssl_source/openssl-1.1.0e/crypto/ct/ct_vfy.c:112: undefined reference to `memcmp'
/home/abc/intel-sgx-ssl-master/sgxssl.1.9.100.99999/lib64/debug/libsgx_tsgxssl_crypto.a(ct_log.o): In function `CTLOG_STORE_get0_log_by_id':
/home/abc/intel-sgx-ssl-master/openssl_source/openssl-1.1.0e/crypto/ct/ct_log.c:299: undefined reference to `memcmp'
so how could i solve this problem? Thank you very much.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use openssl-1.1.0f.tar.gz. I tried the latest one (openssl-1.1.0g.tar.gz) and had compile errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Elephant wrote:
Use openssl-1.1.0f.tar.gz. I tried the latest one (openssl-1.1.0g.tar.gz) and had compile errors.
I have used the openssl-1.1.0f.tar.gz and the openssl-1.1.0e.tar.gz, both of them have built the libsgx_sgxssl.a,libsgx_tsgxssl_crypto.a and libsgx_usgxssl.a,but when i used the "libsgx_sgxssl.a,libsgx_tsgxssl_crypto.a and libsgx_usgxssl.a"
there are some errors:
/home/abc/intel-sgx-ssl-master/sgxssl.1.9.100.99999/lib64/debug/libsgx_tsgxssl.a(tsocket.o): In function `sgxssl_gai_strerror':
/home/abc/intel-sgx-ssl-master/sgx/libsgx_tsgxssl/tsocket.cpp:218: undefined reference to `strerror'
/home/agc/intel-sgx-ssl-master/sgxssl.1.9.100.99999/lib64/debug/libsgx_tsgxssl.a(tstdlib.o): In function `sgxssl_getenv':
/home/abc/intel-sgx-ssl-master/sgx/libsgx_tsgxssl/tstdlib.cpp:69: undefined reference to `strcmp'
...
/home/abc/intel-sgx-ssl-master/openssl_source/openssl-1.1.0f/crypto/ct/ct_vfy.c:112: undefined reference to `memcmp'
/home/abc/intel-sgx-ssl-master/sgxssl.1.9.100.99999/lib64/debug/libsgx_tsgxssl_crypto.a(ct_log.o): In function `CTLOG_STORE_get0_log_by_id':
/home/abc/intel-sgx-ssl-master/openssl_source/openssl-1.1.0f/crypto/ct/ct_log.c:299: undefined reference to `memcmp'
So how could i solve the problem ?
and could u please tell me how to use the "libsgx_sgxssl.a,libsgx_tsgxssl_crypto.a and libsgx_usgxssl.a," step by step as detailed as possible?
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you point to the correct location of your sgxsdk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Elephant wrote:
Did you point to the correct location of your sgxsdk?
Yes,I have pointed to the correct location of my sgxsdk.But these errors still exists.
So could you please give me a sample sgx application using intel sgxssl?
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
any help on this issue?
I'm having the same errors, only on linux ubuntu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any update?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I know it's been a long time, but I hope to help the next ones that get here: https://github.com/intel/intel-sgx-ssl/issues/22

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page