Bugs item #1943976, was opened at 2008-04-16 15:36
Message generated for change (Comment added) made by bagder
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1943976&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: misc
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Carlo Bramini (carlo_bramini)
>Assigned to: Daniel Stenberg (bagder)
Summary: Fix MSYS+MINGW

Initial Comment:
Hello,
I fixed the compilation of libssh2 under MSYS+MINGW, now it works without 
problems.
The compilation under MSVC works too.
List of changes:

)configure.in
detect mingw32 (or mingw64) compiler, add some CFLAGS and detect the presence 
of W32API.
select() was not found at configure time because it is declared with PASCAL 
calling convention, so its name is decorated with "@". Normally such conditions 
must be fixed by declaring correct prototype, or including good include file 
(i.e. winsock2.h).

)scp_nonblock.c
)scp_write_nonblock.c
)sftp_RW_nonblock.c
)sftp_mkdir_nonblock.c
)sftp_nonblock.c
)sftp_write_nonblock.c
)sftpdir_nonblock.c
fixed nonblocking examples for Win32/Win64.

)libssh2_priv.h
Declare some useful stuff, mainly moved from libssh2_config.h under /win32 
directory

)libssh2_config.h
Removed some stuff for fixing compilation under MSVC

Sincerely,

Carlo Bramini.


----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2008-09-29 21:22

Message:
Thanks for your work, can you please update your patch against the current
CVS as some changes now makes your patch not apply cleanly any more?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1943976&group_id=125852

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to