ID: 48281 Updated by: j...@php.net Reported By: robert at octarineparrot dot com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Ubuntu 8.04 PHP Version: 5.3.0RC2 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [2009-05-14 14:55:03] robert at octarineparrot dot com Description: ------------ When compiling PHP 5.3.0 RC2 on Ubuntu 8.04, compilation fails with the following errors. Reproduce code: --------------- My compile line: ./configure --enable-fastcgi --enable-force-cgi-redirect --with-zlib --enable-bcmath --with-bz2 --with-curl --with-gd --enable-gd-native-ttf --with-gettext --enable-mbstring --with-mcrypt --with-mysqli=/usr/local/mysql/latest/bin/mysql_config --with-mhash --enable-pdo --with-pdo-mysql=/usr/local/mysql/latest/ --enable-zip --enable-zend-multibyte --with-freetype-dir=/usr/lib/ --with-mysql=/usr/local/mysql/latest/ --enable-wddx --with-xmlrpc --with-ldap --with-openssl % libtool --version ltmain.sh (GNU libtool) 1.5.26 Debian 1.5.26-1ubuntu1 (1.1220.2.493 2008/02/01 16:58:18) % gcc --version gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3) Actual result: -------------- /bin/sh /home/robert/apps/php-5.3.0RC2/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/mysqli/ -I/home/robert/apps/php-5.3.0RC2/ext/mysqli/ -DPHP_ATOM_INC -I/home/robert/apps/php-5.3.0RC2/include -I/home/robert/apps/php-5.3.0RC2/main -I/home/robert/apps/php-5.3.0RC2 -I/home/robert/apps/php-5.3.0RC2/ext/ereg/regex -I/usr/include/libxml2 -I/home/robert/apps/php-5.3.0RC2/ext/date/lib -I/usr/include/freetype2 -I/home/robert/apps/php-5.3.0RC2/ext/mbstring/oniguruma -I/home/robert/apps/php-5.3.0RC2/ext/mbstring/libmbfl -I/home/robert/apps/php-5.3.0RC2/ext/mbstring/libmbfl/mbfl -I/usr/local/mysql/latest//include/mysql -I/usr/local/mysql/latest/include/mysql -I/home/robert/apps/php-5.3.0RC2/ext/sqlite3/libsqlite -I/home/robert/apps/php-5.3.0RC2/TSRM -I/home/robert/apps/php-5.3.0RC2/Zend -I/usr/include -g -O2 -fvisibility=hidden -c /home/robert/apps/php-5.3.0RC2/ext/mysqli/mysqli.c -o ext/mysqli/mysqli.lo /home/robert/apps/php-5.3.0RC2/ext/mbstring/mbstring.c:4726: error: static declaration of 'php_mb_set_zend_encoding' follows non-static declaration /home/robert/apps/php-5.3.0RC2/ext/mbstring/mbstring.c:1451: error: previous implicit declaration of 'php_mb_set_zend_encoding' was here /home/robert/apps/php-5.3.0RC2/ext/mbstring/mbstring.c: In function 'php_mb_set_zend_encoding': /home/robert/apps/php-5.3.0RC2/ext/mbstring/mbstring.c:4757: error: 'php_mb_encoding_detector' undeclared (first use in this function) /home/robert/apps/php-5.3.0RC2/ext/mbstring/mbstring.c:4757: error: (Each undeclared identifier is reported only once /home/robert/apps/php-5.3.0RC2/ext/mbstring/mbstring.c:4757: error: for each function it appears in.) /home/robert/apps/php-5.3.0RC2/ext/mbstring/mbstring.c:4758: error: 'php_mb_encoding_converter' undeclared (first use in this function) /home/robert/apps/php-5.3.0RC2/ext/mbstring/mbstring.c:4759: error: 'php_mb_oddlen' undeclared (first use in this function) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48281&edit=1