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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: erez dot h at zend dot com
New email:
PHP Version: OS:

 

 [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-2020 The PHP Group
All rights reserved.
Last updated: Wed Jul 15 12:01:27 2020 UTC