#48479 [NEW]: enable-zend-multibyte breaks compilation
| From: | gabriel at e-radical dot ro | Date: | Fri, 05 Jun 2009 11:30:47 +0000 |
| Subject: | #48479 [NEW]: enable-zend-multibyte breaks compilation | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-138055@lists.php.net to get a copy of this message | ||
From: gabriel at e-radical dot ro
Operating system: Centos 5.3
PHP version: 5.3.0RC2
PHP Bug Type: Compile Failure
Bug description: enable-zend-multibyte breaks compilation
Description:
------------
If you use --enable-zend-multibyte the compiles exists.
Reproduce code:
---------------
./configure --cache-file=../php-5.3.0RC2.cache --with-apxs2 \
--with-gd --enable-gd-native-ttf --with-gettext --enable-ftp \
--enable-soap --with-curl --with-zlib --enable-mod-charset \
--disable-short-tags --with-openssl --with-kerberos --with-pcre-regex \
--without-sqlite3 --enable-bcmath --with-bz2 --enable-calendar \
--enable-ctype --with-curl --disable-dba --enable-dom --enable-exif \
--enable-fileinfo --enable-filter --enable-ftp --enable-gd-jis-conv \
--with-gmp --with-mhash --enable-hash --with-iconv --with-imap \
--with-imap-ssl --enable-intl --enable-json --with-ldap \
--with-ldap-sasl --enable-mbstring --enable-mbregex \
--enable-mbregex-backtrack --with-libmbfl --with-onig --with-mcrypt \
--with-mysql=mysqlnd --with-mysqli=mysqlnd --enable-pcntl \
--enable-pdo --with-pdo-mysql=mysqlnd --without-pdo-sqlite \
--enable-phar --enable-posix --without-libedit --without-readline \
--without-recode --enable-session --without-mm --enable-shmop \
--enable-simplexml --with-snmp --with-openssl-dir --enable-soap \
--enable-ucd-snmp-hack --enable-sockets --without-sqlite \
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-tidy \
--enable-wddx --enable-xml --enable-xmlreader --with-xmlrpc \
--enable-xmlwriter --with-xsl --enable-zip --with-pcre-dir \
--enable-mysqlnd-threading --with-pear --enable-zend-multibyte
Actual result:
--------------
/bin/sh /root/installed/php-5.3.0RC2/libtool --silent --preserve-dup-deps
--mode=compile /root/installed/php-5.3.0RC2/meta_ccld -Iext/mbstring/
-I/root/installed/php-5.3.0RC2/ext/mbstring/ -DPHP_ATOM_INC
-I/root/installed/php-5.3.0RC2/include -I/root/installed/php-5.3.0RC2/main
-I/root/installed/php-5.3.0RC2
-I/root/installed/php-5.3.0RC2/ext/ereg/regex -I/usr/include/libxml2
-I/usr/kerberos/include -I/root/installed/php-5.3.0RC2/ext/date/lib
-I/usr/include/imap -I/root/installed/php-5.3.0RC2/ext/mbstring/oniguruma
-I/root/installed/php-5.3.0RC2/ext/mbstring/libmbfl
-I/root/installed/php-5.3.0RC2/ext/mbstring/libmbfl/mbfl
-I/root/installed/php-5.3.0RC2/TSRM -I/root/installed/php-5.3.0RC2/Zend
-I/usr/include -g -O2 -fvisibility=hidden -DZTS -c
/root/installed/php-5.3.0RC2/ext/mbstring/mbstring.c -o
ext/mbstring/mbstring.lo
/root/installed/php-5.3.0RC2/ext/mbstring/mbstring.c:4726: error: static
declaration of 'php_mb_set_zend_encoding' follows non-static declaration
/root/installed/php-5.3.0RC2/ext/mbstring/mbstring.c:1451: error: previous
implicit declaration of 'php_mb_set_zend_encoding' was here
/root/installed/php-5.3.0RC2/ext/mbstring/mbstring.c: In function
'php_mb_set_zend_encoding':
/root/installed/php-5.3.0RC2/ext/mbstring/mbstring.c:4757: error:
'php_mb_encoding_detector' undeclared (first use in this function)
/root/installed/php-5.3.0RC2/ext/mbstring/mbstring.c:4757: error: (Each
undeclared identifier is reported only once
/root/installed/php-5.3.0RC2/ext/mbstring/mbstring.c:4757: error: for each
function it appears in.)
/root/installed/php-5.3.0RC2/ext/mbstring/mbstring.c:4758: error:
'php_mb_encoding_converter' undeclared (first use in this function)
/root/installed/php-5.3.0RC2/ext/mbstring/mbstring.c:4759: error:
'php_mb_oddlen' undeclared (first use in this function)
make: *** [ext/mbstring/mbstring.lo] Error 1
--
Edit bug report at http://bugs.php.net/?id=48479&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48479&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48479&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48479&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48479&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48479&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48479&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48479&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48479&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48479&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48479&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48479&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48479&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48479&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48479&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48479&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48479&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48479&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48479&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48479&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48479&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48479&r=mysqlcfg