Libpng-1.4.6 has a coding error in pngwutil.c (declarations amongst executable code) and won't compile on some platforms. Libpng-1.4.7 will be released soon.