Subject: Re: ImageMagick broken since png update?
To: David Brownlee <abs@absd.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 04/29/2006 17:29:24
On Thu, Apr 27, 2006 at 11:26:54AM +0100, David Brownlee wrote:
> 	Can anyone else build ImageMagick since the png update?
> 
> 	I've tried updating to 6.2.7.1, but it also gives the same error:
> 
> if /bin/sh ./libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H 
> -I. -I. -I./magick -I./wand  -I./ltdl -I./ltdl 
> -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include 
> -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/xorg/include 
> -I/usr/pkg/include/libxml2  -O2 -pipe -march=pentium2 -mcpu=athlon-xp 
> -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -Wall -MT 
> coders/magick_libMagick_la-png.lo -MD -MP -MF 
> "coders/.deps/magick_libMagick_la-png.Tpo" -c -o 
> coders/magick_libMagick_la-png.lo `test -f 'coders/png.c' || echo 
> './'`coders/png.c; \
>         then mv -f "coders/.deps/magick_libMagick_la-png.Tpo" 
> "coders/.deps/magick_libMagick_la-png.Plo"; else rm -f 
> "coders/.deps/magick_libMagick_la-png.Tpo"; exit 1; fi
> coders/png.c: In function `ReadOnePNGImage':
> coders/png.c:1758: warning: implicit declaration of function 
> `png_access_version'
> coders/png.c:1767: error: `png_ptr' undeclared (first use in this 
> function)
> coders/png.c:1767: error: (Each undeclared identifier is reported only 
> once
> coders/png.c:1767: error: for each function it appears in.)
> gmake: *** [coders/magick_libMagick_la-png.lo] Error 1
> *** Error code 2

I don't see this error on 3.99.18/i386.
Some other people do, it seems, e.g. in PR 33325.
 Thomas

P.S.: direct mail to you from me is refused by your host.