Subject: Re: Libssh2 for Windows Mobile - help

Re: Libssh2 for Windows Mobile - help

From: Peter Stuge <>
Date: Mon, 12 Oct 2020 11:46:23 +0000

Geetha wrote:
> Thanks for your help.

You're welcome.

> I have tried adding libssh2.lib before/after two openssl library files.
> But still the same linker errors are happening.
> Below is the error which i received.

Thanks for including the full messages. Unfortunately there are no
explicit hints in there what the problem may be, so I guess that
the linker simply is not satisfied with the OpenSSL library files.

> Doubt: Could you please clarify my doubt, is there any specific OpenSSL
> for ARMV4i platform.

That's a good question, I don't know the answer because I have never
used OpenSSL on Windows Mobile, but you should investigate this further.

> (I am using the one I used for Win32 compilation).

I think that explains why the linker is not satisfied; those library
files are not interchangeable.

I believe that Windows Mobile is incompatible with Win32 API-wise, but
far more importantly the Win32 libraries will haven been compiled to x86
machine code and that does not execute on the ARM processor in the
Windows Mobile device. I expect that the linker recognizes these
mismatches automatically and thus has no usable OpenSSL library for
the target platform. I'm disappointed that there is no error message
from VS or the linker about it, but oh well, you found the problem.

> If yes please share the link to download.

You have to ask the OpenSSL project about that or search online, I
don't think anyone here is developing for Windows Mobile. Personally
I would probably try to build also the OpenSSL libraries myself.


Received on 2020-10-12