php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63855 compilation fails on windows
Submitted: 2012-12-26 13:36 UTC Modified: 2013-01-08 09:57 UTC
From: erez dot h at zend dot com Assigned: ab (profile)
Status: Closed Package: ssh2 (PECL)
PHP Version: Irrelevant OS: windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
10 + 38 = ?
Subscribe to this entry?

 
 [2012-12-26 13:36 UTC] erez dot h at zend dot com
Description:
------------
compiling  ssh2 0.12 display these error:
ext\ssh2\ssh2.c(683) : warning C4013: 'getpwuid' undefined; assuming extern 
returning int
ext\ssh2\ssh2.c(683) : warning C4013: 'geteuid' undefined; assuming extern 
returning int
ext\ssh2\ssh2.c(683) : warning C4047: '=' : 'passwd *' differs in levels of 
indirection from 'int'
ext\ssh2\ssh2.c(685) : error C2037: left of 'pw_dir' specifies undefined 
struct/union 'passwd'
ext\ssh2\ssh2.c(685) : error C2168: 'strlen' : too few actual parameters for 
intrinsic function
ext\ssh2\ssh2.c(686) : error C2037: left of 'pw_dir' specifies undefined 
struct/union 'passwd'
ext\ssh2\ssh2.c(686) : error C2168: 'strcpy' : too few actual parameters for 
intrinsic function
ext\ssh2\ssh2.c(692) : error C2037: left of 'pw_dir' specifies undefined 
struct/union 'passwd'
ext\ssh2\ssh2.c(692) : error C2168: 'strlen' : too few actual parameters for 
intrinsic function
ext\ssh2\ssh2.c(693) : error C2037: left of 'pw_dir' specifies undefined 
struct/union 'passwd'
ext\ssh2\ssh2.c(693) : error C2168: 'strcpy' : too few actual parameters for 
intrinsic function


Patches

ssh2-0.12 (last revision 2012-12-26 13:36 UTC by erez dot h at zend dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-08 09:53 UTC] ab@php.net
Automatic comment from SVN on behalf of ab
Revision: http://svn.php.net/viewvc/?view=revision&revision=329012
Log: Fix bug Bug #63855 compilation fails on windows (patch from erez dot h at zend dot com)
 [2013-01-08 09:57 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 16:01:30 2024 UTC