#40538 [NEW]: Compile Error

2007-02-19 Thread support at myevolve dot com
From: support at myevolve dot com
Operating system: Red Hat EL 3
PHP version:  5CVS-2007-02-19 (snap)
PHP Bug Type: mbstring related
Bug description:  Compile Error

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.)


-- 
Edit bug report at http://bugs.php.net/?id=40538edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40538r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40538r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40538r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40538r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=40538r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=40538r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=40538r=needscript
Try newer version:http://bugs.php.net/fix.php?id=40538r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=40538r=support
Expected behavior:http://bugs.php.net/fix.php?id=40538r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=40538r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=40538r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40538r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40538r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40538r=dst
IIS Stability:http://bugs.php.net/fix.php?id=40538r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=40538r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40538r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=40538r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=40538r=mysqlcfg


#40538 [Bgs-Csd]: Compile Error

2007-02-19 Thread support at myevolve dot com
 ID:   40538
 User updated by:  support at myevolve dot com
 Reported By:  support at myevolve dot com
-Status:   Bogus
+Status:   Closed
 Bug Type: mbstring related
 Operating System: Red Hat EL 3
 PHP Version:  5CVS-2007-02-19 (snap)
 New Comment:

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.


Previous Comments:


[2007-02-19 08:56:53] [EMAIL PROTECTED]

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 08:44:42] 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.)






-- 
Edit this bug report at http://bugs.php.net/?id=40538edit=1