php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20309 mbstring compile error
Submitted: 2002-11-08 07:16 UTC Modified: 2002-11-08 10:26 UTC
From: scr34m at frontember dot hu Assigned:
Status: Not a bug Package: mbstring related
PHP Version: 4.2.3 OS: RedHat 8
Private report: No CVE-ID: None
 [2002-11-08 07:16 UTC] scr34m at frontember dot hu
./configure --enable-mbsting --enable-mbstr-enc-trans --enable-mbregex 

make fail with this error

make[1]: Entering directory `/usr/src/php4-STABLE-200211030600'
/bin/sh /usr/src/php4-STABLE-200211030600/libtool --silent --mode=link gcc -I. -I/usr/src/php4-STABLE-200211030600/ -I/usr/src/php4-STABLE-200211030600/main -I/usr/src/php4-STABLE-200211030600 -I/usr/src/php4-STABLE-200211030600/Zend -I/usr/src/php4-STABLE-200211030600/ext/mysql/libmysql -I/usr/src/php4-STABLE-200211030600/ext/xml/expat  -I/usr/src/php4-STABLE-200211030600/TSRM -g -O2   -o php -export-dynamic     stub.lo libphp4.la
./.libs/libphp4.a(main.o): In function `php_hash_environment':
/usr/src/php4-STABLE-200211030600/main/main.c:1167: undefined reference to `mbstr_treat_data'
/usr/src/php4-STABLE-200211030600/main/main.c:1174: undefined reference to `mbstr_treat_data'
/usr/src/php4-STABLE-200211030600/main/main.c:1181: undefined reference to `mbstr_treat_data'
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/usr/src/php4-STABLE-200211030600'
make: *** [all-recursive] Error 1
[root@smile php4-STABLE-200211030600]#

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-08 09:28 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Works fine with latest CVS (unstable).
 [2002-11-08 10:10 UTC] moriyoshi@php.net
Just a comment: the compile failure was caused just by typo "--enable-mbsting". If it is corrected, then you might get no failure. So you can use stable version of snapshot as well.

 [2002-11-08 10:26 UTC] scr34m at frontember dot hu
oh thanx but the support can't help 4 me i asked many ppl and on IRCnet too nobody cant help me :/

--enable-mbstring is that sorry i typed wrong :/
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC