compiling php5 on win32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux