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? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php