Building PHP on windows
| From: | Ambrish | Date: | Fri, 16 May 2008 12:02:10 +0000 |
| Subject: | Building PHP on windows | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-18897@lists.php.net to get a copy of this message | ||
Hi,
I was trying to build PHP on windows XP using Visual studio command prompt.
My Visual studio details are as below:
Microsoft Visual Studio 2008
Version 9.0.21022.8 RTM
Microsoft .NET Framework Version 3.5
Microsoft Visual C++ 2008 91899-270-7136112-60679
Microsoft Windows SDK v6.0A
I got following error:
c:\work\php-5.2.5\main\network.c(897) : error C2065: 'in6addr_any' :
undeclared identifier
c:\work\php-5.2.5\main\network.c(897) : error C2440: '=' : cannot convert
from 'int' to 'IN6_ADDR'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN\cl.exe"' : return code '0x2'
Stop.
But when I commented line no 897 of php-5.2.5\main\network.c, I got it built
successfully.
Any suggestions why it failed initially.
Regards,
Ambrish Bhargava
--
View this message in context: http://www.nabble.com/Building-PHP-on-windows-tp17273101p17273101.html
Sent from the Php - Install mailing list archive at Nabble.com.