troubleshooting Question

Compiling PHP for Windows - Linking Error

Avatar of street9009
street9009Flag for United States of America asked on
Web Languages and StandardsPHP.NET ProgrammingVisual C++.NETEditors IDEs
17 Comments1 Solution736 ViewsLast Modified:
Hello,
 
I am trying to compile PHP on my own and have gotten all the way down to the nmake step and am getting the errors below. I am enabling the mssql extension so that it outputs the DLL so that's where this hangup is occuring.

php_mssql.obj : error LNK2019: unresolved external symbol _compiler_globals referenced in function _php_mssql_message_handler
php_mssql.obj : error LNK2019: unresolved external symbol _executor_globals referenced in function __close_mssql_link
php_mssql.obj : error LNK2019: unresolved external symbol _le_index_ptr referenced in function _php_mssql_do_connect
php_mssql.obj : error LNK2019: unresolved external symbol _zval_used_for_init referenced in function __mssql_fetch_batch
php_mssql.obj : error LNK2019: unresolved external symbol _zend_standard_class_def referenced in function _zif_mssql_fetch_object
Release\php_mssql.dll : fatal error LNK1120: 5 unresolved externals NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\cl.exe"' : return code '0x2'
Stop.
 
How do you resolve errors like those?
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 17 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 17 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros