bugGnash - The GNU Flash player - Bugs: bug #15585, png_crc_read not found in libpng12...

 
 

bug #15585: png_crc_read not found in libpng12 on Debian testing

Submitted by:  None
Submitted on:  Tue 31 Jan 2006 04:00:11 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Rob Savoye <rsavoye>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Tue 28 Feb 2006 04:56:45 PM UTC, comment #16:

Confirmed this is fixed in current CVS.

Anonymous
Fri 24 Feb 2006 11:05:13 AM UTC, comment #15:

Hi, on my Slackware the png library are not yet found: I have to do:
make LDFLAGS="$LDFLAGS -lpng"

otherwise I get:
g++ -g -O2 -Wl,-rpath -Wl,/usr/lib -I/usr/include/SDL -D_REENTRANT -o .libs/gnash gnash.o -Wl,-rpath -Wl,/usr/lib -I/usr/include/SDL -D_REENTRANT -L/usr/lib -L/usr/X11R6/lib /usr/lib/libogg.so /usr/lib/libxml2.so -lm /usr/lib/libSDL.so /usr/lib/libSDL_mixer.so ../backend/.libs/libgnashbackend.so ../server/.libs/libgnashserver.so ../server/.libs/libgnashasobjs.so ../libgeometry/.libs/libgnashgeo.so ../libbase/.libs/libgnashbase.so -L/usr/i486-slackware-linux/bin -L/usr/i486-slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/../../../i486-slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/../.. -ljpeg -lz -lX11 -lXext -lpthread -ldl -lGL -lGLU -lrt -Wl,--rpath -Wl,/usr/lib/.
../libbase/.libs/libgnashbase.so: undefined reference to `png_set_IHDR'
../libbase/.libs/libgnashbase.so: undefined reference to `png_create_write_struct'
../libbase/.libs/libgnashbase.so: undefined reference to `png_write_row'
../libbase/.libs/libgnashbase.so: undefined reference to `png_write_info'
../libbase/.libs/libgnashbase.so: undefined reference to `png_write_end'
../libbase/.libs/libgnashbase.so: undefined reference to `png_create_info_struct'
../libbase/.libs/libgnashbase.so: undefined reference to `png_destroy_write_struct'
../libbase/.libs/libgnashbase.so: undefined reference to `png_init_io'
collect2: ld returned 1 exit status
make[2]: *** [gnash] Error 1
make[2]: Leaving directory `/home/fabio/sorgenti/gnash/backend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabio/sorgenti/gnash'
make: *** [all] Error 2

Note that I am using the latest CVS after removing the gnash directory and doing a fresh ./autogen.sh and ./configure

Anonymous
Fri 17 Feb 2006 04:51:21 PM UTC, comment #14:

This was fixed awhile ago, and as I haven't heard any other reports on this bug in weeks, I think it's safe to close it now.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Fri 03 Feb 2006 11:40:43 AM UTC, comment #13:

Ops, I did ldd gnash on the script in backend directory...

$ ldd `which gnash`
linux-gate.so.1 => (0xffffe000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7f7f000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7e60000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7de1000)
libSDL_mixer-1.2.so.0 => /usr/lib/libSDL_mixer-1.2.so.0 (0xb7d9a000)
libgbackend.so.0 => /usr/local/lib/libgbackend.so.0 (0xb7d78000)
libserver.so.0 => /usr/local/lib/libserver.so.0 (0xb7ca0000)
libasobjs.so.0 => /usr/local/lib/libasobjs.so.0 (0xb7c7a000)
libgeometry.so.0 => /usr/local/lib/libgeometry.so.0 (0xb7c67000)
libbase.so.0 => /usr/local/lib/libbase.so.0 (0xb7c34000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7c17000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7c05000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7b3b000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7b2d000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7b1a000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7b16000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb7aaa000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0xb7a31000)
libpng.so.3 => /usr/lib/libpng.so.3 (0xb7a00000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7948000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7924000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb791b000)
libc.so.6 => /lib/tls/libc.so.6 (0xb77ff000)
libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb77f7000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb77d0000)
libmikmod.so.2 => /usr/lib/libmikmod.so.2 (0xb7790000)
/lib/ld-linux.so.2 (0xb7f84000)
libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0xb778a000)

Anonymous
Fri 03 Feb 2006 08:46:43 AM UTC, comment #12:

The latest CVS update now find the standard libpng from Slackware:

$./configure | grep -i png
checking for png.h header in specified directory... checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_check_sig in -lpng... no
checking for libpng library... yes
PNG flags are: default include path
PNG libs are:

but says no for png_check_sig (for complete output of configure see my gnash.log in bug #15602).

I get the same compile errore if I don't put -lpng in make LDFLAGS="$LDFLAGS -lpng -L/usr/X11R6/lib"

However using make LDFLAGS="$LDFLAGS -lpng -L/usr/X11R6/lib" compile fine and now gnash work, but the executable is not dynamic:

$ldd gnash
not a dynamic executable

Anonymous
Thu 02 Feb 2006 04:56:51 PM UTC, comment #11:

Try running "ldd gnash" to see if it correctly got the link path to the new library. It should look something like this:
libasobjs.so.0 => /usr/local/lib/libasobjs.so.0 (0xb7b14000)
libasobjs should also be on the link line when building any of the executables, and for the plugin. Make sure you rena autogen.sh so this library is added to the paths.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Thu 02 Feb 2006 12:11:19 PM UTC, comment #10:

Sorry, I was meaning:

make LDFLAGS="$LDFLAGS -lpng -L/usr/X11R6/lib"

but now launching gnash I get:

gnash: error while loading shared libraries: libasobjs.so.0: cannot open shared object file: No such file or directory

even if libasobjs.so.0 is already installed in /usr/local/lib

Anonymous
Thu 02 Feb 2006 10:45:08 AM UTC, comment #9:

I get fixed the compilation problem (also with bug #15602) with:

make LDFLAGS="$LDFLAGS -L/usr/X11R6/lib" CXXFLAGS="$CXXFLAGS -lpng"

Can someone fix that in the source?

Anonymous
Wed 01 Feb 2006 11:34:37 AM UTC, comment #8:

If can be of help:

With libpng compiled from source:

$ ./configure |grep -i png
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_crc_read in -lpng... no
checking for libpng library... -L/usr/local/lib
PNG flags are: default include path
PNG libs are: -L/usr/local/lib

With Slackware libpng:

$ ./configure |grep -i png
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_crc_read in -lpng... no
checking for libpng library... yes
ERROR: No PNG library development package installed!
configure: error: Please install required packages

Anonymous
Tue 31 Jan 2006 04:13:51 PM UTC, comment #7:

I have done a rm -rf gnash and a CVS update. With the standard libpng from Slacware:
ERROR: No PNG library development package installed!

With libpng compiled from source:
PNG flags are: default include path
PNG libs are: -L/usr/local/lib
but I get the same error:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../libbase -I../backend -I../libgeometry -I/usr/include/SDL -D_REENTRANT -I/usr/include/SDL -I/usr/include/libxml2 -Wall -g -O2 -MT gnash.o -MD -MP -MF ".deps/gnash.Tpo" -c -o gnash.o gnash.cpp; \
then mv -f ".deps/gnash.Tpo" ".deps/gnash.Po"; else rm -f ".deps/gnash.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -ljpeg -L/usr/local/lib -logg -logg -L/usr/lib -lxml2 -lz -lm -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -I/usr/include/SDL -D_REENTRANT -lSDL_mixer -lGL -lGLU -o gnash -module -avoid-version -no-undefined gnash.o -ljpeg -L/usr/local/lib -logg -logg -L/usr/lib -lxml2 -lz -lm -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -I/usr/include/SDL -D_REENTRANT -lSDL_mixer -lGL -lGLU ./libgbackend.la ../server/libserver.la ../libgeometry/libgeometry.la ../libbase/libbase.la
g++ -g -O2 -Wl,-rpath -Wl,/usr/lib -I/usr/include/SDL -D_REENTRANT -o .libs/gnash gnash.o -Wl,-rpath -Wl,/usr/lib -I/usr/include/SDL -D_REENTRANT -L/usr/local/lib -L/usr/lib -L/usr/i486-slackware-linux/bin -L/usr/i486-slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/../../../i486-slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/../.. -L/usr/X11R6/lib -lc -lgcc_s -lm ./.libs/libgbackend.so -ljpeg /usr/lib/libxml2.so -lz /usr/lib/libSDL_mixer.so /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so /usr/lib/libSDL.so -lX11 -lXext -lpthread /usr/lib/libmikmod.so -ldl -lGL -lGLU ../server/.libs/libserver.so ../libgeometry/.libs/libgeometry.so ../libbase/.libs/libbase.so /usr/lib/./libstdc++.so -Wl,--rpath -Wl,/usr/lib/.
../libbase/.libs/libbase.so: undefined reference to `png_set_IHDR'
../libbase/.libs/libbase.so: undefined reference to `png_create_write_struct'
../libbase/.libs/libbase.so: undefined reference to `png_write_row'
../libbase/.libs/libbase.so: undefined reference to `png_write_info'
../libbase/.libs/libbase.so: undefined reference to `png_write_end'
../libbase/.libs/libbase.so: undefined reference to `png_create_info_struct'
../libbase/.libs/libbase.so: undefined reference to `png_destroy_write_struct'
../libbase/.libs/libbase.so: undefined reference to `png_init_io'
collect2: ld returned 1 exit status
make[2]: *** [gnash] Error 1
make[2]: Leaving directory `/home/fabio/sorgenti/gnash/backend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabio/sorgenti/gnash'
make: *** [all] Error 2

Are you sure you have merged all your changes? In message #1 you say you have changed the check to png_check_sig , but in macros/png.m4 I see:
AC_CHECK_LIB(png, png_crc_read, [ac_cv_path_png_lib="-lpng"],[
Also vorbis is still here.

Anonymous
Tue 31 Jan 2006 03:48:13 PM UTC, comment #6:

It sounds like Slackware does strip their libraries then. Configure should default to a simple directory search if the AC_CHECK_LIB() fails. Guess I'll have to see why it doesn't work. Obviously a bug. :-)

This link problem is because for some reason it didn't add -lpng to LIBS. Can you do a CVS update please ? The VORBIS configure stuff was removed a few days ago when I fixed a slew of other configuration issues. I noticed here the VORBIS libraries are still being linked in, so it makes me wonder if you're configuring out of the latest sources. Gnash changes pretty fast these days. :-)

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Tue 31 Jan 2006 03:41:53 PM UTC, comment #5:

Note: this message and messages 2 and 3 are not of the original reporter, which is using Debian. I am on a Slackware 10.2.

If I compile libpng from the source, the library is detected, but I get this error:
g++ -g -O2 -Wl,-rpath -Wl,/usr/lib -I/usr/include/SDL -D_REENTRANT -o .libs/gnash gnash.o -Wl,-rpath -Wl,/usr/lib -I/usr/include/SDL -D_REENTRANT -L/usr/local/lib -L/usr/lib -L/usr/i486-slackware-linux/bin -L/usr/i486-slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/../../../i486-slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/../.. -L/usr/X11R6/lib -lc -lgcc_s -lm ./.libs/libgbackend.so -ljpeg /usr/lib/libxml2.so -lz /usr/lib/libSDL_mixer.so /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so /usr/lib/libSDL.so -lX11 -lXext -lpthread /usr/lib/libmikmod.so -ldl -lGL -lGLU ../server/.libs/libserver.so ../libgeometry/.libs/libgeometry.so ../libbase/.libs/libbase.so /usr/lib/./libstdc++.so -Wl,--rpath -Wl,/usr/lib/.
../libbase/.libs/libbase.so: undefined reference to `png_set_IHDR'
../libbase/.libs/libbase.so: undefined reference to `png_create_write_struct'
../libbase/.libs/libbase.so: undefined reference to `png_write_row'
../libbase/.libs/libbase.so: undefined reference to `png_write_info'
../libbase/.libs/libbase.so: undefined reference to `png_write_end'
../libbase/.libs/libbase.so: undefined reference to `png_create_info_struct'
../libbase/.libs/libbase.so: undefined reference to `png_destroy_write_struct'
../libbase/.libs/libbase.so: undefined reference to `png_init_io'
collect2: ld returned 1 exit status
make[2]: *** [gnash] Error 1
make[2]: Leaving directory `/home/fabio/sorgenti/gnash/backend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabio/sorgenti/gnash'
make: *** [all] Error 2

$ nm /usr/lib/libpng.a

png.o:
U crc32
U inflateReset
0000001f R png_IDAT
00000024 R png_IEND
0000001a R png_IHDR
00000029 R png_PLTE
00000c60 T png_access_version_number
0000002e R png_bKGD
00000033 R png_cHRM
00000710 T png_calculate_crc
00000600 T png_check_sig
00000a00 T png_convert_to_rfc1123
00000770 T png_create_info_struct
U png_create_struct
U png_create_struct_2
000008f0 T png_data_freer
000007c0 T png_destroy_info_struct
U png_destroy_struct
U png_destroy_struct_2
U png_error
U png_free

                1. T png_free_data

00000038 R png_gAMA
00000ad0 T png_get_copyright
00000af0 T png_get_header_ver
00000b00 T png_get_header_version
000009d0 T png_get_io_ptr
00000ae0 T png_get_libpng_ver
0000003d R png_hIST
00000b10 T png_handle_as_unknown
00000042 R png_iCCP
00000047 R png_iTXt
00000960 T png_info_destroy
00000860 T png_info_init
000008a0 T png_info_init_3
000009e0 T png_init_io
00000c70 T png_init_mmx_flags

                1. R png_libpng_ver

U png_malloc
00000ca0 T png_mmx_support
0000004c R png_oFFs
00000051 R png_pCAL
0000005b R png_pHYs
00000110 R png_pass_dsp_mask
000000a0 R png_pass_inc
000000f4 R png_pass_mask
00000084 R png_pass_start
000000d8 R png_pass_yinc
000000bc R png_pass_ystart
000006f0 T png_reset_crc
00000c50 T png_reset_zstream
00000060 R png_sBIT
00000056 R png_sCAL
00000065 R png_sPLT
0000006a R png_sRGB
00000520 T png_set_sig_bytes
00000012 R png_sig
00000570 T png_sig_cmp
0000006f R png_tEXt
00000074 R png_tIME
00000079 R png_tRNS
U png_warning
0000007e R png_zTXt
00000680 T png_zalloc
000006e0 T png_zfree
00000140 r short_months.0
U sprintf

pngset.o:
U memcpy
U memset
U png_error
U png_free
U png_free_data
U png_malloc
U png_malloc_warn
00001b00 T png_permit_empty_plte
00001b30 T png_permit_mng_features
000004f0 T png_set_IHDR
000018b0 T png_set_PLTE
00001c50 T png_set_asm_flags
000015b0 T png_set_bKGD

                1. T png_set_cHRM

00000300 T png_set_cHRM_fixed
00001bd0 T png_set_compression_buffer_size
000015e0 T png_set_gAMA
000016c0 T png_set_gAMA_fixed
00001740 T png_set_hIST
00000bc0 T png_set_iCCP
00001c30 T png_set_invalid
00001450 T png_set_keep_unknown_chunks
00001c60 T png_set_mmx_thresholds
00001800 T png_set_oFFs
00000820 T png_set_pCAL
00001880 T png_set_pHYs
00001b50 T png_set_read_user_chunk_fn
00001b70 T png_set_rows
00001940 T png_set_sBIT
00001830 T png_set_sCAL
00000f30 T png_set_sPLT
00001970 T png_set_sRGB
00000ae0 T png_set_sRGB_gAMA_and_cHRM
000019e0 T png_set_tIME
00001a20 T png_set_tRNS
00001990 T png_set_text
00000ce0 T png_set_text_2
00001ac0 T png_set_unknown_chunk_location
00001190 T png_set_unknown_chunks
00001c80 T png_set_user_limits
U png_warning
U strcpy
U strlen
U strncpy

pngget.o:
U png_error

                1. T png_get_IHDR

00000ae0 T png_get_PLTE
00000c80 T png_get_asm_flagmask
00000c60 T png_get_asm_flags
000005e0 T png_get_bKGD
000002d0 T png_get_bit_depth
00000610 T png_get_cHRM
000006c0 T png_get_cHRM_fixed
00000580 T png_get_channels
00000300 T png_get_color_type
00000c40 T png_get_compression_buffer_size
00000390 T png_get_compression_type
00000330 T png_get_filter_type
00000770 T png_get_gAMA
000007c0 T png_get_gAMA_fixed
000008f0 T png_get_hIST
00000850 T png_get_iCCP
000002a0 T png_get_image_height
00000270 T png_get_image_width
00000360 T png_get_interlace_type
00000cc0 T png_get_mmx_bitdepth_threshold
00000ca0 T png_get_mmx_flagmask
00000ce0 T png_get_mmx_rowbytes_threshold
00000920 T png_get_oFFs
00000970 T png_get_pCAL
00000a80 T png_get_pHYs
00000450 T png_get_pixel_aspect_ratio
00000420 T png_get_pixels_per_meter
00000c00 T png_get_rgb_to_gray_status
00000210 T png_get_rowbytes
00000240 T png_get_rows
00000b20 T png_get_sBIT
00000a20 T png_get_sCAL
000008c0 T png_get_sPLT
00000810 T png_get_sRGB
000005b0 T png_get_signature
00000ba0 T png_get_tIME
00000160 T png_get_tRNS
00000b50 T png_get_text
00000bd0 T png_get_unknown_chunks
00000c20 T png_get_user_chunk_ptr
00000d20 T png_get_user_height_max
00000d00 T png_get_user_width_max
000001e0 T png_get_valid
000004a0 T png_get_x_offset_microns
00000500 T png_get_x_offset_pixels
000003c0 T png_get_x_pixels_per_meter
000004d0 T png_get_y_offset_microns
00000540 T png_get_y_offset_pixels
000003f0 T png_get_y_pixels_per_meter
U png_warning

pngrutil.o:
U __strtod_internal
U fprintf
U inflate
U inflateReset
U memcpy

                1. d msg.0

U png_IDAT
U png_calculate_crc
00003150 T png_check_chunk_name
U png_chunk_error
U png_chunk_warning
000031c0 T png_combine_row
00000100 T png_crc_error

                1. T png_crc_finish

000051d0 T png_crc_read
000001b0 T png_decompress_chunk
000039d0 T png_do_read_interlace
U png_error
U png_free
00005180 T png_get_int_32
000051b0 T png_get_uint_16
000050f0 T png_get_uint_31
00005150 T png_get_uint_32
00005210 T png_handle_IEND
00000630 T png_handle_IHDR
00000840 T png_handle_PLTE
U png_handle_as_unknown
00001db0 T png_handle_bKGD
00000f50 T png_handle_cHRM
00000c20 T png_handle_gAMA
00001fd0 T png_handle_hIST
000016e0 T png_handle_iCCP
00002430 T png_handle_oFFs
00002560 T png_handle_pCAL
00002300 T png_handle_pHYs
00000dc0 T png_handle_sBIT
00002930 T png_handle_sCAL
000018e0 T png_handle_sPLT
000014b0 T png_handle_sRGB
00002c20 T png_handle_tEXt
00002b20 T png_handle_tIME
00001b40 T png_handle_tRNS
00002fa0 T png_handle_unknown
00002da0 T png_handle_zTXt
U png_init_read_transformations
U png_malloc
U png_malloc_warn
U png_memset_check
U png_pass_inc
U png_pass_start
U png_pass_yinc
U png_pass_ystart
U png_read_data
00004350 T png_read_filter_row
00004910 T png_read_finish_row
00004d30 T png_read_start_row
U png_reset_crc
U png_set_IHDR
U png_set_PLTE
U png_set_bKGD
U png_set_cHRM
U png_set_cHRM_fixed
U png_set_gAMA
U png_set_gAMA_fixed
U png_set_hIST
U png_set_iCCP
U png_set_oFFs
U png_set_pCAL
U png_set_pHYs
U png_set_sBIT
U png_set_sCAL
U png_set_sPLT
U png_set_sRGB_gAMA_and_cHRM
U png_set_tIME
U png_set_tRNS
U png_set_text_2
U png_set_unknown_chunks
U png_warning
U sprintf
U stderr
U strcpy
U strlen

pngtrans.o:
00000200 d fourbppswaptable

                1. d onebppswaptable

00000840 T png_do_bgr

                1. T png_do_invert

00000ef0 T png_do_packswap
000001b0 T png_do_strip_filler
00000e20 T png_do_swap
00000ff0 T png_get_user_transform_ptr
00000d50 T png_set_add_alpha
00000bf0 T png_set_bgr
00000cd0 T png_set_filler
00000ca0 T png_set_interlace_handling
00000df0 T png_set_invert_alpha
00000e10 T png_set_invert_mono
00000c30 T png_set_packing
00000c50 T png_set_packswap
00000c70 T png_set_shift
00000c00 T png_set_swap
00000dd0 T png_set_swap_alpha
00000fc0 T png_set_user_transform_info
00000100 d twobppswaptable

pngwutil.o:
U deflate
U deflateInit2_
U deflateReset
U fprintf
U memcpy
U memset
U png_IDAT
U png_IEND
U png_IHDR
U png_PLTE
U png_bKGD
U png_cHRM
U png_calculate_crc
00001b10 T png_check_keyword
00002780 T png_do_write_interlace
U png_error
U png_free
U png_gAMA
U png_hIST
U png_iCCP
U png_malloc
U png_malloc_warn
U png_oFFs
U png_pCAL
U png_pHYs
U png_pass_inc
U png_pass_start
U png_pass_yinc
U png_pass_ystart
U png_reset_crc
U png_sBIT
U png_sCAL
U png_sPLT
U png_sRGB
00005720 T png_save_int_32
00005750 T png_save_uint_16
000056f0 T png_save_uint_32
U png_tEXt
U png_tIME
U png_tRNS
00006660 t png_text_compress
U png_warning
00000790 T png_write_IDAT
000059b0 T png_write_IEND

                1. T png_write_IHDR

000004b0 T png_write_PLTE
00001830 T png_write_bKGD
00000db0 T png_write_cHRM
000012a0 T png_write_cHRM_fixed
00005770 T png_write_chunk
000058a0 T png_write_chunk_data
00005900 T png_write_chunk_end
00005840 T png_write_chunk_start
00006a00 t png_write_compressed_data_out
U png_write_data
000055d0 T png_write_filtered_row
00002aa0 T png_write_find_filter
00002570 T png_write_finish_row
U png_write_flush
000059e0 T png_write_gAMA
00005a50 T png_write_gAMA_fixed
00005ca0 T png_write_hIST
00005ae0 T png_write_iCCP
00006270 T png_write_oFFs
00001d60 T png_write_pCAL
00006530 T png_write_pHYs
00000c20 T png_write_sBIT
00006300 T png_write_sCAL
00000990 T png_write_sPLT
00005a90 T png_write_sRGB
00005940 T png_write_sig
00002370 T png_write_start_row
00005f50 T png_write_tEXt
000065c0 T png_write_tIME
00001530 T png_write_tRNS
000060d0 T png_write_zTXt
U png_zTXt
U png_zalloc
U png_zfree
U sprintf
U stderr
U strlen

pngread.o:
U _setjmp
U abort
U inflate
U inflateEnd
U inflateInit_
U png_IDAT
U png_IEND
U png_IHDR
U png_PLTE
U png_bKGD
U png_cHRM
U png_combine_row
U png_crc_finish
U png_crc_read
00002010 T png_create_read_struct

                1. T png_create_read_struct_2

U png_create_struct
U png_create_struct_2
000017b0 T png_destroy_read_struct
U png_destroy_struct
U png_destroy_struct_2
U png_do_read_interlace
U png_do_read_intrapixel
U png_do_read_transformations
U png_error
U png_free
U png_free_data
U png_gAMA
U png_get_rowbytes
U png_get_sBIT
U png_get_uint_31
U png_get_valid
U png_hIST
U png_handle_IEND
U png_handle_IHDR
U png_handle_PLTE
U png_handle_as_unknown
U png_handle_bKGD
U png_handle_cHRM
U png_handle_gAMA
U png_handle_hIST
U png_handle_iCCP
U png_handle_oFFs
U png_handle_pCAL
U png_handle_pHYs
U png_handle_sBIT
U png_handle_sCAL
U png_handle_sPLT
U png_handle_sRGB
U png_handle_tEXt
U png_handle_tIME
U png_handle_tRNS
U png_handle_unknown
U png_handle_zTXt
U png_iCCP
U png_info_destroy
U png_init_mmx_flags
U png_libpng_ver
U png_malloc
U png_memcpy_check
U png_oFFs
U png_pCAL
U png_pHYs
U png_pass_dsp_mask
U png_pass_mask
U png_read_data
00001890 T png_read_destroy
00001320 T png_read_end
U png_read_filter_row
U png_read_finish_row
000020e0 T png_read_image
00000520 T png_read_info
00002040 T png_read_init
00000290 T png_read_init_2
00000390 T png_read_init_3
00001c20 T png_read_png
00000ad0 T png_read_row
00000fd0 T png_read_rows
U png_read_start_row
U png_read_transform_info
00002060 T png_read_update_info
U png_reset_crc
U png_sBIT
U png_sCAL
U png_sPLT
U png_sRGB
U png_set_bgr
U png_set_error_fn
U png_set_expand
U png_set_interlace_handling
U png_set_invert_alpha
U png_set_invert_mono
U png_set_mem_fn
U png_set_packswap
U png_set_read_fn
000021e0 T png_set_read_status_fn
U png_set_shift
U png_set_strip_16
U png_set_strip_alpha
U png_set_swap
U png_set_swap_alpha
U png_sig_cmp
000020b0 T png_start_read_image
U png_tEXt
U png_tIME
U png_tRNS
U png_warning
U png_zTXt
U png_zalloc
U png_zfree
U sprintf

pngrio.o:
U fread
00000050 T png_default_read_data
U png_error

                1. T png_read_data

000000a0 T png_set_read_fn
U png_warning

pngwio.o:
U fflush
U fwrite
000000d0 T png_default_flush
00000050 T png_default_write_data
U png_error
000000a0 T png_flush
00000100 T png_set_write_fn
U png_warning

                1. T png_write_data

pngwrite.o:
U _setjmp
U abort
U deflate
U deflateEnd
U gmtime
00001dd0 T png_convert_from_struct_tm
00001e10 T png_convert_from_time_t
U png_create_struct
U png_create_struct_2
00001e60 T png_create_write_struct
000007e0 T png_create_write_struct_2
U png_destroy_struct
U png_destroy_struct_2
00000fb0 T png_destroy_write_struct
U png_do_write_interlace
U png_do_write_intrapixel
U png_do_write_transformations
U png_error
U png_flush
U png_free
U png_free_data
U png_handle_as_unknown
U png_init_mmx_flags
U png_libpng_ver
U png_malloc
U png_memcpy_check
U png_set_bgr
00002160 T png_set_compression_level
00002180 T png_set_compression_mem_level
00002240 T png_set_compression_method
000021a0 T png_set_compression_strategy
000021c0 T png_set_compression_window_bits
U png_set_error_fn
U png_set_filler
00001200 T png_set_filter
00001460 T png_set_filter_heuristics
00002140 T png_set_flush
U png_set_interlace_handling
U png_set_invert_alpha
U png_set_invert_mono
U png_set_mem_fn
U png_set_packing
U png_set_packswap
U png_set_shift
U png_set_swap
U png_set_swap_alpha
U png_set_write_fn
00002280 T png_set_write_status_fn
000022a0 T png_set_write_user_transform_fn
U png_warning
U png_write_IDAT
U png_write_IEND
U png_write_IHDR
U png_write_PLTE
U png_write_bKGD
U png_write_cHRM
U png_write_chunk
00001090 T png_write_destroy
00000630 T png_write_end
U png_write_find_filter
U png_write_finish_row
00000eb0 T png_write_flush
U png_write_gAMA
U png_write_hIST
U png_write_iCCP
00001f80 T png_write_image
00000240 T png_write_info

                1. T png_write_info_before_PLTE

00001e90 T png_write_init
000009e0 T png_write_init_2
00000ae0 T png_write_init_3
U png_write_oFFs
U png_write_pCAL
U png_write_pHYs
000022c0 T png_write_png
00000c10 T png_write_row
00001eb0 T png_write_rows
U png_write_sBIT
U png_write_sCAL
U png_write_sPLT
U png_write_sRGB
U png_write_sig
U png_write_start_row
U png_write_tEXt
U png_write_tIME
U png_write_tRNS
U png_write_zTXt
U sprintf

pngrtran.o:
U memset
0000a9a0 T png_build_gamma_table
00005db0 T png_build_grayscale_palette
00005f20 T png_do_background
U png_do_bgr
00003d50 T png_do_chop
0000a680 T png_do_dither
00009b00 T png_do_expand
00009350 T png_do_expand_palette
000082f0 T png_do_gamma
00004e40 T png_do_gray_to_rgb
U png_do_invert
U png_do_packswap
00004520 T png_do_read_filler
0000ba70 T png_do_read_intrapixel
00004280 T png_do_read_invert_alpha
00003e30 T png_do_read_swap_alpha
00002dc0 T png_do_read_transformations
00005390 T png_do_rgb_to_gray
U png_do_strip_filler
U png_do_swap
00003420 T png_do_unpack
00003860 T png_do_unshift
U png_error
U png_free

                1. d png_gamma_shift

00001860 T png_init_read_transformations
U png_malloc
U png_malloc_warn
00002b20 T png_read_transform_info
0000bd00 T png_set_background

                1. T png_set_crc_action

000000c0 T png_set_dither
0000be60 T png_set_expand
0000be00 T png_set_gamma
0000bea0 T png_set_gray_1_2_4_to_8
0000bee0 T png_set_gray_to_rgb
0000be80 T png_set_palette_to_rgb
0000bf70 T png_set_read_user_transform_fn
0000bf00 T png_set_rgb_to_gray
00001740 T png_set_rgb_to_gray_fixed
0000bdc0 T png_set_strip_16
0000bde0 T png_set_strip_alpha
0000bec0 T png_set_tRNS_to_alpha
U png_warning
U pow
U sprintf

pngwtran.o:
U png_do_bgr
U png_do_invert

                1. T png_do_pack

U png_do_packswap
00000540 T png_do_shift
U png_do_strip_filler
U png_do_swap
00001490 T png_do_write_intrapixel
00001080 T png_do_write_invert_alpha
00000bf0 T png_do_write_swap_alpha
00001700 T png_do_write_transformations

pngmem.o:
U free
U malloc
U memcpy
U memset

                1. T png_create_struct

00000060 T png_create_struct_2
000000e0 T png_destroy_struct
00000100 T png_destroy_struct_2
U png_error
000001f0 T png_free
00000230 T png_free_default
00000360 T png_get_mem_ptr
00000150 T png_malloc
000001c0 T png_malloc_default
00000260 T png_malloc_warn
000002f0 T png_memcpy_check
00000310 T png_memset_check
00000330 T png_set_mem_fn

pngerror.o:
U fprintf
U longjmp
00000450 T png_chunk_error
00000480 T png_chunk_warning
000001c0 t png_default_error

                1. r png_digit
                2. T png_error

00000510 t png_format_buffer
000004e0 T png_get_error_ptr
000004b0 T png_set_error_fn
000004f0 T png_set_strip_error_numbers
00000280 T png_warning
U stderr
U strncpy

pngpread.o:
U inflate
U inflateReset
U memcpy
U png_IDAT
U png_IEND
U png_IHDR
U png_PLTE
U png_bKGD
U png_cHRM
U png_calculate_crc
U png_check_chunk_name
U png_chunk_error
U png_combine_row
U png_crc_finish
U png_crc_read
U png_do_read_interlace
U png_do_read_transformations
U png_error
U png_free
U png_gAMA
00001f20 T png_get_progressive_ptr
U png_get_uint_31
U png_hIST
U png_handle_IEND
U png_handle_IHDR
U png_handle_PLTE
U png_handle_as_unknown
U png_handle_bKGD
U png_handle_cHRM
U png_handle_gAMA
U png_handle_hIST
U png_handle_iCCP
U png_handle_oFFs
U png_handle_pCAL
U png_handle_pHYs
U png_handle_sBIT
U png_handle_sCAL
U png_handle_sPLT
U png_handle_sRGB
U png_handle_tIME
U png_handle_tRNS
U png_handle_unknown
U png_iCCP
U png_malloc
U png_memcpy_check
U png_memset_check
U png_oFFs
U png_pCAL
U png_pHYs
U png_pass_dsp_mask
U png_pass_inc
U png_pass_start
U png_pass_yinc
U png_pass_ystart
00000e60 T png_process_IDAT_data
00001e00 T png_process_data

                1. T png_process_some_data

00001eb0 T png_progressive_combine_row
000008e0 T png_push_crc_finish
00001e60 T png_push_crc_skip
000009d0 T png_push_fill_buffer
00001640 T png_push_handle_tEXt
00001c10 T png_push_handle_unknown
000017f0 T png_push_handle_zTXt
00001d90 T png_push_have_end
00001d60 T png_push_have_info
00001dc0 T png_push_have_row
00000fb0 T png_push_process_row
00000c10 T png_push_read_IDAT
00000130 T png_push_read_chunk
00000070 T png_push_read_sig
000016b0 T png_push_read_tEXt
00001860 T png_push_read_zTXt
00001e80 T png_push_restore_buffer
00000a70 T png_push_save_buffer
U png_read_filter_row
000014b0 T png_read_push_finish_row
U png_reset_crc
U png_sBIT
U png_sCAL
U png_sPLT
U png_sRGB
00001ef0 T png_set_progressive_read_fn
U png_set_read_fn
U png_set_text_2
U png_set_unknown_chunks
U png_sig_cmp
U png_tEXt
U png_tIME
U png_tRNS
U png_warning
U png_zTXt
U strcpy

Anonymous
Tue 31 Jan 2006 02:24:02 PM UTC, comment #4:

Can you send me the output of "nm /usr/lib/libpng.a" ? Then I can look for a symbol that'll work there. My gut feel is on Slackware, they must strip all the libraries.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Tue 31 Jan 2006 08:35:27 AM UTC, comment #3:

Anyway, on my Slackware neither png_crc_read , png_check_sig or png_init_io works for me with the standard libpng Slackware package.

Anonymous
Tue 31 Jan 2006 08:33:20 AM UTC, comment #2:

Seems that in the current CVS there is png_crc_read , not png_check_sig .

Anonymous
Tue 31 Jan 2006 04:19:20 AM UTC, comment #1:

I checked in a change the other day that changed the symbol that is looked for to check libong to png_check_sig. Does this symbol work for you ? The easy way to check is to do a nm of the library and grep for the symbol you want.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Tue 31 Jan 2006 04:00:11 AM UTC, original submission:

On a Debian testing system, Gnash fails to configure, claiming that no PNG library is available. Apparently png_read_crc(), the function that is being tested for, is no longer present in libpng12. Gnash doesn't actually use this function. The patch below changes the test to use png_init_io() instead, which causes Gnash to build successfully.

Index: macros/png.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/png.m4,v
retrieving revision 1.4
diff -u -r1.4 png.m4
--- macros/png.m4 28 Jan 2006 17:29:15 -0000 1.4
+++ macros/png.m4 31 Jan 2006 03:58:11 -0000
@@ -86,7 +86,7 @@

dnl If the header doesn't exist, there is no point looking for the library.
if test x"${ac_cv_path_png_lib}" = x; then
- AC_CHECK_LIB(png, png_crc_read, [ac_cv_path_png_lib="-lpng"],[
+ AC_CHECK_LIB(png, png_init_io, [ac_cv_path_png_lib="-lpng"],[
AC_MSG_CHECKING([for libpng library])
libslist="/sw/lib /usr/local/lib /home/latest/lib /opt/lib /usr/lib /usr/pkg/lib .. ../.."
for i in $libslist; do

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 17 Feb 2006 04:51:21 PM UTCrsavoyeStatusIn Progress=>Fixed
  Open/ClosedOpen=>Closed
Tue 31 Jan 2006 03:48:13 PM UTCrsavoyeStatusNeed Info=>In Progress
Tue 31 Jan 2006 04:19:20 AM UTCrsavoyeStatusNone=>Need Info
  Assigned toNone=>rsavoye

Back to the top


Powered by Savane 3.1-cleanup1