[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-windows
Subject:    [PHP-WIN] Compiling error on WinXP
From:       "Marco Schuster" <marco () harddisk ! is-a-geek ! org>
Date:       2008-12-27 20:18:51
Message-ID: b542c8b90812271218k59df6e40ta14ede96375420e5 () mail ! gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic