Closed MiguelGArgiles closed 3 years ago
Try HsOpenSSL-0.11.7. There was incorrect #include "HsOpenSSL.h"
which come after #if OPENSSL_VERSION_NUMBER
and hence not worked correctly. It's fixed in the latest version.
It works perfectly, thank you so much
Hello
I am trying to cross-compile HsOpenSSL for Raspberry using haskell.nix. Everything works well cross compiling for Win64 and statically linking with Musl but it fails for raspberry.
I am trying to cross-compile HsOpenSSL-0.11.6.2 linked with Openssl-1.1.1g but it gives the following error:
Included opensslv.h has the following definition:
It seems to be related with OPENSSL_VERSION_NUMBER flag. Although, i am linking with Openssl 1.1.1g it seems that this flag indicate a previous version and, in any case, I do not understand the error because aesCTR should be defined if OPENSSL_VERSION_NUMBER indicates a previous version.
I understand that it a complex problem involving several tools as haskell.nix and cross compile but any indication would be great to find the root cause of the problem.
Thanks