ID: 42252
User updated by: okabe at zend dot co dot jp
Reported By: okabe at zend dot co dot jp
-Status: Bogus
+Status: Closed
Bug Type: Compile Failure
Operating System: Windows 2003
PHP Version: 4.4.7
Assigned To: hirokawa
New Comment:
Hirokawa-san,
I succeeded!
Thank you very much for your teaching.
It was only a problem of the compile option. Since it did not generate
at the time of dll creation, I have not noticed.
I appreciate cooperation deeply.
Previous Comments:
------------------------------------------------------------------------
[2007-08-29 13:15:35] [EMAIL PROTECTED]
The compile option is incorrect for this author.
So, it is not a bug.
------------------------------------------------------------------------
[2007-08-29 13:11:24] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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?
------------------------------------------------------------------------
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