compiling php 5.3

View: New views
2 Messages — Rating Filter:   Alert me  

compiling php 5.3

by Tommy Pham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Re: compiling php 5.3

by Tommy Pham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- On Tue, 9/8/09, Tommy Pham <tommyhp2@...> wrote:

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