#48200 [Opn->Fbk]: Compilation fails on mbstring.c
ID: 48200
Updated by: jani@php.net
Reported By: dg at artegic dot de
-Status: Open
+Status: Feedback
-Bug Type: Compile Failure
+Bug Type: mbstring related
Operating System: Solaris 10
PHP Version: 5.3.0RC2
New Comment:
Drop this first: CFLAGS="-i -zlazyload -w"
Then get the latest CVS snapshots of both PHP 5.2 and 5.3 branches
here:
http://snaps.php.net/ and test your configure line with both.
Previous Comments:
------------------------------------------------------------------------
[2009-05-09 11:48:05] dg at artegic dot de
Description:
------------
Compilation of mbstring.c fails on Sun C 5.9 SunOS_i386 Patch 124868-09
2009/04/14, independent of compiler settings i.e. "-fast"
Reproduce code:
---------------
CFLAGS="-i -zlazyload -w" \
./configure \
--prefix=/xxx \
--with-config-file-path=/xxx \
--enable-mysqlnd-threading \
--with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-zlib \
--with-openssl=/xxx \
--with-apxs2=/xxx \
--with-curl \
--with-curlwrappers \
--with-pspell \
--with-tidy=/xxx \
--with-iconv \
--with-gd \
--with-jpeg-dir \
--enable-gd-native-ttf \
--with-freetype-dir=/xxx \
--enable-pcntl \
--enable-mbstring \
--enable-zend-multibyte \
--enable-zip \
--without-pear \
--without-sqlite \
--without-sqlite3 \
--without-cdb \
--disable-posix \
--disable-pdo \
--disable-cgi \
--disable-ipv6 \
--disable-json \
--disable-phar
Actual result:
--------------
/bin/sh /home/remote/compile/php5.3-200905090630/libtool --silent --
preserve-dup-deps --mode=compile cc -Iext/mbstring/ -
I/home/remote/compile/php5.3-200905090630/ext/mbstring/ -DPHP_ATOM_INC
-I/home/remote/compile/php5.3-200905090630/include -
I/home/remote/compile/php5.3-200905090630/main -
I/home/remote/compile/php5.3-200905090630 -
I/home/remote/compile/php5.3-200905090630/ext/ereg/regex -
I/usr/include/libxml2 -I/usr/sfw/include -I/usr/local/include -
I/home/remote/compile/php5.3-200905090630/ext/date/lib -
I/usr/sfw/include/freetype2 -I/home/remote/compile/php5.3-
200905090630/ext/mbstring/oniguruma -I/home/remote/compile/php5.3-
200905090630/ext/mbstring/libmbfl -I/home/remote/compile/php5.3-
200905090630/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -
I/home/remote/compile/php5.3-200905090630/TSRM -
I/home/remote/compile/php5.3-200905090630/Zend -
D_POSIX_PTHREAD_SEMANTICS -I/usr/include -i -zlazyload -w -DZTS -c
/home/remote/compile/php5.3-200905090630/ext/mbstring/mbstring.c -o
ext/mbstring/mbstring.lo
"/home/remote/compile/php5.3-200905090630/ext/mbstring/mbstring.c",
line 4757: undefined symbol: php_mb_encoding_detector
"/home/remote/compile/php5.3-200905090630/ext/mbstring/mbstring.c",
line 4758: undefined symbol: php_mb_encoding_converter
"/home/remote/compile/php5.3-200905090630/ext/mbstring/mbstring.c",
line 4759: undefined symbol: php_mb_oddlen
cc: acomp failed for /home/remote/compile/php5.3-
200905090630/ext/mbstring/mbstring.c
*** Error code 1
make: Fatal error: Command failed for target
`ext/mbstring/mbstring.lo'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48200&edit=1
Thread (5 messages)