Assuming it's this file (you didn't specify): http://svn.gna.org/svn/gnustep/libs/opal/trunk/Source/OpalGraphics/image/OPImageCodecPNG.m
You didn't specify a version of libpng either. It's a red herring that it's an unavailable function. This looks like it's a macro; here's from pngconf.h. 456 <http://www-personal.umich.edu/~bazald/l/api/pngconf_8h.html#a18c80f490efdb3ecfc2bb6aa840a94c0> #define png_sizeof(x) (sizeof (x)) We should either replace it with a sizeof() or make sure to include the correct header. On Wed, Jan 18, 2017 at 7:14 AM, Germán Arias <germanan...@gmx.es> wrote: > Hi, I'm trying to compile Opal at FreeBSD 11, but when link I get the > error "Undefined reference to 'png_sizeof' at libpng". I suppose this > is not available in recent version of libpng. > > Germán > > > _______________________________________________ > Discuss-gnustep mailing list > Discuss-gnustep@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnustep >
_______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnustep