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 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:
41 - 39 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Tue Apr 16 20:01:31 2024 UTC