PHP 4.0 Bug #10605 Updated: php4dll compiles but won't link
| From: | fjortiz at comunet dot es | Date: | Wed, 02 May 2001 11:02:49 +0000 |
| Subject: | PHP 4.0 Bug #10605 Updated: php4dll compiles but won't link | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53305@lists.php.net to get a copy of this message | ||
ID: 10605
User Update by: fjortiz@comunet.es
Old-Status: Open
Status: Closed
Bug Type: Compile Failure
Description: php4dll compiles but won't link
I didn't compile php4ts.lib properly so I got those nasty link errors.
Everything is ok now :-D
Previous Comments:
---------------------------------------------------------------------------
[2001-05-02 05:55:20] fjortiz@comunet.es
I've compiled and linked successfully all the projects within workspace php4.dsw
(Win32_Release), all but php4dll, which cannot link. This is the output from VC++ 6 :
--------------------Configuration: php4dll - Win32 Release--------------------
Linking...
Creating library ..Release/php4nts.lib and object ..Release/php4nts.exp
LINK : warning LNK4049: locally defined symbol "_pcre_free" imported
LINK : warning LNK4049: locally defined symbol "_pcre_malloc" imported
fopen_wrappers.obj : error LNK2001: unresolved external symbol __imp__virtual_chdir_file
main.obj : error LNK2001: unresolved external symbol __imp__virtual_chdir_file
fopen_wrappers.obj : error LNK2001: unresolved external symbol __imp__virtual_file_ex
internal_functions_win32.obj : error LNK2001: unresolved external symbol _VARIANT_module_entry
COM.obj : error LNK2001: unresolved external symbol _php_char_to_OLECHAR
COM.obj : error LNK2001: unresolved external symbol _php_OLECHAR_to_char
COM.obj : error LNK2001: unresolved external symbol _php_pval_to_variant
COM.obj : error LNK2001: unresolved external symbol _php_variant_to_pval
..Releasephp4nts.dll : fatal error LNK1120: 7 unresolved externals
Error executing link.exe.
php4nts.dll - 9 error(s), 2 warning(s)
So what might go wrong? (I could compile/link v4.0.3pl1 with no problems)
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10605