Yep. Got it!

I've just tried rebuilding my PHP (5.3 and 5.4). Both getting the same
linker error.


[snip]
xbm.c
        rc /n /fo Release\php_gd2.dll.res /d FILE_DESCRIPTION="\"GD
imaging\"" /d FILE_NAME="\"php_gd2.dll\"" /d
URL="\"http://www.php.net\""; /d INTERNAL_NAME="\"GD extension\"" /d
THANKS_GUYS="\"Thanks to Rasmus Lerdorf, Stig Bakken, Jim Winstead,
Jouni Ahto, Ilia Alshanetsky, Pierre-Alain Joye, Marcus Boerger\""
win32\build\template.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation.  All rights reserved.

libpng_a.lib(crc32.obj) : MSIL .netmodule or module compiled with /GL
found; restarting link with /LTCG; add /LTCG to the link command line
to improve linker performance
libpng_a.lib(compress.obj) : error LNK2005: _compress already defined
in php5.lib(php5.dll)
   Creating library Release\php_gd2.lib and object Release\php_gd2.exp
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of
other libs; use /NODEFAULTLIB:library
Release\php_gd2.dll : fatal error LNK1169: one or more multiply
defined symbols found
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\Bin\cl.exe"' : return code '0x2'
Stop.


I'm building gd as a shared module.



On 19 July 2011 12:07, Pierre Joye <pierre....@gmail.com> wrote:
> global pkg is not but the standalone one is
>
> On Tue, Jul 19, 2011 at 12:59 PM, Richard Quadling <rquadl...@gmail.com> 
> wrote:
>> On 19 July 2011 11:25, Pierre Joye <pierre....@gmail.com> wrote:
>>> done.
>>
>> And thank you for the update to  
>> http://windows.php.net/downloads/php-sdk/deps
>>
>>
>>
>> --
>> Richard Quadling
>> Twitter : EE : Zend : PHPDoc
>> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea
>>
>
>
>
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>



-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to