php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57876 compiling
Submitted: 2007-10-16 05:15 UTC Modified: 2007-10-16 05:27 UTC
From: enigmasis at gmail dot com Assigned:
Status: Duplicate Package: ssh2 (PECL)
PHP Version: 5_2 CVS-2007-10-16 OS: Linux version 2.6.9-023stab043.1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: enigmasis at gmail dot com
New email:
PHP Version: OS:

 

 [2007-10-16 05:15 UTC] enigmasis at gmail dot com
Description:
------------
I have PHP 5.2.4 running on Apache 2.2.6 and the gcc version i'm using as you can see is gcc version 3.4.5. I'm running the latest OpenSSL 0.9.8f and had compiled  	libssh2-0.17.tar.gz as specified here: http://www.php.net/manual/en/ref.ssh2.php

Here is what i get when trying to compile with phpize && ./configure --with-ssh2 && make

I also tried using pecl install ssh2-beta and I get the same errors below:


/root/Software/ssh_php/ssh2-0.10/ssh2.c: In function 'zif_ssh2_methods_negotiated':
/root/Software/ssh_php/ssh2-0.10/ssh2.c:481: warning: passing argument 2 of 'libssh2_session_methods' makes integer from pointer without a cast
/root/Software/ssh_php/ssh2-0.10/ssh2.c:481: error: too many arguments to function 'libssh2_session_methods'
/root/Software/ssh_php/ssh2-0.10/ssh2.c: In function 'zif_ssh2_fingerprint':
/root/Software/ssh_php/ssh2-0.10/ssh2.c:536: warning: assignment discards qualifiers from pointer target type
/root/Software/ssh_php/ssh2-0.10/ssh2.c: In function 'zif_ssh2_publickey_add':
/root/Software/ssh_php/ssh2-0.10/ssh2.c:1038: warning: passing argument 1 of '_efree' discards qualifiers from pointer target type
/root/Software/ssh_php/ssh2-0.10/ssh2.c: In function 'zif_ssh2_publickey_list':
/root/Software/ssh_php/ssh2-0.10/ssh2.c:1097: warning: passing argument 4 of 'add_assoc_stringl_ex' discards qualifiers from pointer target type
/root/Software/ssh_php/ssh2-0.10/ssh2.c:1098: warning: passing argument 4 of 'add_assoc_stringl_ex' discards qualifiers from pointer target type
/root/Software/ssh_php/ssh2-0.10/ssh2.c:1106: warning: initialization discards qualifiers from pointer target type
/root/Software/ssh_php/ssh2-0.10/ssh2.c:1107: warning: passing argument 2 of '_zend_hash_add_or_update' discards qualifiers from pointer target type
make: *** [ssh2.lo] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-16 05:27 UTC] enigmasis at gmail dot com
n
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC