1>------ Build started: Project: libssh2_lib, Configuration: Debug Win32 ------ 2>------ Build started: Project: libssh2_dll, Configuration: Debug Win32 ------ 1>Compiling... 2>Compiling... 1>comp.c 2>channel.c 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>c:\libssh2\src\channel.c(1245) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(366) : see declaration of 'sprintf' 1>crypt.c 2>comp.c 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>crypt.c 1>hostkey.c 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>hostkey.c 1>c:\libssh2\src\hostkey.c(126) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen' 1>c:\libssh2\src\hostkey.c(308) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen' 1>c:\libssh2\src\hostkey.c(445) : error C2491: 'libssh2_hostkey_hash' : definition of dllimport function not allowed 1>c:\libssh2\src\hostkey.c(468) : error C2491: 'libssh2_session_hostkey' : definition of dllimport function not allowed 1>kex.c 2>c:\libssh2\src\hostkey.c(126) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen' 2>c:\libssh2\src\hostkey.c(308) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen' 2>c:\libssh2\src\hostkey.c(445) : error C2491: 'libssh2_hostkey_hash' : definition of dllimport function not allowed 2>c:\libssh2\src\hostkey.c(468) : error C2491: 'libssh2_session_hostkey' : definition of dllimport function not allowed 2>kex.c 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>mac.c 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>mac.c 1>misc.c 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>c:\libssh2\src\misc.c(282) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf' 1>c:\libssh2\src\misc.c(288) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf' 1>c:\libssh2\src\misc.c(295) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf' 1>openssl.c 2>misc.c 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>packet.c 2>c:\libssh2\src\misc.c(282) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf' 2>c:\libssh2\src\misc.c(288) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf' 2>c:\libssh2\src\misc.c(295) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf' 2>openssl.c 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>c:\libssh2\src\packet.c(1081) : warning C4244: 'initializing' : conversion from 'time_t' to 'long', possible loss of data 1>c:\libssh2\src\packet.c(1190) : warning C4244: 'initializing' : conversion from 'time_t' to 'long', possible loss of data 1>pem.c 2>packet.c 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>publickey.c 2>c:\libssh2\src\packet.c(1081) : warning C4244: 'initializing' : conversion from 'time_t' to 'long', possible loss of data 2>c:\libssh2\src\packet.c(1190) : warning C4244: 'initializing' : conversion from 'time_t' to 'long', possible loss of data 2>pem.c 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>scp.c 2>publickey.c 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>c:\libssh2\src\scp.c(292) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(366) : see declaration of 'sprintf' 1>c:\libssh2\src\scp.c(750) : warning C4244: '=' : conversion from 'long' to 'unsigned short', possible loss of data 1>c:\libssh2\src\scp.c(792) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(366) : see declaration of 'sprintf' 1>c:\libssh2\src\scp.c(877) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf' 1>c:\libssh2\src\scp.c(939) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf' 1>session.c 2>scp.c 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>sftp.c 2>c:\libssh2\src\scp.c(292) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(366) : see declaration of 'sprintf' 2>c:\libssh2\src\scp.c(750) : warning C4244: '=' : conversion from 'long' to 'unsigned short', possible loss of data 2>c:\libssh2\src\scp.c(792) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(366) : see declaration of 'sprintf' 2>c:\libssh2\src\scp.c(877) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf' 2>c:\libssh2\src\scp.c(939) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf' 2>session.c 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>c:\libssh2\src\sftp.c(381) : warning C4244: 'initializing' : conversion from 'time_t' to 'long', possible loss of data 1>c:\libssh2\src\sftp.c(1677) : warning C4244: 'return' : conversion from 'libssh2_uint64_t' to 'size_t', possible loss of data 1>transport.c 2>sftp.c 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>userauth.c 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>c:\libssh2\src\sftp.c(381) : warning C4244: 'initializing' : conversion from 'time_t' to 'long', possible loss of data 2>c:\libssh2\src\sftp.c(1677) : warning C4244: 'return' : conversion from 'libssh2_uint64_t' to 'size_t', possible loss of data 2>transport.c 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>c:\libssh2\src\userauth.c(490) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen' 1>channel.c 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>userauth.c 1>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 1>c:\libssh2\src\channel.c(1245) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(366) : see declaration of 'sprintf' 1>Generating Code... 2>c:\libssh2\include\libssh2.h(85) : warning C4142: benign redefinition of type 2>c:\libssh2\src\userauth.c(490) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen' 2>Generating Code... 1>Build log was saved at "file://c:\libssh2\win32\Debug_lib\BuildLog.htm" 1>libssh2_lib - 2 error(s), 31 warning(s) 3>------ Build started: Project: tests, Configuration: Debug Win32 ------ 3>Compiling... 3>simple.c 2>Build log was saved at "file://c:\libssh2\win32\Debug_dll\BuildLog.htm" 2>libssh2_dll - 2 error(s), 31 warning(s) 3>Compiling manifest to resources... 3>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1 3>Copyright (C) Microsoft Corporation. All rights reserved. 3>Linking... 3>LINK : fatal error LNK1104: cannot open file 'libssh2d.lib' 3>Build log was saved at "file://c:\libssh2\win32\Debug\BuildLog.htm" 3>tests - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========