[xdebug-dev] Re: xdebug xdebug/php_xdebug.h xdebug/xdebug.c xdebug/xdebug_profiler.c xdebug/xdebug_var.c - Fixed compile failures with PHP 5.2

From: Richard <openmacnews[@]gmail.com>
Date: Wed, 02 Aug 2006 10:18:49 -0700

hi jani,

re: your v52 fixes posted above ...

starting w/ a fresh xdebug co, and with:

% php -i
phpinfo()
PHP Version => 5.2.0RC2-dev

System => Darwin server 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26
15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh
Build Date => Jul 27 2006 09:54:10
...
Server API => Command Line Interface
Virtual Directory Support => enabled
Configuration File (php.ini) Path => /Volumes/Projects/Conf/PHP5/php.ini
PHP API => 20041225
PHP Extension => 20060613
Zend Extension => 220060519
Debug Build => no
Thread Safety => enabled
Zend Memory Manager => disabled
IPv6 Support => disabled
Registered PHP Streams => php, file, data, tftp, ftp, telnet, dict,
ldap, http, https, ftps, compress.zlib
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3,
sslv2, tls
Registered Stream Filters => string.rot13, string.toupper,
string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*,
zlib.*
...

'make' still fails @:

 gcc -I. -I/usr/ports/xdebug-cvs -DPHP_ATOM_INC
- -I/usr/ports/xdebug-cvs/include -I/usr/ports/xdebug-cvs/main
- -I/usr/ports/xdebug-cvs -I/usr/local/php5/include/php
- -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM
- -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext
- -I/usr/local/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c
/usr/ports/xdebug-cvs/xdebug.c -fno-common -DPIC -o .libs/xdebug.o
/usr/ports/xdebug-cvs/xdebug.c:181: warning: initialization makes
integer from pointer without a cast
/usr/ports/xdebug-cvs/xdebug.c: In function 'add_stack_frame':
/usr/ports/xdebug-cvs/xdebug.c:971: error: too few arguments to function
'zend_memory_usage'
/usr/ports/xdebug-cvs/xdebug.c: In function
'return_trace_stack_frame_computerized':
/usr/ports/xdebug-cvs/xdebug.c:1782: error: too few arguments to
function 'zend_memory_usage'
/usr/ports/xdebug-cvs/xdebug.c: In function 'xdebug_throw_exception_hook':
/usr/ports/xdebug-cvs/xdebug.c:1854: warning: passing argument 1 of
'xdebug_hash_extended_find' from incompatible pointer type
/usr/ports/xdebug-cvs/xdebug.c: In function 'xdebug_stop_trace':
/usr/ports/xdebug-cvs/xdebug.c:2428: error: too few arguments to
function 'zend_memory_usage'
/usr/ports/xdebug-cvs/xdebug.c: In function 'zif_xdebug_memory_usage':
/usr/ports/xdebug-cvs/xdebug.c:2506: error: too few arguments to
function 'zend_memory_usage'
/usr/ports/xdebug-cvs/xdebug.c: In function 'zif_xdebug_peak_memory_usage':
/usr/ports/xdebug-cvs/xdebug.c:2511: error: too few arguments to
function 'zend_memory_peak_usage'
make: *** [xdebug.lo] Error 1

i'd gather its related.

hth!

thanks,

richard
Received on Wed Aug 02 2006 - 19:21:06 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST