note 83206 added to install.windows.building

From: Date: Thu, 15 May 2008 11:28:36 +0000
Subject: note 83206 added to install.windows.building
Groups: php.notes 
Request: Send a blank email to php-notes+get-139404@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 ---- Server IP: 203.199.69.133 Probable Submitter: 59.145.136.1 ---- Manual Page -- http://www.php.net/manual/en/install.windows.building.php Edit -- https://master.php.net/note/edit/83206 Del: integrated -- https://master.php.net/note/delete/83206/integrated Del: useless -- https://master.php.net/note/delete/83206/useless Del: bad code -- https://master.php.net/note/delete/83206/bad+code Del: spam -- https://master.php.net/note/delete/83206/spam Del: non-english -- https://master.php.net/note/delete/83206/non-english Del: in docs -- https://master.php.net/note/delete/83206/in+docs Del: other reasons-- https://master.php.net/note/delete/83206 Reject -- https://master.php.net/note/reject/83206 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#139404) next »