php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58544 Compilation fails on windows
Submitted: 2009-02-09 05:26 UTC Modified: 2012-10-06 09:19 UTC
From: steven at salvania dot be Assigned:
Status: No Feedback Package: ssh2 (PECL)
PHP Version: Irrelevant OS: Windows
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-02-09 05:26 UTC] steven at salvania dot be
Description:
------------
session.c
ext\ssh2\libssh2\src\session.c(354) : error C2065: 'socklen_t' : undeclared identifier
ext\ssh2\libssh2\src\session.c(354) : error C2146: syntax error : missing ';' before identifier 'option_len'
ext\ssh2\libssh2\src\session.c(354) : error C2065: 'option_len' : undeclared identifier
ext\ssh2\libssh2\src\session.c(1308) : warning C4018: '==' : signed/unsigned mismatch
ext\ssh2\libssh2\src\session.c(1313) : warning C4018: '==' : signed/unsigned mismatch
ext\ssh2\libssh2\src\session.c(1320) : warning C4018: '==' : signed/unsigned mismatch
ext\ssh2\libssh2\src\session.c(1328) : warning C4018: '==' : signed/unsigned mismatch


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-09 05:34 UTC] steven at salvania dot be
rc /fo Release_TS\php5ts.dll.res /d FILE_DESCRIPTION="\"PHP Script Interpreter\""  /d FILE_NAME="\"php5ts.dll\"" /d PRODUCT_NAME="\"PHP Script
 Interpreter\""  /IRelease_TS /d MC_INCLUDE="\"Release_TS\wsyslog.rc\""  win32\build\template.rc
   Creating library Release_TS\php5ts.lib and object Release_TS\php5ts.exp
        rc /fo Release_TS\php_ssh2.dll.res /d FILE_DESCRIPTION="\"PHP php_ssh2.dll\"" /d FILE_NAME="\"php_ssh2.dll\"" /d PRODUCT_NAME="\"PHP php_ssh2.
dll\"" /d THANKS_GUYS="\"\"" win32\build\template.rc
   Creating library Release_TS\php_ssh2.lib and object Release_TS\php_ssh2.exp
libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol __imp__DeleteDC@4
libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol __imp__DeleteObject@4
libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol __imp__GetBitmapBits@12
libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol __imp__BitBlt@36
libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol __imp__GetObjectA@12
libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol __imp__SelectObject@8
libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol __imp__CreateCompatibleBitmap@12
libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol __imp__GetDeviceCaps@8
libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol __imp__CreateCompatibleDC@4
libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol __imp__CreateDCA@16
Release_TS\php_ssh2.dll : fatal error LNK1120: 10 unresolved externals
NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2'
 [2012-06-14 22:05 UTC] langemeijer@php.net
Was this a duplicate of bug #58843 ?

Can you confirm that compiling the latest version on windows now works?
 [2012-06-14 22:05 UTC] langemeijer@php.net
-Status: Open +Status: Feedback
 [2012-10-06 09:19 UTC] langemeijer@php.net
-Status: Feedback +Status: No Feedback
 [2012-10-06 09:19 UTC] langemeijer@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Oct 22 23:03:34 2021 UTC