[xdebug-general] Xdebug 2.0.0beta6 and PHP 5.2.0RC3

From: Clay Loveless <clay[@]killersoft.com>
Date: Sun, 10 Sep 2006 11:17:24 -0700

To follow up on the post regarding Xdebug problems with PHP 5.2.0
[1], I have not been able to compile Xdebug 2.0.0beta6 against PHP
5.2.0RC3 on Mac OS X 10.4.7.

Using a fresh copy of the Xdebug 2.0.0beta6 source, I experience
these errors when running 'make':

clay:/usr/local/src/php/xdebug-2.0.0beta6 clay$ make
/bin/sh /usr/local/src/php/xdebug-2.0.0beta6/libtool --mode=compile
gcc -I. -I/usr/local/src/php/xdebug-2.0.0beta6 -DPHP_ATOM_INC -I/usr/
local/src/php/xdebug-2.0.0beta6/include -I/usr/local/src/php/
xdebug-2.0.0beta6/main -I/usr/local/src/php/xdebug-2.0.0beta6 -I/usr/
include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/
include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/
lib -DHAVE_CONFIG_H -g -O0 -c /usr/local/src/php/
xdebug-2.0.0beta6/xdebug.c -o xdebug.lo
mkdir .libs
gcc -I. -I/usr/local/src/php/xdebug-2.0.0beta6 -DPHP_ATOM_INC -I/usr/
local/src/php/xdebug-2.0.0beta6/include -I/usr/local/src/php/
xdebug-2.0.0beta6/main -I/usr/local/src/php/xdebug-2.0.0beta6 -I/usr/
include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/
include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/
lib -DHAVE_CONFIG_H -g -O0 -c /usr/local/src/php/xdebug-2.0.0beta6/
xdebug.c -fno-common -DPIC -o .libs/xdebug.o
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:181: warning:
initialization makes integer from pointer without a cast
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c: In function
'add_stack_frame':
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:971: error:
'allocated_memory' undeclared (first use in this function)
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:971: error: (Each
undeclared identifier is reported only once
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:971: error: for each
function it appears in.)
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c: In function
'xdebug_execute':
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:1250: error: too few
arguments to function 'php_setcookie'
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:1264: error: too few
arguments to function 'php_setcookie'
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:1280: error: too few
arguments to function 'php_setcookie'
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c: In function
'return_trace_stack_frame_computerized':
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:1782: error:
'allocated_memory' undeclared (first use in this function)
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c: In function
'xdebug_throw_exception_hook':
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:1854: warning: passing
argument 1 of 'xdebug_hash_extended_find' from incompatible pointer type
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c: In function
'xdebug_error_cb':
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:1952: error:
'memory_limit' undeclared (first use in this function)
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:1952: error: invalid
lvalue in assignment
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c: In function
'xdebug_stop_trace':
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:2424: error:
'allocated_memory' undeclared (first use in this function)
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c: In function
'zif_xdebug_memory_usage':
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:2502: error:
'allocated_memory' undeclared (first use in this function)
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c: In function
'zif_xdebug_peak_memory_usage':
/usr/local/src/php/xdebug-2.0.0beta6/xdebug.c:2507: error:
'allocated_memory_peak' undeclared (first use in this function)
make: *** [xdebug.lo] Error 1

phpize configured for:

Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519

Are other people successfully running beta6 with PHP 5.2.0RC3?

Thanks,
Clay

[1]: http://xdebug.org/archives/xdebug-general/0648.html

--
Killersoft.com
Received on Sun Sep 10 2006 - 20:17:28 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST