[xdebug-dev] Bug 0000412: make: *** [xdebug_code_coverage.lo] Error 1

From: <noreply[@]lists.xdebug.org>
Date: Tue, 7 Oct 2008 09:29:58 +0200

The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000412
======================================================================
Reporter: MasterX
Handler:
======================================================================
Project: Xdebug
Bug ID: 412
Category: Installation
Reproducibility: always
Severity: major
Priority: normal
Status: new
Operating System: CentOS 5.2
PHP Version: 4.4-dev
Xdebug Version: 2.0.3
======================================================================
Date Submitted: 2008-10-07 09:29 CEST
Last Modified: 2008-10-07 09:29 CEST
======================================================================
Summary: make: *** [xdebug_code_coverage.lo] Error 1
Description:
Dear all

I have tried to install xdebug on my server but it has error when
compile.

I use cc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52) and PHP 4.4.9.

I ran command: ./configure --enable-xdebug
--with-php-config=/Thanh/php-4.4.9/scripts/php-config

After that I ran make but it shown me error:

/bin/sh /Thanh/xdebug-2.0.3/libtool --mode=compile gcc -I.
-I/Thanh/xdebug-2.0.3 -DPHP_ATOM_INC -I/Thanh/xdebug-2.0.3/include
-I/Thanh/xdebug-2.0.3/main -I/Thanh/xdebug-2.0.3 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -DHAVE_CONFIG_H -g -O0 -c
/Thanh/xdebug-2.0.3/xdebug_code_coverage.c -o xdebug_code_coverage.lo
gcc -I. -I/Thanh/xdebug-2.0.3 -DPHP_ATOM_INC -I/Thanh/xdebug-2.0.3/include
-I/Thanh/xdebug-2.0.3/main -I/Thanh/xdebug-2.0.3 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -DHAVE_CONFIG_H -g -O0 -c
/Thanh/xdebug-2.0.3/xdebug_code_coverage.c -fPIC -DPIC -o
xdebug_code_coverage.lo
/Thanh/xdebug-2.0.3/xdebug_code_coverage.c: In function
'xdebug_find_jump':
/Thanh/xdebug-2.0.3/xdebug_code_coverage.c:148: error: 'union <anonymous>'
has no member named 'jmp_addr'
/Thanh/xdebug-2.0.3/xdebug_code_coverage.c: In function
'prefill_from_oparray':
/Thanh/xdebug-2.0.3/xdebug_code_coverage.c:233: warning: assignment makes
pointer from integer without a cast
/Thanh/xdebug-2.0.3/xdebug_code_coverage.c: In function
'prefill_from_function_table':
/Thanh/xdebug-2.0.3/xdebug_code_coverage.c:272: warning: comparison
between pointer and integer
/Thanh/xdebug-2.0.3/xdebug_code_coverage.c: In function
'xdebug_prefill_code_coverage':
/Thanh/xdebug-2.0.3/xdebug_code_coverage.c:312: warning: comparison
between pointer and integer
make: *** [xdebug_code_coverage.lo] Error 1

Please help me to fix it.
======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2008-10-07 09:29MasterX New Bug
2008-10-07 09:29MasterX Bug Monitored: MasterX
======================================================================
Received on Tue Oct 07 2008 - 09:29:58 BST

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