Re: PHP 5.3.7, upgrade Libpng to 1.2.45
| From: | Richard Quadling | Date: | Tue, 19 Jul 2011 13:42:48 +0000 |
| Subject: | Re: PHP 5.3.7, upgrade Libpng to 1.2.45 | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54084@lists.php.net to get a copy of this message | ||
Toggling between libpng-1.2.45-vc9-x86.zip and
libpng-1.2.46-vc9-x86.zip and 1.2.45 works for me but 1.2.46 doesn't.
On 19 July 2011 13:15, Richard Quadling <rquadling@gmail.com> wrote:
> 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.php@gmail.com> wrote:
>> global pkg is not but the standalone one is
>>
>> On Tue, Jul 19, 2011 at 12:59 PM, Richard Quadling <rquadling@gmail.com> wrote:
>>> On 19 July 2011 11:25, Pierre Joye <pierre.php@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
>
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea