php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7684 Make dies on gd
Submitted: 2000-11-07 19:59 UTC Modified: 2000-11-08 17:03 UTC
From: ignacio at openservices dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (07/11/2000) OS: Red Hat Linux 6.2
Private report: No CVE-ID: None
 [2000-11-07 19:59 UTC] ignacio at openservices dot net
Output:

gcc  -I. -I/usr/src/redhat/BUILD/php-4.0.4_20001107/ext/gd -I/usr/src/redhat/BUILD/php-4.0.4_20001107 -I/usr/src/redhat/BUILD/php-4.0.4_20001107/main -I/usr/src/redhat/BUILD/php-4.0.4_20001107/Zend -I/usr/src/redhat/BUILD/php-4.0.4_20001107 -I/usr/include/openssl -I/usr/include/freetype -I/usr/include/imap -I/opt/sybase-11.9.2/include -I/usr/src/redhat/BUILD/php-4.0.4_20001107/ext/xml/expat/xmltok -I/usr/src/redhat/BUILD/php-4.0.4_20001107/ext/xml/expat/xmlparse -I/usr/src/redhat/BUILD/php-4.0.4_20001107/TSRM  -DXML_BYTE_ORDER=12 -O2 -m486 -fno-strength-reduce -fPIC  -c gd.c && touch gd.lo
gd.c: In function `_php_image_create_from_string':
gd.c:515: `gdIOCtx' undeclared (first use in this function)
gd.c:515: (Each undeclared identifier is reported only once
gd.c:515: for each function it appears in.)
gd.c:515: `io_ctx' undeclared (first use in this function)
gd.c: In function `php_if_imagecreatefromstring':
gd.c:572: `gdImageCreateFromGifCtx' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/php-4.0.4_20001107/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/php-4.0.4_20001107/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.0.4_20001107/ext'
make: *** [all-recursive] Error 1

Configure:

./configure \
        --prefix=%{_prefix} \
        --with-config-file-path=%{_sysconfdir} \
        --disable-debug \
        --enable-pic \
        --enable-shared \
        --enable-inline-optimization \
        $* \
        --with-exec-dir=%{_bindir} \
        --with-regex=php \
        --with-gettext \
        --with-gd \
        --with-jpeg-dir=%{_prefix} \
        --with-png \
        --with-zlib \
        --with-gdbm \
        --enable-debugger \
        --enable-magic-quotes \
        --enable-safe-mode \
        --enable-sysvsem \
        --enable-sysvshm \
        --enable-track-vars \
        --enable-yp \
        --enable-ftp \
        --without-mysql \
        --without-oracle \
        --without-oci8 \
        --with-openssl \
        --with-xml \
        --with-imap \
        --with-sybase-ct=/opt/sybase-11.9.2

Any ideas?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-08 16:53 UTC] mathieu@php.net
Sorry, but upgrade to 1.5 or higher...
I did make GD build again but you won't be able to use
ImageCreateFromString() with a GD version lower than
1.5..

-- Mathieu
 [2000-11-08 17:03 UTC] ignacio at openservices dot net
That's okay. I can't even find any docs on that function anyway, so no biggie :)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 22 03:00:02 2026 UTC