[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

0.7.6 fails to build on Windows


Hi,



I get an error when trying to build 0.7.6 (on Windows 2008 (don’t ask),
VS11, OpenSSL 1.0.2o, Zlib 1.2.11, CMake 3.11.4).



Fails with this error:

dh.obj : error LNK2019: unresolved external symbol strndup referenced in
function ssh_get_b64_unpadded
[C:\nightly\libssh\winbuild\buildroot\src\ssh_shared.vcxproj]

C:\nightly\libssh\winbuild\buildroot\src\Release\ssh.dll : fatal error
LNK1120: 1 unresolved externals
[C:\nightly\libssh\winbuild\buildroot\src\ssh_shared.vcxproj]



dh.c is using strndup (ln 1126).



Regards,

Kerryn

Follow-Ups:
Re: 0.7.6 fails to build on WindowsAndreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org