|  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
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-08 15:35 UTC]
Xdebug 1.3 doesn't work with recent PHP 5 versions. Use the lastest 2.0rc1. (And please use the bug system at in the future).
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Jul 09 19:01:28 2020 UTC