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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]