From:             dg at artegic dot de
Operating system: Solaris 10
PHP version:      5.3.0RC2
PHP Bug Type:     Compile Failure
Bug description:  Compilation fails on mbstring.c

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 bug report at http://bugs.php.net/?id=48200&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=48200&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=48200&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=48200&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=48200&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48200&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48200&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48200&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48200&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48200&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48200&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48200&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48200&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48200&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48200&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48200&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48200&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48200&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48200&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48200&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48200&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48200&r=mysqlcfg

Reply via email to