I got error during make php4.0.2
the error :
Making all in gd
make[2]: Entering directory /tmp/php-4.0.2/ext/gd'
make[3]: Entering directory/tmp/php-4.0.2/ext/gd'
gcc -DHAVE_CONFIG_H -I. -I/tmp/php-4.0.2/ext/gd -I/tmp/php-4.0.2
-I/tmp/php-4.0.2/main -I/tmp/apache_1.3.12/src/include
-I/tmp/apache_1.3.12/src/os/unix -I/tmp/php-4.0.2/Zend -I/tmp/php-4.0.2
-I/tmp/php-4.0.2/ext/mysql/libmysql
-I/tmp/php-4.0.2/ext/xml/expat/xmltok
-I/tmp/php-4.0.2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c
gd.c && touch gd.lo gd.c: In function php_if_imagecreatefromgif': gd.c:472:gdImageCreateFromGif' undeclared (first use in this function) gd.c:472: (Each
undeclared identifier is reported only once gd.c:472: for each function it
appears in.) gd.c: In function php_if_imagegif': gd.c 29:gdImageGif'
undeclared (first use in this function) make[3]: [gd.lo] Error 1 make[3]:
Leaving directory /tmp/php-4.0.2/ext/gd' make[2]: *** [all-recursive]
Error 1 make[2]: Leaving directory/tmp/php-4.0.2/ext/gd' make[1]:
[all-recursive] Error 1 make[1]: Leaving directory `/tmp/php-4.0.2/ext'
make: *** [all-recursive] Error 1
anyone can help me please