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

Re: 0.7.6 fails to build on Windows


On Friday, 19 October 2018 10:39:07 CEST Lostinza wrote:
> Hi,
> 

Hi Kerryn,

> 
> 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).
> 

This has been fixed with:

https://git.libssh.org/projects/libssh.git/commit/?
h=v0-7&id=f81ca6161223e3566ce78a427571235fb6848fe9


	Andreas

-- 
Andreas Schneider                 asn@xxxxxxxxxxxxxx
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D



References:
0.7.6 fails to build on WindowsLostinza <lostinza@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org