compiling php 5.3

compiling php 5.3

am 08.09.2009 10:51:00 von Tommy Pham

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

am 08.09.2009 10:57:36 von Tommy Pham

--- On Tue, 9/8/09, Tommy Pham wrote: > From: Tom=
my Pham =0A> Subject: [PHP-WIN] compiling php 5.3=0A> T=
o: php-windows@lists.php.net=0A> Date: Tuesday, September 8, 2009, 3:51 AM=
=0A> Hi,=0A> =0A> Has anyone manage to build v5.3.x on Windows without=0A> =
--disable-sockets?=0A> =0A> I can't seem to get pass this error: :(=0A> =0A=
> =A0 =A0 =A0 =A0 "cl.exe" /DHAVE_WINSOCK_H=3D1 /D=0A> COMPILE_DL_SOCKETS /=
D SOCKETS_EXPORTS=3D1 /=0A> nologo /FD /I . /I main /I Zend /I TSRM /I ext =
/D _WINDOWS=0A> /D ZEND_WIN32=3D1 /D PHP_WIN32=3D1 /D WIN32 /D _MBCS  >=
/wd4996 /Wp64  =A0/MP=A0 /Zi /LD /MD /W3 /Ox=0A> /D NDebug /D NDEBUG /=
D ZEND_WIN32_FORCE_INLINE /GF /D=0A> ZEND_DEBUG=3D0 /D ZTS=3D1 /I "..\deps\=
include"=A0 /D=0A> FD_SETSIZE=3D256 /Fox64\Release_TS\ext\sockets\=0A> /Fdx=
64\Release_TS\ext\sockets\=0A> /Fpx64\Release_TS\ext\sockets\=0A> /FRx64\Re=
lease_TS\ext\sockets\ /c ext\sockets\sockets.c=0A> cl : Command line warnin=
g D9035 : option 'Wp64' has been=0A> deprecated and will be removed in a fu=
ture release=0A> sockets.c=0A> ext\sockets\sockets.c(327) : error C2491:=0A=
> 'php_sockets_le_socket' : definition of dllimport function=0A> not allowe=
d=0A> =0A> Googled for php_sockets_le_socket doesn't give much...=0A> =0A> =
TIA,=0A> Tommy=0A> =0A> -- =0A> PHP Windows Mailing List (http://www.php.ne=
t/)=0A> To unsubscribe, visit: http://www.php.net/unsub.php=0A> =0A> =
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