php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14189 GD 2.0.1 compiling error
Submitted: 2001-11-22 18:17 UTC Modified: 2001-11-24 20:27 UTC
From: raw at vento dot com dot br Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: Red Hat 6.2
Private report: No CVE-ID: None
 [2001-11-22 18:17 UTC] raw at vento dot com dot br
Hi. I trying recompiling new version gd with php 4.0.6 e obtain error message:

Making all in gd
make[2]: Entering directory `/home/raw/php-4.0.6/ext/gd'
make[3]: Entering directory `/home/raw/php-4.0.6/ext/gd'
gcc  -I. -I/home/raw/php-4.0.6/ext/gd -I/home/raw/php-4.0.6/main -I/home/raw/php-4.0.6 -I/home/raw/apache_1.3.19/src/include -I/home/raw/apache_1.3.19/src/os/unix -I/home/raw/php-4.0.6/Zend -I/home/raw/php-4.0.6/ext/mysql/libmysql -I/home/raw/php-4.0.6/ext/xml/expat/xmltok -I/home/raw/php-4.0.6/ext/xml/expat/xmlparse -I/home/raw/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c gd.c && touch gd.lo
gd.c:95: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `php_if_imagecreatefromgif':
gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:1209: (Each undeclared identifier is reported only once
gd.c:1209: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:1404: `gdImageGif' undeclared (first use in this function)

My line to configure command is: 
./configure --with-gd --with-jpeg-dir=../jpeg-6b/ --with-png-dir=../libpng-1.0.11/ --with-mysql --with-apache=../apache_1.3.19/ --enable-track-vars --with-zlib-dir=../zlib-1.1.3/

Help me?
Regards

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-22 18:55 UTC] sniper@php.net
fixed in cvs

 [2001-11-23 06:08 UTC] raw at vento dot com dot br
I am newbie, can you explain to do it or a tutorial step by step?

Thanks
 [2001-11-24 14:51 UTC] sniper@php.net
Get the PHP 4.1.0RC3 from http://www.php.net/~zeev/
or wait for PHP 4.1.0 to be officially released.

--Jani

 [2001-11-24 19:19 UTC] raw at vento dot com dot br
I'll try. Thanks your help and replies.
 [2001-11-24 20:27 UTC] raw at vento dot com dot br
I test rebuild php using php4.1rc3 but error msg continue...

gd.c: In function `zm_startup_gd':
gd.c:271: `gdArc' undeclared (first use in this function)
gd.c:271: (Each undeclared identifier is reported only once
gd.c:271: for each function it appears in.)
gd.c:272: `gdPie' undeclared (first use in this function)
gd.c:273: `gdChord' undeclared (first use in this function)
gd.c:274: `gdNoFill' undeclared (first use in this function)
gd.c:275: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:556: warning: assignment makes pointer from integer without a cast
gd.c: In function `zif_imagecolorat':
gd.c:1594: structure has no member named `tpixels'

I dont know why, but I need rebuild wich new version GD 2.0.1, because my site use function ImageCreateTrueColor...

Help me please!!
regards...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Aug 04 00:01:29 2024 UTC