I want to update gd to 1.8.3.I have compiled gd,jpeg-6b,zlib,libpng and compiled php-4.0.1RC with "--with-gd=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/local". I got a error report that said there is a duplicate function declaration of gdImageColorResolve when I made apache. so I modified gd.c in php-4.0.1RC/ext/gd by removing declaration of gdImageColorResolve. At last I made the apache successfully but new version of GD didn't work as phpinfo() told me. Why? and How to do? Thanks!