From:             zhouxh at im dot ac dot cn
Operating system: Fedora Core release 3.91 (Pre-FC
PHP version:      5.0.4
PHP Bug Type:     Compile Failure
Bug description:  can't compile php5.0.4 with curl7.13.1-1 at FC4 test2

Description:
------------
i upgrade from Fedora Core 3 to Fedora Core 4 test 2, then i want to
recompile php5.0.4 with apache 2.0.53.

kernel: 2.6.11-1.1226_FC4

gcc version: gcc-4.0.0-0.40

curl version: curl-7.13.1-1

ps: at Fedora Core 3 all are ok!

Reproduce code:
---------------
/configure --with-mod_charset --prefix=/usr/local/php5 --with-libxml-dir
--with-zlib=/usr/local --enable-bcmath --with-bz2 --enable-calendar
--with-jpeg-dir=/usr/local --with-tiff-dir --with-curl=/usr
--with-curlwrappers --with-gd --enable-ftp --with-png-dir
--with-freetype-dir --enable-gd-native-ttf --enable-gd-jis-conv
--with-mysql=/usr/local/mysql4 --enable-magic-quotes
--enable-embedded-mysqli --with-tidy --enable-sockets --enable-shmop
--enable-soap --enable-wddx --enable-maintainer-zts --enable-memory-limit
--enable-zend-multibyte --enable-yp --with-iconv --enable-exif
--with-apxs2=/usr/local/apache/bin/apxs --enable-mbstring
--with-oci8=/home/oracle/ouihome --enable-sigchild --enable-sqlite-utf8
--enable-ucd-snmp-hack --enable-roxen-zts --enable-dbase --enable-dbx
--enable-dio --enable-libgc --with-openssl --enable-safe-mode
--with-cpdflib --with-gettext

Expected result:
----------------
compile finished!

Actual result:
--------------
/bin/sh /data/websoft/php-5.0.4/libtool --silent --preserve-dup-deps
--mode=compile /data/websoft/php-5.0.4/meta_ccld
-I/data/websoft/php-5.0.4/ext/gd/libgd -DHAVE_LIBPNG -DHAVE_LIBJPEG
-DHAVE_LIBFREETYPE -DJISX0208 -Iext/cpdf/
-I/data/websoft/php-5.0.4/ext/cpdf/ -DPHP_ATOM_INC
-I/data/websoft/php-5.0.4/include -I/data/websoft/php-5.0.4/main
-I/data/websoft/php-5.0.4 -I/usr/include/libxml2 -I/usr/kerberos/include
-I/usr/local/include -I/usr/local/include/freetype2
-I/data/websoft/php-5.0.4/ext/mbstring/oniguruma
-I/data/websoft/php-5.0.4/ext/mbstring/libmbfl
-I/data/websoft/php-5.0.4/ext/mbstring/libmbfl/mbfl
-I/usr/local/mysql4/include/mysql -I/home/oracle/ouihome/rdbms/public
-I/home/oracle/ouihome/rdbms/demo -I/home/oracle/ouihome/plsql/public
-I/usr/local/include/tidy -I/data/websoft/php-5.0.4/TSRM
-I/data/websoft/php-5.0.4/Zend  -D_REENTRANT  -g -O2 -pthread -DZTS 
-prefer-non-pic -c /data/websoft/php-5.0.4/ext/cpdf/cpdf.c -o
ext/cpdf/cpdf.lo
/data/websoft/php-5.0.4/ext/cpdf/cpdf.c: In function
'zif_cpdf_stringwidth':
/data/websoft/php-5.0.4/ext/cpdf/cpdf.c:1035: warning: pointer targets in
passing argument 2 of 'cpdf_stringWidth' differ in signedness
/bin/sh /data/websoft/php-5.0.4/libtool --silent --preserve-dup-deps
--mode=compile /data/websoft/php-5.0.4/meta_ccld  -Iext/ctype/
-I/data/websoft/php-5.0.4/ext/ctype/ -DPHP_ATOM_INC
-I/data/websoft/php-5.0.4/include -I/data/websoft/php-5.0.4/main
-I/data/websoft/php-5.0.4 -I/usr/include/libxml2 -I/usr/kerberos/include
-I/usr/local/include -I/usr/local/include/freetype2
-I/data/websoft/php-5.0.4/ext/mbstring/oniguruma
-I/data/websoft/php-5.0.4/ext/mbstring/libmbfl
-I/data/websoft/php-5.0.4/ext/mbstring/libmbfl/mbfl
-I/usr/local/mysql4/include/mysql -I/home/oracle/ouihome/rdbms/public
-I/home/oracle/ouihome/rdbms/demo -I/home/oracle/ouihome/plsql/public
-I/usr/local/include/tidy -I/data/websoft/php-5.0.4/TSRM
-I/data/websoft/php-5.0.4/Zend  -D_REENTRANT  -g -O2 -pthread -DZTS 
-prefer-non-pic -c /data/websoft/php-5.0.4/ext/ctype/ctype.c -o
ext/ctype/ctype.lo
/bin/sh /data/websoft/php-5.0.4/libtool --silent --preserve-dup-deps
--mode=compile /data/websoft/php-5.0.4/meta_ccld  -Iext/curl/
-I/data/websoft/php-5.0.4/ext/curl/ -DPHP_ATOM_INC
-I/data/websoft/php-5.0.4/include -I/data/websoft/php-5.0.4/main
-I/data/websoft/php-5.0.4 -I/usr/include/libxml2 -I/usr/kerberos/include
-I/usr/local/include -I/usr/local/include/freetype2
-I/data/websoft/php-5.0.4/ext/mbstring/oniguruma
-I/data/websoft/php-5.0.4/ext/mbstring/libmbfl
-I/data/websoft/php-5.0.4/ext/mbstring/libmbfl/mbfl
-I/usr/local/mysql4/include/mysql -I/home/oracle/ouihome/rdbms/public
-I/home/oracle/ouihome/rdbms/demo -I/home/oracle/ouihome/plsql/public
-I/usr/local/include/tidy -I/data/websoft/php-5.0.4/TSRM
-I/data/websoft/php-5.0.4/Zend  -D_REENTRANT  -g -O2 -pthread -DZTS 
-prefer-non-pic -c /data/websoft/php-5.0.4/ext/curl/interface.c -o
ext/curl/interface.lo
/data/websoft/php-5.0.4/ext/curl/interface.c: In function
'zif_curl_init':
/data/websoft/php-5.0.4/ext/curl/interface.c:809: error: invalid lvalue in
assignment
/data/websoft/php-5.0.4/ext/curl/interface.c: In function
'zif_curl_copy_handle':
/data/websoft/php-5.0.4/ext/curl/interface.c:870: error: invalid lvalue in
assignment
make: *** [ext/curl/interface.lo] Error 1


-- 
Edit bug report at http://bugs.php.net/?id=32702&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=32702&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=32702&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=32702&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=32702&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=32702&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=32702&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=32702&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=32702&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=32702&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=32702&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=32702&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=32702&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=32702&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=32702&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=32702&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=32702&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=32702&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=32702&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=32702&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=32702&r=mysqlcfg

Reply via email to