Compiling 4.1.0 under windows
| From: | Krzysztof Jarecki | Date: | Tue, 11 Dec 2001 13:58:38 +0000 |
| Subject: | Compiling 4.1.0 under windows | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-73023@lists.php.net to get a copy of this message | ||
Hi everyone ;)
When I'm compiling the release downloaded from www.php.net/downloads.php
I get the following errors in MSVC6:
--------------------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
SAPI.obj : error LNK2001: unresolved external symbol
__imp__tsrm_win32_startup
SAPI.obj : error LNK2001: unresolved external symbol
__imp__tsrm_win32_shutdown
exec.obj : error LNK2001: unresolved external symbol __imp__popen
file.obj : error LNK2001: unresolved external symbol __imp__popen
mail.obj : error LNK2001: unresolved external symbol __imp__popen
exec.obj : error LNK2001: unresolved external symbol __imp__pclose
file.obj : error LNK2001: unresolved external symbol __imp__pclose
mail.obj : error LNK2001: unresolved external symbol __imp__pclose
..\Release\php4nts.dll : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
php.exe - 12 error(s), 2 warning(s)
I have opened the php4.dsw workspace and set "php4 - win32 Release" as the
active configuration.
What's wrong?:)
Everything else compiled without any errors and warnings.
I mean TSRM, Zend and even the libmysql project.
Did somebody tried compiling it already?
I am afraid now to try to compile it as an apache module ;)
Greets and thanks for any feedback ;)
--
Chris Jarecki
IT Project Manager
Ipro
http://www.ipro.pl/