Hello, does anyone manage/know how to compile a working libpng? I know that P. M. offers an compiled tar.gz on his webpage, but it doesn't include the latest fp changes to gcc... and it is a bit outdated. I also contacted P. M. but he couldn't give me any further information.... When I compile 1.2.44, I get an lib that causes bus errors... When I compile 1.4 or 1.5 I get the following error: libtool: compile: gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng15_la-pngread.lo -MD -MP -MF .deps/libpng15_la-pngread.Tpo -c pngread.c -o libpng15_la-pngread.o pngread.c: In function 'png_create_read_struct_2': pngread.c:90:51: error: 'longjmp' undeclared (first use in this function) pngread.c:90:51: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [libpng15_la-pngread.lo] Error 1 make[1]: Leaving directory `/f/src/libpng-1.5.1' make: *** [all] Error 2 I checked that setjmp.h is included, but it complaints anyway... if I do: #undef longjmp extern void longjmp(jmp_buf, int x); It doesn't throw the error.... Maybe it has something to do with the __USE_BSD define within setjmp.h? Hm.... Greets, m |