Since i'm cross compiling it is possible gcc is taking a wrong png.h. I've compiled a new libpng 1.4.3 and now all it is working correctly
Il giorno 23/lug/2010, alle ore 19.50, Benjamin Wolsey ha scritto: > > I don't really understand; if it's not declared it wouldn't compile. An > undefined reference surely means the declaration is somewhere, but not > the definition. > > The function in question, png_set_expand_gray_1_2_4_to_8(), was added in > 1.2.9 according to what I can find on the internet. > > But if yours is different and also really has no PNG_LIBPNG_VER_MINOR, > then the test should be whether that's defined, whether > PNG_LIBPNG_VER_MAJOR is more than 1, or is equal to 1 and > PNG_LIBPNG_VER_MINOR is more than or equal to 3 (to be on the safe > side). Does that sound correct? > _______________________________________________ Gnash-dev mailing list Gnash-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-dev