#42252 [Ana->Bgs]: Windows compile failure with mbstring and zend_multibyte
| From: | hirokawa@php.net | Date: | Wed, 29 Aug 2007 13:15:36 +0000 |
| Subject: | #42252 [Ana->Bgs]: Windows compile failure with mbstring and zend_multibyte | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-116823@lists.php.net to get a copy of this message | ||
ID: 42252
Updated by: hirokawa@php.net
Reported By: okabe at zend dot co dot jp
-Status: Analyzed
+Status: Bogus
Bug Type: Compile Failure
Operating System: Windows 2003
PHP Version: 4.4.7
Assigned To: hirokawa
New Comment:
The compile option is incorrect for this author.
So, it is not a bug.
Previous Comments:
------------------------------------------------------------------------
[2007-08-29 13:11:24] hirokawa@php.net
You should'nt define HAVE_STRCASECMP if you don't have
strcasecmp().
For Visual C++, you should use stricmp instead of strcasecmp().
You should check your compile option.
------------------------------------------------------------------------
[2007-08-20 06:05:47] okabe at zend dot co dot jp
Hirokawa-san,
Thank you a lot!
The situation progressed by building according to your advice.
php4dllts left three following link errors.
---
Linking...
Creating library ..\Release_TS/php4ts.lib and object
..\Release_TS/php4ts.exp
mbfl_encoding.obj : error LNK2001: unresolved external symbol
"_strcasecmp"
mbfl_language.obj : error LNK2001: unresolved external symbol
"_strcasecmp"
..\Release_TS\php4ts.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
php.exe - 3 error(s), 89 warning(s)
---
I am looking at the next file, is this help me?
php-x.x.x\ext\mbstring\libmbfl\config.h.vc6
------------------------------------------------------------------------
[2007-08-17 23:05:58] hirokawa@php.net
Did you added COPYING as build files ?
You should add *.c *.h only.
------------------------------------------------------------------------
[2007-08-14 11:04:23] okabe at zend dot co dot jp
Thank you for your reply!
I tried to add '/D "MBFL_DLL_EXPORT"' to php4dllts.
The building is advance from before.
However link error is generated.
----
..\ext\mbstring\mbregex\COPYING.LIB : fatal error LNK1136: file is not
available or be destroied.
link.exe have execution error.
----
And, I disabled file to build from project as follows:
..\ext\mbstring\mbregex\COPYING.LIB
but a lot of link errors were generated.
Do you have any idea?
------------------------------------------------------------------------
[2007-08-11 03:23:30] hirokawa@php.net
I think that MBFL_DLL_EXPORT is undefined on compile option.
Please try again with '/D "MBFL_DLL_EXPORT"'.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42252
--
Edit this bug report at http://bugs.php.net/?id=42252&edit=1