Bugs item #1943976, was opened at 2008-04-16 15:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Carlo Bramini (carlo_bramini)
Assigned to: Nobody/Anonymous (nobody)
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.


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

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 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to