Re: compiling php 5.3
| From: | Tommy Pham | Date: | Tue, 08 Sep 2009 08:57:36 +0000 |
| Subject: | Re: compiling php 5.3 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29598@lists.php.net to get a copy of this message | ||
--- On Tue, 9/8/09, Tommy Pham <tommyhp2@yahoo.com> wrote:
> From: Tommy Pham <tommyhp2@yahoo.com>
> Subject: [PHP-WIN] compiling php 5.3
> To: php-windows@lists.php.net
> Date: Tuesday, September 8, 2009, 3:51 AM
> Hi,
>
> Has anyone manage to build v5.3.x on Windows without
> --disable-sockets?
>
> I can't seem to get pass this error: :(
>
> "cl.exe" /DHAVE_WINSOCK_H=1 /D
> COMPILE_DL_SOCKETS /D SOCKETS_EXPORTS=1 /
> nologo /FD /I . /I main /I Zend /I TSRM /I ext /D _WINDOWS
> /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS
> /wd4996 /Wp64 /MP /Zi /LD /MD /W3 /Ox
> /D NDebug /D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GF /D
> ZEND_DEBUG=0 /D ZTS=1 /I "..\deps\include" /D
> FD_SETSIZE=256 /Fox64\Release_TS\ext\sockets\
> /Fdx64\Release_TS\ext\sockets\
> /Fpx64\Release_TS\ext\sockets\
> /FRx64\Release_TS\ext\sockets\ /c ext\sockets\sockets.c
> cl : Command line warning D9035 : option 'Wp64' has been
> deprecated and will be removed in a future release
> sockets.c
> ext\sockets\sockets.c(327) : error C2491:
> 'php_sockets_le_socket' : definition of dllimport function
> not allowed
>
> Googled for php_sockets_le_socket doesn't give much...
>
> TIA,
> Tommy
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
NVM :) ... I was using the older snapshots of 20090902. It's fixed in SVN on 20090904.