compiling php5 on winxp

From: Date: Thu, 27 Oct 2005 10:20:41 +0000
Subject: compiling php5 on winxp
Groups: php.general 
Request: Send a blank email to php-general+get-224722@lists.php.net to get a copy of this message
I'm using VC6++ and the VC2003 Toolkit I downloaded a dev tree from: http://ftp.emini.dk/pub/php/win32/dev/php_build/ the compile keeps failing with: Creating library Release_TS\php5ts.lib and object Release_TS\php5ts.exp sunfuncs.obj : error LNK2001: unresolved external symbol __ftol2 uuencode.obj : error LNK2001: unresolved external symbol __ftol2 now the only post about this that i could find was this being related to the toolkit and that this could shoult be added to the beginning of a number of your C++ files: #if (_MSC_VER >= 1300) && (WINVER < 0x0500) //VC7 or later, building with pre-VC7 runtime libraries extern "C" long _ftol( double ); //defined by VC6 C libs extern "C" long _ftol2( double dblSource ) { return _ftol( dblSource ); } #endif</scode> the other post said that adding CFLAGS=/QIfist does anyone know to do any of the following or fix the above problem. the basic compilation faq under windows just isn't...helping me a lot. So if anyone has a link with perhaps a downloadable sourcetree with the needed headers and libraries to compile the php5 and php4 branch do help :) well any help on the above problem would be greatly appreciated. #endif</scode>

« previous php.general (#224722) next »