libdssl icon indicating copy to clipboard operation
libdssl copied to clipboard

compile error would you help me?

Open mseaspring opened this issue 7 years ago • 8 comments

In file included from decoder_stack.c:24:0: ssl_session.h:74:15: error: field 'handshake_digest_sha' has incomplete type EVP_MD_CTX handshake_digest_sha; ^ ssl_session.h:75:15: error: field 'handshake_digest_md5' has incomplete type EVP_MD_CTX handshake_digest_md5; ^

mseaspring avatar Aug 31 '18 01:08 mseaspring

Additional explanation: I am compiling in the Linux environment, it seems to be missing header files.

mseaspring avatar Aug 31 '18 01:08 mseaspring

If you find the answer please post here.

krsri avatar Sep 17 '18 09:09 krsri

Using openssl-1.1.0h-compile and new libdssl-master can compile ,but run also core.

mseaspring avatar Sep 18 '18 01:09 mseaspring

Hi mseaspring , Thanks able to resolve the issue.

krsri avatar Sep 18 '18 12:09 krsri

In file included from decoder_stack.c:24:
ssl_session.h:81:41: error: field 'handshake_digest_sha' has incomplete type
   81 |         EVP_MD_CTX                      handshake_digest_sha;
      |                                         ^~~~~~~~~~~~~~~~~~~~
ssl_session.h:82:41: error: field 'handshake_digest_md5' has incomplete type
   82 |         EVP_MD_CTX                      handshake_digest_md5;
      |                                         ^~~~~~~~~~~~~~~~~~~~
ssl_session.h:83:41: error: field 'handshake_digest' has incomplete type
   83 |         EVP_MD_CTX                      handshake_digest;
      |                                         ^~~~~~~~~~~~~~~~

Here is the same error, but I could not fix it by using openssl-1.1.0h.

haoran-mc avatar Jul 28 '23 08:07 haoran-mc

In file included from decoder_stack.c:24:
ssl_session.h:81:41: error: field 'handshake_digest_sha' has incomplete type
   81 |         EVP_MD_CTX                      handshake_digest_sha;
      |                                         ^~~~~~~~~~~~~~~~~~~~
ssl_session.h:82:41: error: field 'handshake_digest_md5' has incomplete type
   82 |         EVP_MD_CTX                      handshake_digest_md5;
      |                                         ^~~~~~~~~~~~~~~~~~~~
ssl_session.h:83:41: error: field 'handshake_digest' has incomplete type
   83 |         EVP_MD_CTX                      handshake_digest;
      |                                         ^~~~~~~~~~~~~~~~

Đây là lỗi tương tự, nhưng tôi không thể sửa nó bằng cách sử dụng openssl-1.1.0h.

Hello, I have the same error as you. Have you resolved that error yet?

Quanmn avatar Jan 03 '24 03:01 Quanmn

Hello, I have the same error as you. Have you resolved that error yet?

unfortunately, not yet

haoran-mc avatar Jan 03 '24 03:01 haoran-mc

Hello, I have the same error as you. Have you resolved that error yet?

unfortunately, not yet

You should use Ubuntu 16.04 for successful configuration, but I don't know how to use it as a command.

Quanmn avatar Jan 03 '24 03:01 Quanmn