php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10605 php4dll compiles but won't link
Submitted: 2001-05-02 05:55 UTC Modified: 2001-05-02 07:02 UTC
From: fjortiz at comunet dot es Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.5 OS: Win32
Private report: No CVE-ID: None
 [2001-05-02 05:55 UTC] fjortiz at comunet dot 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
..\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)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-02 07:02 UTC] fjortiz at comunet dot es
I didn't compile php4ts.lib properly so I got those nasty link errors. 

Everything is ok now :-D



 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC