php-windows Digest 27 Dec 2008 20:18:56 -0000 Issue 3552
Topics (messages 29115 through 29116):
Re: Problems compiling 5.3.0alpha3 with extensions
29115 by: Niel Archer
Compiling error on WinXP
29116 by: Marco Schuster
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Apologies to list, I meant to send this to Win Internals
--
Niel Archer
--- End Message ---
--- Begin Message ---
Hi all,
I currently try to compile php 5.2.8 on Windows XP Home SP3 (32bit)
with VS2008 Pro, as described in
<http://www.php.net/manual/en/install.windows.building.php>.
Compiling runs successful and the php.exe works with cscript /nologo
configure.js --disable-all --enable-cli --enable-object-out-dir=..
--disable-ipv6
But, as soon as I add --enable-sockets, I get the following error at
linking stage:
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
flock_compat.obj : error LNK2005: _inet_aton already defined in
php_sockets_win.obj
Creating library ..\Release_TS\php5ts.lib and object ..\Release_TS\php5ts.exp
..\Release_TS\php5ts.dll : fatal error LNK1169: one or more multiply
defined symbols found
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio
9.0\VC\BIN\cl.exe"' : return code '0x2'
Stop.
What causes this error and how can I fix it?
Thanks,
Marco
PS: Can I build a static exe which contains everything needed except a php.ini?
--- End Message ---