[xdebug-general] xdebug 1.3.1 compile error

From: Bernhard Fuerst <bernhard[@]fuersten.info>
Date: Wed, 30 Jun 2004 13:23:13 +0200

Hi, I'm trying to build xdebug 1.3.1 because the new profiling code of
xdebug 2 isn't of much use for me (no visualizing tool available on Mac
OS X).

I got the error below when compiling xdebug 1.3.1.
I'm using the latest php5 from CVS and Mac OS X 10.3.4 (Darwin 7.4)

The use of ZEND_MODULE_EXEC_FINISHED_N in xdebug.c and php_xdebug.h
seems to break it but I don't have any glue how to fix it.

Can anyone help?

[ghost:~/Soft/php/xdebug-1.3.1] fuerst% make
/bin/sh /Users/fuerst/Soft/php/xdebug-1.3.1/libtool --mode=compile gcc
-I. -I/Users/fuerst/Soft/php/xdebug-1.3.1 -DPHP_ATOM_INC
-I/Users/fuerst/Soft/php/xdebug-1.3.1/include
-I/Users/fuerst/Soft/php/xdebug-1.3.1/main
-I/Users/fuerst/Soft/php/xdebug-1.3.1 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/Zend
-I/usr/local/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -prefer-pic -c
/Users/fuerst/Soft/php/xdebug-1.3.1/xdebug.c -o xdebug.lo
mkdir .libs
  gcc -I. -I/Users/fuerst/Soft/php/xdebug-1.3.1 -DPHP_ATOM_INC
-I/Users/fuerst/Soft/php/xdebug-1.3.1/include
-I/Users/fuerst/Soft/php/xdebug-1.3.1/main
-I/Users/fuerst/Soft/php/xdebug-1.3.1 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/Zend
-I/usr/local/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -c
/Users/fuerst/Soft/php/xdebug-1.3.1/xdebug.c -fno-common -DPIC -o
.libs/xdebug.o
In file included from
/Users/fuerst/Soft/php/xdebug-1.3.1/xdebug_var.h:20,
                  from /Users/fuerst/Soft/php/xdebug-1.3.1/xdebug.c:55:
/Users/fuerst/Soft/php/xdebug-1.3.1/php_xdebug.h:66: warning: parameter
names (without types) in function declaration
/Users/fuerst/Soft/php/xdebug-1.3.1/php_xdebug.h:66: warning: data
definition has no type or storage class
/Users/fuerst/Soft/php/xdebug-1.3.1/xdebug.c:125: error: `xdebug'
undeclared here (not in a function)
/Users/fuerst/Soft/php/xdebug-1.3.1/xdebug.c:125: error: initializer
element is not constant
/Users/fuerst/Soft/php/xdebug-1.3.1/xdebug.c:125: error: (near
initialization for `xdebug_module_entry.post_deactivate_func')
make: *** [xdebug.lo] Error 1

tia,
Bernhard

-- 
Mit dem Motorrad durch Südamerika: http://motolat.fuersten.info - jetzt 
auch in bunt!
Received on Wed Jun 30 2004 - 13:23:24 BST

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