link error on win32
| From: | Vedanta Barooah | Date: | Sat, 28 Apr 2007 11:13:40 +0000 |
| Subject: | link error on win32 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-29086@lists.php.net to get a copy of this message | ||
hello all,
apologies, if it is a wrong place to ask such a question. i am trying to
compile php (5.1.0 and 5.2.1) on windows (xp sp2) with Visual Studio .Net
2005, Microsoft Platform SDK for Windows Server 2003 SP1 and the win32build
tools from php.net. i am getting similar errors with both the versions of
php. would be great if some one helps me with a clue.
thanks,
vedanta
error follows:...
c:\program files\microsoft visual studio 8\vc\include\crtdbg.h(631): se e previous definition of 'getcwd'
rc /fo Debug_TS\php5ts_debug.dll.res /d FILE_DESCRIPTION="\"PHPScript I nterpreter\"" /d FILE_NAME="\"php5ts_debug.dll\"" /d PRODUCT_NAME="\"PHP Script Interpreter\"" /IDebug_TS /d MC_INCLUDE="\"Debug_TS\wsyslog.rc\"" win32\build \template.rc Creating library Debug_TS\php5ts_debug.lib and object Debug_TS\php5ts_debug.e xp resolv.lib(inet_addr.obj) : error LNK2019: unresolved external symbol __pctype r eferenced in function _inet_aton resolv.lib(inet_addr.obj) : error LNK2019: unresolved external symbol ___mb_cur_ max referenced in function _inet_aton Debug_TS\php5ts_debug.dll : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\l ink.exe"' : return code '0x460' Stop.