ID: 16584
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: FreeBSD 4.3-STABLE
PHP Version: 4.2.0
New Comment:
OK when I try with an older version of GD using this configure :
./configure \
--prefix=/usr/home/xxxx/local \
--enable-bcmath \
--with-zlib \
--enable-gd-native-ttf \
--with-gd=/usr/local \
--with-png-dir=/usr/local \
--with-jpeg-dir=/usr/local \
--enable-exif \
--with-mysql=/usr/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
configure works fine, and correctly detects the version of GD to use
(it says "checking for gdImageCreateTrueColor in -lgd... no" which
means this is indeed GD before 2.0 version which didn't support true
color). I get this error when compiling :
./.libs/libphp4.a(gd.o): In function `zm_startup_gd':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c:281: undefined reference to
`T1_SetBitmapPad'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c:282: undefined reference to
`T1_InitLib'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c:283: undefined reference to
`T1_SetLogLevel'
./.libs/libphp4.a(gd.o): In function `zif_imagecreatetruecolor':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0xd9e): undefined
reference to `gdImageCreateTrueColor'
./.libs/libphp4.a(gd.o): In function `zif_imagetruecolortopalette':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0xf2b): undefined
reference to `gdImageTrueColorToPalette'
./.libs/libphp4.a(gd.o): In function `zif_imagesetthickness':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x1032): undefined
reference to `gdImageSetThickness'
./.libs/libphp4.a(gd.o): In function `zif_imagefilledellipse':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x136a): undefined
reference to `gdImageFilledEllipse'
./.libs/libphp4.a(gd.o): In function `zif_imagefilledarc':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x1836): undefined
reference to `gdImageFilledArc'
./.libs/libphp4.a(gd.o): In function `zif_imagealphablending':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x193a): undefined
reference to `gdImageAlphaBlending'
./.libs/libphp4.a(gd.o): In function `zif_imagecolorresolvealpha':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x1bd1): undefined
reference to `gdImageColorResolveAlpha'
./.libs/libphp4.a(gd.o): In function `zif_imagecolorclosestalpha':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x1e61): undefined
reference to `gdImageColorClosestAlpha'
./.libs/libphp4.a(gd.o): In function `zif_imagecolorexactalpha':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x20f1): undefined
reference to `gdImageColorExactAlpha'
./.libs/libphp4.a(gd.o): In function `zif_imagecopyresampled':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c:882: undefined reference to
`gdImageCopyResampled'
./.libs/libphp4.a(gd.o): In function `php_imagettftext_common':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x8aa5): undefined
reference to `gdImageStringFT'
./.libs/libphp4.a(gd.o): In function `php_free_ps_font':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x8b1e): undefined
reference to `T1_DeleteFont'
./.libs/libphp4.a(gd.o): In function `php_free_ps_enc':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x8b3f): undefined
reference to `T1_DeleteEncoding'
./.libs/libphp4.a(gd.o): In function `zif_imagepsloadfont':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x8c01): undefined
reference to `T1_AddFont'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x8c45): undefined
reference to `T1_LoadFont'
./.libs/libphp4.a(gd.o): In function `zif_imagepsencodefont':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x8df7): undefined
reference to `T1_LoadEncoding'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x8e1e): undefined
reference to `T1_DeleteAllSizes'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x8e29): undefined
reference to `T1_ReencodeFont'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x8e39): undefined
reference to `T1_DeleteEncoding'
./.libs/libphp4.a(gd.o): In function `zif_imagepsextendfont':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x8f6c): undefined
reference to `T1_ExtendFont'
./.libs/libphp4.a(gd.o): In function `zif_imagepsslantfont':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x9084): undefined
reference to `T1_SlantFont'
./.libs/libphp4.a(gd.o): In function `zif_imagepstext':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x97d9): undefined
reference to `T1_AASetBitsPerPixel'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x9802): undefined
reference to `T1_AASetGrayValues'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x980f): undefined
reference to `T1_AASetLevel'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x9823): undefined
reference to `T1_AAHSetGrayValues'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x982d): undefined
reference to `T1_AASetLevel'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x9882): undefined
reference to `T1_RotateMatrix'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x98b6): undefined
reference to `T1_GetExtend'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x98f0): undefined
reference to `T1_GetCharOutline'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x9925): undefined
reference to `T1_GetKerning'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x99bc): undefined
reference to `T1_GetMoveOutline'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x99c9): undefined
reference to `T1_ConcatOutlines'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x9a06): undefined
reference to `T1_GetCharOutline'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x9a13): undefined
reference to `T1_ConcatOutlines'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x9a40): undefined
reference to `T1_AAFillOutline'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x9a8d): undefined
reference to `T1_AASetString'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x9a97): undefined
reference to `T1_errno'
./.libs/libphp4.a(gd.o): In function `zif_imagepsbbox':
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0x9ff7): undefined
reference to `T1_GetCharWidth'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0xa06d): undefined
reference to `T1_GetCharBBox'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0xa089): undefined
reference to `T1_GetCharWidth'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0xa0bb): undefined
reference to `T1_GetKerning'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0xa3a2): undefined
reference to `T1_GetStringBBox'
/usr/home/xxxx/src/php-4.2.0/ext/gd/gd.c(.text+0xa3ab): undefined
reference to `T1_errno'
*** Error code 1
Stop in /usr/home/xxxx/src/php-4.2.0.
*** Error code 1
Stop in /usr/home/xxxx/src/php-4.2.0.
the first error lines are the same as when I use with GD 2.0.1, the
rest seems to be related to freetype ?
Previous Comments:
------------------------------------------------------------------------
[2002-04-24 21:52:01] [EMAIL PROTECTED]
What is the compile/link line which gives that error?
------------------------------------------------------------------------
[2002-04-24 10:32:29] [EMAIL PROTECTED]
Didn't change anything, the configure options are exactly (letter for
letter) the same as before. I tried to add "--disable-cli" just in case
as well and the result is exactly the same. I tried also with an older
version of GD (1.8) got the same problem (well the error message is
longer since more functions seem to be missing)
------------------------------------------------------------------------
[2002-04-24 10:09:08] [EMAIL PROTECTED]
The sapi/cli should be disabled by default in 4.2.0..
So it shouldn't even try to compile it if you haven't
added --enable-cli in your configure line. Do you have that?
Or is the error different now?
--Jani
------------------------------------------------------------------------
[2002-04-24 03:00:52] [EMAIL PROTECTED]
Tried with the 4.2.0 final release, the bug is still here.
------------------------------------------------------------------------
[2002-04-19 11:14:36] [EMAIL PROTECTED]
(changed version to RC4)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16584
--
Edit this bug report at http://bugs.php.net/?id=16584&edit=1