Re: compiling php 5.3

Tommy Pham <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
--- On Tue, 9/8/09, Tommy Pham <[email protected]> wrote:

> From: Tommy Pham <[email protected]>
> Subject: [PHP-WIN] compiling php 5.3
> To: [email protected]
> 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.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.