From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.3-STABLE
PHP version:      4.1.2
PHP Bug Type:     Compile Failure
Bug description:  GD compile failure

Compile with GD 2.0.1 doesn't work anymore (used to work fine with earlier
versions of PHP with the exact same parameters). Configure :
./configure \
--prefix=/usr/home/xxxx/local \
--enable-bcmath \
--with-zlib \
--with-png-dir=/usr/local \
--with-jpeg-dir=/usr/local \
--with-tiff-dir=/usr/home/xxxx/local \
--with-t1lib=/usr/home/xxxx/local \
--with-freetype-dir=/usr/home/xxxx/local \
--enable-gd-native-ttf \
--with-gd=/usr/home/xxxx/local \
--enable-exif \
--with-mysql=/usr/local \
--with-ming=/usr/home/xxxx/local \
--disable-pear \
--with-config-file-path=/usr/home/xxxx/local/etc \
--enable-debug=no \
--enable-force-cgi-redirect=yes \
--with-openssl=/usr/local/ssl \
--with-curl=/usr/home/xxxx/src/curl-7.9 \
--with-dom=/usr/home/xxxx/local

And the compile error message :
./.libs/libphp4cli.a(gd.o): In function `zif_imagecreatetruecolor':
/usr/home/xxxx/src/php-4_2_0RC3/ext/gd/gd.c(.text+0xd9e): undefined
reference to `gdImageCreateTrueColor'
./.libs/libphp4cli.a(gd.o): In function `zif_imagetruecolortopalette':
/usr/home/xxxx/src/php-4_2_0RC3/ext/gd/gd.c(.text+0xf2b): undefined
reference to `gdImageTrueColorToPalette'
./.libs/libphp4cli.a(gd.o): In function `zif_imagesetthickness':
/usr/home/xxxx/src/php-4_2_0RC3/ext/gd/gd.c(.text+0x1032): undefined
reference to `gdImageSetThickness'
./.libs/libphp4cli.a(gd.o): In function `zif_imagefilledellipse':
/usr/home/xxxx/src/php-4_2_0RC3/ext/gd/gd.c(.text+0x136a): undefined
reference to `gdImageFilledEllipse'
./.libs/libphp4cli.a(gd.o): In function `zif_imagefilledarc':
/usr/home/xxxx/src/php-4_2_0RC3/ext/gd/gd.c(.text+0x1836): undefined
reference to `gdImageFilledArc'
./.libs/libphp4cli.a(gd.o): In function `zif_imagealphablending':
/usr/home/xxxx/src/php-4_2_0RC3/ext/gd/gd.c(.text+0x193a): undefined
reference to `gdImageAlphaBlending'
./.libs/libphp4cli.a(gd.o): In function `zif_imagecolorresolvealpha':
/usr/home/xxxx/src/php-4_2_0RC3/ext/gd/gd.c(.text+0x1bd1): undefined
reference to `gdImageColorResolveAlpha'
./.libs/libphp4cli.a(gd.o): In function `zif_imagecolorclosestalpha':
/usr/home/xxxx/src/php-4_2_0RC3/ext/gd/gd.c(.text+0x1e61): undefined
reference to `gdImageColorClosestAlpha'
./.libs/libphp4cli.a(gd.o): In function `zif_imagecolorexactalpha':
/usr/home/xxxx/src/php-4_2_0RC3/ext/gd/gd.c(.text+0x20f1): undefined
reference to `gdImageColorExactAlpha'
./.libs/libphp4cli.a(gd.o): In function `zif_imagecopyresampled':
/usr/home/xxxx/src/php-4_2_0RC3/ext/gd/gd.c:882: undefined reference to
`gdImageCopyResampled'
./.libs/libphp4cli.a(gd.o): In function `php_imagettftext_common':
/usr/home/xxxx/src/php-4_2_0RC3/ext/gd/gd.c(.text+0x8aa5): undefined
reference to `gdImageStringFT'
*** Error code 1

Stop in /usr/home/xxxx/src/php-4_2_0RC3/sapi/cli.
*** Error code 1

Stop in /usr/home/xxxx/src/php-4_2_0RC3/sapi/cli.
*** Error code 1

Stop in /usr/home/xxxx/src/php-4_2_0RC3.

-- 
Edit bug report at http://bugs.php.net/?id=16584&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16584&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16584&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16584&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16584&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16584&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16584&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16584&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16584&r=submittedtwice

Reply via email to