php.net |  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
 [2005-05-21 17:42 UTC] jstuart at computer-city dot net
Description:
------------
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!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-21 22:59 UTC] pollita@php.net
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 http://cvs.php.net/co.php/pecl/ssh2/ssh2_fopen_wrappers.c , 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: Tue Mar 19 09:01:30 2024 UTC