#26386 [NEW]: Error while compiling bcompiler

From: Date: Mon, 24 Nov 2003 18:50:34 +0000
Subject: #26386 [NEW]: Error while compiling bcompiler
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23835@lists.php.net to get a copy of this message
From: yvan dot taviaud at m4am dot net Operating system: Debian 2.4.22 PHP version: 4CVS-2003-11-24 (stable) PHP Bug Type: PECL related Bug description: Error while compiling bcompiler Description: ------------ While making the bcompiler extensions using PEAR, I got the following warning message (tried to make it with the --enable-bcompiler while compiling PHP core, but same error still occurs, and the module .so as the same size) : running make : /bin/sh /var/tmp/pear-build-root/bcompiler-0.5/libtool --mode=compile gcc -I. -I/tmp/tmpIGYOQU/bcompiler-0.5 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/bcompiler-0.5/include -I/var/tmp/pear-build-root/bcompiler-0.5/main -I/tmp/tmpIGYOQU/bcompiler-0.5 -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 /tmp/tmpIGYOQU/bcompiler-0.5/bcompiler.c -o bcompiler.lo mkdir .libs gcc -I. -I/tmp/tmpIGYOQU/bcompiler-0.5 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/bcompiler-0.5/include -I/var/tmp/pear-build-root/bcompiler-0.5/main -I/tmp/tmpIGYOQU/bcompiler-0.5 -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 /tmp/tmpIGYOQU/bcompiler-0.5/bcompiler.c -fPIC -DPIC -o .libs/bcompiler.o /tmp/tmpIGYOQU/bcompiler-0.5/bcompiler.c: In function `bcompiler_stream_bz2open_from_BZFILE': /tmp/tmpIGYOQU/bcompiler-0.5/bcompiler.c:953: warning: passing arg 1 of `_php_stream_alloc' from incompatible pointer type /bin/sh /var/tmp/pear-build-root/bcompiler-0.5/libtool --mode=link gcc -DPHP_ATOM_INC -I/var/tmp/pear-build-root/bcompiler-0.5/include -I/var/tmp/pear-build-root/bcompiler-0.5/main -I/tmp/tmpIGYOQU/bcompiler-0.5 -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 -o bcompiler.la -export-dynamic -avoid-version -prefer-pic -module -rpath /var/tmp/pear-build-root/bcompiler-0.5/modules bcompiler.lo -lbz2 gcc -shared .libs/bcompiler.o -lbz2 -Wl,-soname -Wl,bcompiler.so -o .libs/bcompiler.so creating bcompiler.la (cd .libs && rm -f bcompiler.la && ln -s ../bcompiler.la bcompiler.la) /bin/sh /var/tmp/pear-build-root/bcompiler-0.5/libtool --mode=install cp ./bcompiler.la /var/tmp/pear-build-root/bcompiler-0.5/modules cp ./.libs/bcompiler.so /var/tmp/pear-build-root/bcompiler-0.5/modules/bcompiler.so cp ./.libs/bcompiler.lai /var/tmp/pear-build-root/bcompiler-0.5/modules/bcompiler.la PATH="$PATH:/sbin" ldconfig -n /var/tmp/pear-build-root/bcompiler-0.5/modules And when I run PHP with this module, I get : Warning: bcompiler: unable to open stream in Unknown on line 0 Reproduce code: --------------- pear install bcompiler-0.5.tgz Expected result: ---------------- No errors during compiling -- Edit bug report at http://bugs.php.net/?id=26386&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26386&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26386&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26386&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26386&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26386&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26386&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26386&r=support Expected behavior: http://bugs.php.net/fix.php?id=26386&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26386&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26386&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26386&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26386&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26386&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26386&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26386&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26386&r=float

« previous php.pear.dev (#23835) next »