Code Comments
Programming Forum and web based access to our favorite programming groups.Hi there, I just tried to install Tk, but I got some errors from pngread.c: make[2]: Entering directory `/home/viralbus/Tk-804.028/PNG/libpng' cc -fPIC -c -Wall -O2 -I../zlib pngtest.c cc -fPIC -s -L../zlib -o pngtest pngtest.o libpng.a -lz -lm libpng.a(png.o): In function `png_init_mmx_flags': png.c:(.text+0x8f): undefined reference to `png_mmx_support' libpng.a(pngread.o): In function `png_read_row': pngread.c:(.text+0xb55): undefined reference to `png_combine_row' pngread.c:(.text+0xb7b): undefined reference to `png_combine_row' pngread.c:(.text+0xc08): undefined reference to `png_combine_row' pngread.c:(.text+0xc21): undefined reference to `png_combine_row' pngread.c:(.text+0xc53): undefined reference to `png_read_filter_row' pngread.c:(.text+0xc8e): undefined reference to `png_do_read_interlace' pngread.c:(.text+0xcd6): undefined reference to `png_combine_row' collect2: ld returned 1 exit status make[2]: *** [pngtest] Error 1 make[2]: Leaving directory `/home/viralbus/Tk-804.028/PNG/libpng' I'm using Perl v5.10.0 built for x86_64-linux-thread-multi. Based on a quick Google search, I'm wondering whether it's the fact I'm using 64-bit Linux that is causing problems. I couldn't find anything directly related to Perl/Tk, though. Any help would be appreciated! Thanks, Thomas -- Thomas Widmann twid@bibulus.org http://twid.bibulus.org 27 Kinloch Road, Newton Mearns, Glasgow G77 6LY, Scotland, EU
Post Follow-up to this messageOn Mar 26, 6:31=A0pm, Thomas Martin Widmann <t...@bibulus.org> wrote: > Hi there, > > I just tried to install Tk, but I got some errors from pngread.c: Upgrade libpng to a more recent version. The troublesome MMX stuff has been gone since libpng-1.2.20 (current version is 1.2.25).
Post Follow-up to this messageglennrp@gmail.com wrote: > On Mar 26, 6:31 pm, Thomas Martin Widmann <t...@bibulus.org> wrote: > > Upgrade libpng to a more recent version. The troublesome MMX stuff > has been gone since libpng-1.2.20 (current version is 1.2.25). Thanks, that worked. I'm using Ubuntu, btw -- funny that it comes with such as old libpng (1.2.15). Cheers, Thomas -- Thomas Widmann twid@bibulus.org http://twid.bibulus.org 27 Kinloch Road, Newton Mearns, Glasgow G77 6LY, Scotland, EU
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.