cossacklabs / themis

Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms.
https://www.cossacklabs.com/themis
Apache License 2.0
1.87k stars 143 forks source link

get ld error when compile on msys2 MinGw #966

Open jingkang99 opened 1 year ago

jingkang99 commented 1 year ago

./configure make

warning: image

for first error, adding -lws2_32 to the ld command is a fix. but there are other similar issue. seem make file need a fix

undefined reference to `htonll'

image

ilammy commented 1 year ago

To be honest, MSYS2 support is at best on “life support” at the moment, and is still largely experimental as we don’t get all too many users interested in it. So setting the expectations straight, I don’t think maintainers are going to look into this issue promptly, but patches are always welcome.

Interestingly, the CI build for MSYS2 is still green so I wonder what’s the discrepancy in the environments.

Sorry for a rather late response.