I am using the PNG format to output images with PHP. I get an error in PHP that says the imagepng() function is undefined. I have built GD, zlib, libjpeg, FreeType, and libpng like the tutorial I saw on WebMonkey said to. I built PHP 4.2.0 with gd, libjpeg, and zlib like the tutorial said to also. The only thing I got were some warnings about "identifier already declared here: ushort" and some other "u" variables (3 total). This occurred in a bunch of files, but I'm not sure exactly which ones. GD shows up when I do phpinfo().
So whats up?