php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: support at myevolve dot com
New email:
PHP Version: OS:

 

 [2007-02-19 08:44 UTC] support at myevolve dot com
Description:
------------
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.)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-19 08:56 UTC] derick@php.net
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 http://www.php.net/downloads.php

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-2021 The PHP Group
All rights reserved.
Last updated: Sat Oct 16 22:03:34 2021 UTC