[xdebug-general] Problem with build

From: Martin Streicher <martin.streicher[@]gmail.com>
Date: Wed, 7 Feb 2007 14:12:48 -0500

On Debian, I am seeing the following problem with the build of
Xdebug.... any fixes?

gcc -I. -I/home/strike/src/xdebug-2.0.0RC3 -DPHP_ATOM_INC -I/home/
strike/src/xdebug-2.0.0RC3/include -I/home/strike/src/xdebug-2.0.0RC3/
main -I/home/strike/src/xdebug-2.0.0RC3 -I/usr/include/php4 -I/usr/
include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM -
DHAVE_CONFIG_H -g -O0 -c /home/strike/src/xdebug-2.0.0RC3/
usefulstuff.c -fPIC -DPIC -o .libs/usefulstuff.o

/bin/sh /home/strike/src/xdebug-2.0.0RC3/libtool --mode=link gcc -
DPHP_ATOM_INC -I/home/strike/src/xdebug-2.0.0RC3/include -I/home/
strike/src/xdebug-2.0.0RC3/main -I/home/strike/src/xdebug-2.0.0RC3 -I/
usr/include/php4 -I/usr/include/php4/main -I/usr/include/php4/Zend -I/
usr/include/php4/TSRM -DHAVE_CONFIG_H -g -O0 -o xdebug.la -export-
dynamic -avoid-version -prefer-pic -module -rpath /home/strike/src/
xdebug-2.0.0RC3/modules xdebug.lo xdebug_code_coverage.lo
xdebug_com.lo xdebug_compat.lo xdebug_handler_dbgp.lo
xdebug_handler_gdb.lo xdebug_handler_php3.lo xdebug_handlers.lo
xdebug_llist.lo xdebug_hash.lo xdebug_private.lo xdebug_profiler.lo
xdebug_set.lo xdebug_str.lo xdebug_superglobals.lo xdebug_var.lo
xdebug_xml.lo usefulstuff.lo -lm
gcc -shared .libs/xdebug.o .libs/xdebug_code_coverage.o .libs/
xdebug_com.o .libs/xdebug_compat.o .libs/xdebug_handler_dbgp.o .libs/
xdebug_handler_gdb.o .libs/xdebug_handler_php3.o .libs/
xdebug_handlers.o .libs/xdebug_llist.o .libs/xdebug_hash.o .libs/
xdebug_private.o .libs/xdebug_profiler.o .libs/xdebug_set.o .libs/
xdebug_str.o .libs/xdebug_superglobals.o .libs/xdebug_var.o .libs/
xdebug_xml.o .libs/usefulstuff.o -lm -Wl,-soname -Wl,xdebug.so -
o .libs/xdebug.so

/usr/lib/libc_nonshared.a(stat.oS)(.text.__i686.get_pc_thunk.bx+0x0):
In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
/usr/lib/gcc-lib/i486-linux/3.3.5/crtbeginS.o
(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here
collect2: ld returned 1 exit status
make: *** [xdebug.la] Error 1

Some data:
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Received on Wed Feb 07 2007 - 20:13:07 GMT

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