Your message dated Thu, 21 Dec 2006 20:15:42 -0200
with message-id <[EMAIL PROTECTED]>
and subject line png_save_uint_16 is now exported
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: libpng12-dev
Version: 1.2.8rel-5
Severity: important
libpng12 doesn't export the png_save_uint_16 function, but this function
is declared in a public header file (png.h). This is important because
it is part of the public API, but can't actually be used.
This was stopping the sng package from building because it used this
function. (See soon-to-be-closed bug #339889). I worked around this by
not using the function, but replicating what it did (since it was simple).
Anyway, for this bug to be closed, either this function needs to be
exported, or if the function really is not supposed to be used, the
declaration needs to be removed from the public API and not listed in
png.h.
Thanks! =)
A snippet from the error in the bug referenced above:
sngd.c: At top level:
sngd.c:537: warning: 'dump_oFFs' defined but not used
sngd.c:657: warning: 'dump_pCAL' defined but not used
sngd.c:707: warning: 'dump_sCAL' defined but not used
i486-linux-gnu-gcc -Wall -g -O2 -o sng main.o sngc.o sngd.o -lpng
-lm -lz
sngc.o: In function `compile_gIFg':/tmp/buildd/sng-1.0.2/sngc.c:1515:
undefined reference to `png_save_uint_16'
collect2: ld returned 1 exit status
make[2]: *** [sng] Error 1
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages libpng12-dev depends on:
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii zlib1g-dev 1:1.2.3-8 compression library - development
libpng12-dev recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 1.2.15~beta5-1
Hi!
grep png_save_uint_16 is now exported on libpng:
$ objdump -T /usr/lib/libpng12.so | grep png_save_uint_16
0000bd00 g DF .text 00000015 PNG12_0 png_save_uint_16
Best regards,
Nelson
--- End Message ---