I'm trying to compile libpng for fdpic. While compiling it doesn't found zlib.
I have downloaded and extracted blackfin-linux-dist-2011R1-RC3.tar.bz2.
Then with make menuconfig I choose Customize Application/Library Settings. And then under Blackfin build options I change Binary format (FDPIC).
After that I do make lib/libpng_only and get configure: error zlib not installed. See http://pastebin.com/UrfrzVZg
What I can do is make lib/zlib_only but then when I try to make libpng again it will fail with the same message.