Bug #14189 Updated: GD 2.0.1 compiling error using php4.1rc3
| From: | raw at vento dot com dot br | Date: | Sun, 25 Nov 2001 01:27:28 +0000 |
| Subject: | Bug #14189 Updated: GD 2.0.1 compiling error using php4.1rc3 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-71576@lists.php.net to get a copy of this message | ||
ID: 14189
User updated by: raw@vento.com.br
Reported By: raw@vento.com.br
Old Summary: GD 2.0.1 compiling error
Status: Closed
Bug Type: Compile Failure
Operating System: Red Hat 6.2
PHP Version: 4.0.6
New Comment:
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...
Previous Comments:
------------------------------------------------------------------------
[2001-11-24 19:19:52] raw@vento.com.br
I'll try. Thanks your help and replies.
------------------------------------------------------------------------
[2001-11-24 14:51:16] 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-23 06:08:08] raw@vento.com.br
I am newbie, can you explain to do it or a tutorial step by step?
Thanks
------------------------------------------------------------------------
[2001-11-22 18:55:56] sniper@php.net
fixed in cvs
------------------------------------------------------------------------
[2001-11-22 18:17:23] raw@vento.com.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
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14189&edit=1