From:             kkwan at comp dot hkbu dot edu dot hk
Operating system: SuSE 8.2
PHP version:      4.3.2
PHP Bug Type:     GD related
Bug description:  undefined reference to `gdFreeFontCache' and others...

Description:
------------
I have a problems when in 'make' stage in my php 4.3.2
with gd 2.0.15
installation, it shows a lot if undefined references:

ext/gd/gd.o(.text+0x5f7): In function `zm_deactivate_gd':
/usr/local/src/php-4.3.2/ext/gd/gd.c:382: undefined reference to
`gdFreeFontCache'
ext/gd/gd.o(.text+0x2f01): In function `zif_imagecreatefromstring':
/usr/local/src/php-4.3.2/ext/gd/gd.c:1313: undefined reference to
`gdImageCreateFromJpegCtx'
ext/gd/gd.o(.text+0x3297): In function `zif_imagecreatefromjpeg':
/usr/local/src/php-4.3.2/ext/gd/gd.c:1497: undefined reference to
`gdImageCreateFromJpegCtx'
ext/gd/gd.o(.text+0x329c):/usr/local/src/php-4.3.2/ext/gd/gd.c:1497:
undefined reference to `gdImage
CreateFromJpeg'
ext/gd/gd.o(.text+0x39e7): In function `zif_imagejpeg':
/usr/local/src/php-4.3.2/ext/gd/gd.c:1736: undefined reference to
`gdImageJpegCtx'
ext/gd/gd.o(.text+0x3eb8): In function `zif_imagecolorat':
/usr/local/src/php-4.3.2/ext/gd/gd.c:1855: undefined reference to
`gdImageBoundsSafe'
ext/gd/gd.o(.text+0x3f04):/usr/local/src/php-4.3.2/ext/gd/gd.c:1863:
undefined reference to `gdImage
BoundsSafe'
ext/gd/gd.o(.text+0x9466): In function `_php_image_convert':
/usr/local/src/php-4.3.2/ext/gd/gd.c:3724: undefined reference to
`gdImageCreateFromJpeg'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

---------------------------------------------

The following is my configure setting:

./configure \
--with-mysql=/usr/local/mysql \
--with-xml \
--with-apache=/usr/local/src/apache_1.3.27 \
--enable-track-vars \
--with-gd \
--with-zlib-dir=/usr/local/lib \
--with-jpg-dir=/usr/local/lib \
--with-png-dir=/usr/local/lib \
--enable-gd-native-ttf 


Can anyone one tell me what the problem is?
Thank you very much.


-- 
Edit bug report at http://bugs.php.net/?id=24310&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24310&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24310&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24310&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24310&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24310&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24310&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24310&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24310&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24310&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24310&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24310&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24310&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24310&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24310&r=gnused

Reply via email to