Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not buld in VisualStudio! #12

Open
ademyankov opened this issue May 11, 2020 · 3 comments
Open

Does not buld in VisualStudio! #12

ademyankov opened this issue May 11, 2020 · 3 comments

Comments

@ademyankov
Copy link

1>C:\projects\Neptune\ThirdParty\axTLS\ssl\os_port.h(53,10): fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory

@ademyankov
Copy link
Author

Neither in Linux!

Neptune$ scons target=x86_64-unknown-linux

scons: Reading SConscript files ...
********** Configuring Build Target = x86_64-unknown-linux / Debug ********
scons: done reading SConscript files.
scons: Building targets ...
gcc -o Build/Targets/x86_64-unknown-linux/Debug/ThirdParty/axTLS/crypto/md2.o -c -Wmissing-prototypes -Wmissing-declarations -pedantic -Wall -W -Wundef -Wno-long-long -D_REENTRANT -g -DNPT_DEBUG -DNPT_CONFIG_ENABLE_LOGGING -DNPT_CONFIG_ENABLE_ZIP -DNPT_CONFIG_ENABLE_TLS -IThirdParty/axTLS/crypto -IThirdParty/axTLS/ssl -IThirdParty/axTLS/config/Generic ThirdParty/axTLS/crypto/md2.c
ThirdParty/axTLS/crypto/md2.c:83:32: error: unknown type name 'MD2_CTX'; did you mean 'MD5_CTX'?
   83 | EXP_FUNC void STDCALL MD2_Init(MD2_CTX *ctx)
      |                                ^~~~~~~
      |                                MD5_CTX
ThirdParty/axTLS/crypto/md2.c:88:25: error: unknown type name 'MD2_CTX'; did you mean 'MD5_CTX'?
   88 | static void md2_process(MD2_CTX *ctx)
      |                         ^~~~~~~
      |                         MD5_CTX
ThirdParty/axTLS/crypto/md2.c:116:34: error: unknown type name 'MD2_CTX'; did you mean 'MD5_CTX'?
  116 | EXP_FUNC void STDCALL MD2_Update(MD2_CTX *ctx, const uint8_t *input, int ilen)
      |                                  ^~~~~~~
      |                                  MD5_CTX
ThirdParty/axTLS/crypto/md2.c:144:50: error: unknown type name 'MD2_CTX'; did you mean 'MD5_CTX'?
  144 | EXP_FUNC void STDCALL MD2_Final(uint8_t *output, MD2_CTX *ctx)
      |                                                  ^~~~~~~
      |                                                  MD5_CTX
ThirdParty/axTLS/crypto/md2.c:50:22: warning: 'PI_SUBST' defined but not used [-Wunused-const-variable=]
   50 | static const uint8_t PI_SUBST[256] =
      |                      ^~~~~~~~
scons: *** [Build/Targets/x86_64-unknown-linux/Debug/ThirdParty/axTLS/crypto/md2.o] Error 1
scons: building terminated because of errors.

@barbibulle
Copy link
Contributor

Sorry about that. I made some changes recently to update the AxTLS module, and ended up breaking the linux and Windows builds... I'll fix that ASAP.

@ademyankov
Copy link
Author

No worries. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants