Bug #10605: php4dll compiles but won't link

From: Date: Wed, 02 May 2001 09:55:21 +0000
Subject: Bug #10605: php4dll compiles but won't link
Groups: php.dev 
Request: Send a blank email to php-dev+get-53309@lists.php.net to get a copy of this message
From: fjortiz@comunet.es Operating system: Win32 PHP version: 4.0.5 PHP Bug Type: Compile Failure Bug description: php4dll compiles but won't link 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 ..\Release\php4nts.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) -- Edit Bug report at: http://bugs.php.net/?id=10605&edit=1

« previous php.dev (#53309) next »