Hello,
Althought I usually try to avoid putting my fingers in a C/C++ IDE, I'm trying to build a DLL on Win32 via porting the code (it's the php_bwcache.dll, if you want to know)
I managed to get rid of all compile errors & warnings, but now I have linker errors that I feel are due to Zend Engine settings in the provided PHP/Windows binaries.
Even when successfully linking statically to php4ts.lib from latest & stable PHP 4.3.7, I still receive those linking errors and can't get rid of them :
--------------------Configuration: bwcache - Win32 Release_TS PHP--------------------
Compiling...
bware_cache.c
Linking...
Creating library php_bwcache.lib and object php_bwcache.exp
bware_cache.obj : error LNK2001: unresolved external symbol _compiler_globals_id
bware_cache.obj : error LNK2001: unresolved external symbol _executor_globals_id
bware_cache.obj : error LNK2001: unresolved external symbol _empty_string
bware_cache.obj : error LNK2001: unresolved external symbol _zend_compile_file
php_bwcache.dll : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.
Creating browse info file...
php_bwcache.dll - 5 error(s), 0 warning(s) ----------------
I upgraded my VC++ 5.0 compiler to SP3 and don't think this is an issue
I checked that compiler_globals_id (for instance) is indeed defined in the php4ts.dll (and so should be in the .lib import lib)
Any advice welcome on those strange "unresolved externals",
Thanks & Regards,
VGR
Il vaut mieux hasarder de sauver un coupable que de condamner un innocent.
-Zadig, Voltaire Jean-Marie Arouet , 1694-1778
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php