Well I've never done this myself but if you compiled version 1.0.10
and are getting errors about version 1.0.6 then I'd say your Makefile
is picking libpng up from somewhere else. I'm sure there are some
inlude directories in the Makefile you could change to point to the
the 1.0.10 version of libpng
D