|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56398 This extension will not compile with PHP 4.3.10
Submitted: 2005-05-21 17:42 UTC Modified: 2005-05-21 22:59 UTC
From: jstuart at computer-city dot net Assigned:
Status: Closed Package: ssh2 (PECL)
PHP Version: 4.3.10 OS: Gentoo AND Redhat ES 3.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: jstuart at computer-city dot net
New email:
PHP Version: OS:


 [2005-05-21 17:42 UTC] jstuart at computer-city dot net
When attempting to compile this extension with PHP 4.3.10, the below error occurs.

Reproduce code:
/tmp/tmpiU7AKW/ssh2-0.8/ssh2_fopen_wrappers.c: In function `php_ssh2_channel_stream_set_option':
/tmp/tmpiU7AKW/ssh2-0.8/ssh2_fopen_wrappers.c:85: `PHP_STREAM_OPTION_CHECK_LIVENESS' undeclared (first use in this function)
/tmp/tmpiU7AKW/ssh2-0.8/ssh2_fopen_wrappers.c:85: (Each undeclared identifier is reported only once
/tmp/tmpiU7AKW/ssh2-0.8/ssh2_fopen_wrappers.c:85: for each function it appears in.)
make: *** [ssh2_fopen_wrappers.lo] Error 1
`make' failed

Expected result:
It would compile!


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-21 22:59 UTC]
Thanks for reporting, but someone else beat ya to it.  It's already been fixed in CVS.

To apply a fix to your download you can: (A) Comment out lines 85-87 in ssh2_fopen_wrappers.c, (B) Overwrite your copy with the version in CVS (or get it from cvsweb at , or (C) Wait for PECL/ssh2 version 0.9 which whould be rolled around mid-next-week.

Note: This isn't an issue with PHP >= 5.0.0
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 09:01:28 2024 UTC