make PHP出了点小问题



[Copy to clipboard] [ - ]
CODE:
ext/gd/.libs/gd.o: In function `_php_image_convert':
/usr/local/src/php-5.2.6/ext/gd/gd.c:4980: undefined reference to `gdImageCreateFromJpeg'
/usr/local/src/php-5.2.6/ext/gd/gd.c:4966: undefined reference to `gdImageCreateFromGif'
ext/gd/.libs/gd.o: In function `_php_image_create_from':
/usr/local/src/php-5.2.6/ext/gd/gd.c:2669: undefined reference to `gdImageCreateFromJpeg'
ext/gd/.libs/gd.o: In function `zif_imagecreatefromjpeg':
/usr/local/src/php-5.2.6/ext/gd/gd.c:2711: undefined reference to `gdImageCreateFromJpegCtx'
/usr/local/src/php-5.2.6/ext/gd/gd.c:2711: undefined reference to `gdImageCreateFromJpeg'
ext/gd/.libs/gd.o: In function `zif_imagecreatefromgif':
/usr/local/src/php-5.2.6/ext/gd/gd.c:2701: undefined reference to `gdImageCreateFromGifCtx'
/usr/local/src/php-5.2.6/ext/gd/gd.c:2701: undefined reference to `gdImageCreateFromGif'
ext/gd/.libs/gd.o: In function `zif_imagecreatefromstring':
/usr/local/src/php-5.2.6/ext/gd/gd.c:2506: undefined reference to `gdImageCreateFromJpegCtx'
/usr/local/src/php-5.2.6/ext/gd/gd.c:2524: undefined reference to `gdImageCreateFromGifCtx'
ext/gd/.libs/gd.o: In function `zif_imagejpeg':
/usr/local/src/php-5.2.6/ext/gd/gd.c:2991: undefined reference to `gdImageJpegCtx'
ext/gd/.libs/gd.o: In function `zif_imagegif':
/usr/local/src/php-5.2.6/ext/gd/gd.c:2963: undefined reference to `gdImageGifCtx'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] 错误 1

这些是出问题的代码
./configure通过