[uClibc] anybody out there using libpng? (mipsel)

David Wuertele dave-gnus at bfnet.com
Mon Aug 4 23:59:23 MDT 2003

I'm having problems using libpng-1.2.5 on uClibc of multiple versions
including latest CVS.  Running the following test app:

  int main ()
    fprintf (stderr, "%s:%d %s\n", __FILE__, __LINE__, __PRETTY_FUNCTION__);
    png_structp png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
    fprintf (stderr, "%s:%d %s\n", __FILE__, __LINE__, __PRETTY_FUNCTION__);


works fine.  But when the library I'm porting to uClibc calls the
exact same functions, libpng.so goes into the weeds in
png_create_read_struct() before png_create_read_struct_2() even gets
called.  That's strange because all png_create_read_struct() is is a
call to png_create_read_struct_2().  I put a fprintf at the very
beginning of png_create_read_struct_2() and it never got executed.

Any suggestions on how to troubleshoot this?  Is anyone out there
exercising libpng?


PS this is on mipsel

More information about the uClibc mailing list