ID:               24310
 Comment by:       s dot besteman at kernpunkt dot de
 Reported By:      kkwan at comp dot hkbu dot edu dot hk
 Status:           No Feedback
 Bug Type:         GD related
 Operating System: SuSE 8.2
 PHP Version:      4.3.2
 New Comment:

I have nearly the same problem. It's the same php and gdlib version,
but in my build only one of the errors occour:

ext/gd/gd.o(.text+0x57b): In function `zm_deactivate_gd':
/.../php4-STABLE-200411300930/ext/gd/gd.c:390: undefined reference to
`gdFreeFontCache'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1

As you can see, I have already downloaded the latest stable build, so
what's the matter with this error?

My configure command:

./configure --host=i386-redhat-linux --build=i386-redhat-linux
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --cache-file=../config.cache
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
--enable-force-cgi-redirect --disable-debug --enable-pic
--disable-rpath --enable-inline-optimization --with-bz2 --with-db4=/usr
--with-curl --with-dom=/usr --with-exec-dir=/usr/bin
--with-freetype-dir=/usr/local/lib/ --with-png-dir=/usr/lib
--with-gd=/usr/local --enable-gd-native-ttf --with-ttf --with-gettext
--with-ncurses --with-gmp --with-iconv --with-jpeg-dir=/usr/lib
--without-openssl --with-png --with-pspell --with-regex=system
--with-xml --with-expat-dir=/usr --with-pcre-regex=/usr/local
--with-zlib --with-layout=GNU --enable-bcmath --enable-exif
--enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets
--enable-sysvsem --enable-sysvshm --enable-discard-path
--enable-track-vars --enable-trans-sid --enable-yp --enable-wddx
--enable-mbstring --enable-mbstr-enc-trans --enable-mbregex
--without-oci8 --with-pear=/usr/share/pear --with-ldap=shared
--with-mysql=shared,/usr --with-unixODBC=shared --enable-memory-limit
--enable-bcmath --enable-shmop --enable-versioning --enable-calendar
--enable-dbx --enable-dio --enable-mcal
--with-apxsfilter=/usr/local/psa/admin/bin/apxs


Previous Comments:
------------------------------------------------------------------------

[2003-06-29 21:18:32] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



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

[2003-06-24 08:57:32] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



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

[2003-06-24 03:51:04] kkwan at comp dot hkbu dot edu dot hk

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 this bug report at http://bugs.php.net/?id=24310&edit=1

Reply via email to