php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57347 XDebug won't compile with PHP5.2
Submitted: 2006-11-06 14:26 UTC Modified: 2006-11-08 15:35 UTC
From: evert at rooftopsolutions dot nl Assigned:
Status: Not a bug Package: Xdebug (PECL)
PHP Version: 5.2.0 RC4 OS: Debian 3.1
Private report: No CVE-ID: None
 [2006-11-06 14:26 UTC] evert at rooftopsolutions dot nl
Description:
------------
XDebug throws error upon compilation with PHP5.2 (the latest, not the RC)

Reproduce code:
---------------
phpize && ./configure && make && make install

Expected result:
----------------
compiled state

Actual result:
--------------
 gcc -I. -I/home/filemobile/pecl/xdebug-1.3.2 -DPHP_ATOM_INC -I/home/filemobile/pecl/xdebug-1.3.2/include -I/home/filemobile/pecl/xdebug-1.3.2/main -I/home/filemobile/pecl/xdebug-1.3.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/filemobile/pecl/xdebug-1.3.2/xdebug.c  -fPIC -DPIC -o .libs/xdebug.o
/home/filemobile/pecl/xdebug-1.3.2/xdebug.c:129: warning: initialization makes integer from pointer without a cast
/home/filemobile/pecl/xdebug-1.3.2/xdebug.c: In function `add_stack_frame':
/home/filemobile/pecl/xdebug-1.3.2/xdebug.c:618: error: `allocated_memory' undeclared (first use in this function)
/home/filemobile/pecl/xdebug-1.3.2/xdebug.c:618: error: (Each undeclared identifier is reported only once
/home/filemobile/pecl/xdebug-1.3.2/xdebug.c:618: error: for each function it appears in.)
/home/filemobile/pecl/xdebug-1.3.2/xdebug.c: In function `zif_xdebug_memory_usage':
/home/filemobile/pecl/xdebug-1.3.2/xdebug.c:1526: error: `allocated_memory' undeclared (first use in this function)
make: *** [xdebug.lo] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-08 15:35 UTC] derick@php.net
Xdebug 1.3 doesn't work with recent PHP 5 versions. Use the lastest 2.0rc1. (And please use the bug system at http://bugs.xdebug.org in the future).
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jan 19 22:01:23 2020 UTC