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
PHP Version: 5.2.0 RC4 OS: Debian 3.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:
18 - 10 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 17:01:31 2024 UTC