note 89531 added to install.windows.building
| From: | BasvanBeek at osu1 dot php dot net | Date: | Thu, 12 Mar 2009 14:50:45 +0000 |
| Subject: | note 89531 added to install.windows.building | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-151779@lists.php.net to get a copy of this message | ||
If trying to compile the code (Windows XP, SDK v6.1) and you get the following types of errors:
c:\phpdev\php-5.2.9\main\php_network.h(128) : warning C4005: 'POLLIN' : macro redefinition
c:\program files\microsoft sdks\windows\v6.1\include\winsock2.h(1495) :
see previous definition of 'POLLIN'
c:\phpdev\php-5.2.9\main\php_network.h(129) : warning C4005: 'POLLPRI' : macro
redefinition
c:\program files\microsoft sdks\windows\v6.1\include\winsock2.h(1496) :
see previous definition of 'POLLPRI'
c:\phpdev\php-5.2.9\main\php_network.h(130) : warning C4005: 'POLLOUT' : macro
redefinition
c:\program files\microsoft sdks\windows\v6.1\include\winsock2.h(1499) :
see previous definition of 'POLLOUT'
c:\phpdev\php-5.2.9\main\php_network.h(131) : warning C4005: 'POLLERR' : macro
redefinition
c:\program files\microsoft sdks\windows\v6.1\include\winsock2.h(1502) :
see previous definition of 'POLLERR'
c:\phpdev\php-5.2.9\main\php_network.h(132) : warning C4005: 'POLLHUP' : macro
redefinition
c:\program files\microsoft sdks\windows\v6.1\include\winsock2.h(1503) :
see previous definition of 'POLLHUP'
c:\phpdev\php-5.2.9\main\php_network.h(133) : warning C4005: 'POLLNVAL' : macro
redefinition
c:\program files\microsoft sdks\windows\v6.1\include\winsock2.h(1504) :
see previous definition of 'POLLNVAL'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\cl.exe"' : return code '0x2'
Stop.
You can alter the Makefile and add the following switch to CFLAGS:
/D _WIN32_WINNT
----
Server IP: 69.147.83.197
Probable Submitter: 82.171.84.74
----
Manual Page -- http://www.php.net/manual/en/install.windows.building.php
Edit -- https://master.php.net/note/edit/89531
Del: integrated -- https://master.php.net/note/delete/89531/integrated
Del: useless -- https://master.php.net/note/delete/89531/useless
Del: bad code -- https://master.php.net/note/delete/89531/bad+code
Del: spam -- https://master.php.net/note/delete/89531/spam
Del: non-english -- https://master.php.net/note/delete/89531/non-english
Del: in docs -- https://master.php.net/note/delete/89531/in+docs
Del: other reasons-- https://master.php.net/note/delete/89531
Reject -- https://master.php.net/note/reject/89531
Search -- https://master.php.net/manage/user-notes.php