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
- 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
- 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
- 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
- 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
- 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
- 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
- d onebppswaptable
00000840 T png_do_bgr
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- r png_digit
- 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
- 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
|