Hi, After building linssh2 with the flag "-D_REENTRANT" the problem is resolved.
Refer to this link for more details: http://libssh2.stuge.se/ticket/99 Regards, Ishwar On Fri, Jun 25, 2010 at 9:14 PM, Ishwar Ande <[email protected]> wrote: > Hi Peter, > > It is EEXIST in solaris also. I didn't understand this error in this > context. > > I have also noticed that after libssh2_session_startup() failure, the errno > is set to 11 i.e. EAGAIN. > > Please help me what can be done in this case. > > Regards, > Ishwar > > On Fri, Jun 25, 2010 at 6:48 PM, Peter Stuge <[email protected]> wrote: > >> Ishwar Ande wrote: >> > Please find the attached trace logs of libssh2. >> >> Thanks. >> >> >> > Sometime I am getting "Failed getting banner" error and sometimes >> > "Unable to exchange encryption keys". I have attached the trace >> > logs for both the instances. >> >> In both cases the socket receive operation returns with errno=17. >> Can you check what that means on your system? On Linux it's EEXIST, >> which is not likely the case on your system. >> >> Something like: >> >> egrep -r \ >> '#[[:space:]]*define[[:space:]]+E[A-Z_]+[[:space:]]+17([[:space:]]|$)' \ >> /usr/include >> >> might do the trick if you have GNU egrep available. >> >> >> //Peter >> _______________________________________________ >> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel >> > > > > -- > -- > Regards, > Ishwar. > > -- -- Regards, Ishwar.
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
