#20617 [Opn->Bgs]: ctx (?) structure
| From: | derick@php.net | Date: | Mon, 25 Nov 2002 10:14:56 +0000 |
| Subject: | #20617 [Opn->Bgs]: ctx (?) structure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25772@lists.php.net to get a copy of this message | ||
ID: 20617
Updated by: derick@php.net
Reported By: frankdb@megaceramics.nl
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Linux (2.2.16)
PHP Version: 4.2.3
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-11-25 04:13:54] frankdb@megaceramics.nl
Compile error:
make[1]: Entering directory `/usr/src/webserver/php-4.2.3/ext/gd'
gcc -I. -I/usr/src/webserver/php-4.2.3/ext/gd
-I/usr/src/webserver/php-4.2.3/main -I/usr/src/webserver/php-4.2.3
-I/usr/src/webserver/apache_1.3.27/src/include
-I/usr/src/webserver/apache_1.3.27/src/os/unix
-I/usr/src/webserver/php-4.2.3/Zend -I/usr/local/openssl-0.9.6g/include
-I/usr/local/freetype/include/freetype2/freetype -I/usr/local/include
-I/usr/local/gd/include -I/usr/local/imap-2002.RC7/c-client
-I/usr/local/mysql/include/mysql -I/usr/local/pgsql/include
-I/usr/src/webserver/php-4.2.3/ext/xml/expat
-I/usr/src/webserver/php-4.2.3/TSRM -g -O2 -c gd.c && touch gd.lo
In file included from gd.c:83:
gd_ctx.c: In function `_php_image_output_ctx':
gd_ctx.c:70: structure has no member named `free'
gd_ctx.c:98: structure has no member named `free'
gd.c: In function `_php_image_type':
gd.c:1014: structure has no member named `free'
gd.c:1017: structure has no member named `free'
gd.c: In function `_php_image_create_from':
gd.c:1209: structure has no member named `free'
Running: GD 2.0.7, Freetype 2.1.3, php 4.2.3
Fix:
Replace free with gd_free ...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20617&edit=1