|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40538 Compile Error
Submitted: 2007-02-19 08:44 UTC Modified: 2007-02-19 10:01 UTC
From: support at myevolve dot com Assigned:
Status: Not a bug Package: mbstring related
PHP Version: 5CVS-2007-02-19 (snap) OS: Red Hat EL 3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
39 - 13 = ?
Subscribe to this entry?

 [2007-02-19 08:44 UTC] support at myevolve dot com
Only when using "--enable-mbstring" in version 5.0.4, make fails with the following error:

ext/mbstring/mbstring.lo(.text+0xa59): In function `OnUpdate_mbstring_internal_encoding':
/usr/src/redhat/BUILD/php-5.0.4/ext/mbstring/mbstring.c:623: undefined reference to `zend_multibyte_set_internal_encoding'
ext/mbstring/mbstring.lo(.text+0x1544): In function `zif_mb_internal_encoding':
/usr/src/redhat/BUILD/php-5.0.4/ext/mbstring/mbstring.c:1061: undefined reference to `zend_multibyte_set_internal_encoding'
ext/mbstring/mbstring.lo(.text+0x640d): In function `php_mb_set_zend_encoding':
/usr/src/redhat/BUILD/php-5.0.4/ext/mbstring/mbstring.c:3541: undefined reference to `zend_multibyte_set_script_encoding'
ext/mbstring/mbstring.lo(.text+0x6449):/usr/src/redhat/BUILD/php-5.0.4/ext/mbstring/mbstring.c:3556: undefined reference to `zend_multibyte_set_functions'
ext/mbstring/mbstring.lo(.text+0x6478):/usr/src/redhat/BUILD/php-5.0.4/ext/mbstring/mbstring.c:3553: undefined reference to `zend_multibyte_set_internal_encoding'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

(Please advise on how to work around this, as I must use this version for now.)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-19 08:56 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

Don\'t select a snapshot when you\'re using PHP 5.0.4 either...
 [2007-02-19 09:28 UTC] support at myevolve dot com
I had used the "--enable-zend-multibyte" flag prior to including the "--enable-mbstring" flag. 

This trashed my make.  Only after doing a "make clean" was I able to successfully build.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 22 05:01:35 2024 UTC