#20683 [Opn->Fbk]: GD 2.0.7 compile failure

From: Date: Wed, 27 Nov 2002 21:51:50 +0000
Subject: #20683 [Opn->Fbk]: GD 2.0.7 compile failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26005@lists.php.net to get a copy of this message
ID: 20683 Updated by: iliaa@php.net Reported By: tim@timcrider.com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Red Hat Linux 8.0 PHP Version: 4.3.0RC2 New Comment: I've just tried but was unable to replicate the problem you describe. Could you please show the compile line you are using to compile your PHP? The problem may be the result of more then gd library being used. Previous Comments: ------------------------------------------------------------------------ [2002-11-27 15:11:29] derick@php.net ok, bug system has been 'fixed' now, also, can you please not use the "add comment" function, but just the "Edit Submission" tab to update your report next time? Derick ------------------------------------------------------------------------ [2002-11-27 15:08:23] tim@timcrider.com This is for PHP 4.3.0 RC2, however that was not an option on the PHP Version list, so I submitted it under RC1. Tim ------------------------------------------------------------------------ [2002-11-27 15:06:51] derick@php.net Can you please try 4.3.0RC2, this should be fixed: http://qa.php.net Derick ------------------------------------------------------------------------ [2002-11-27 15:05:14] tim@timcrider.com THIS BUG IS FOR 4.3.0 RC2, however this was not an option as a PHP Version in both gd_ctx.c and gd.c you can find something like: #if HAVE_LIBGD204 io_ctx->gd_free(io_ctx); #else io_ctx->free(io_ctx); #endif I am using gd-2.0.7 When I try to compile, it fails with the msg: /data/BUILD/php/ext/gd/gd_ctx.c: In function `_php_image_output_ctx': /data/BUILD/php/ext/gd/gd_ctx.c:78: structure has no member named `free' /data/BUILD/php/ext/gd/gd_ctx.c:110: structure has no member named `free' /data/BUILD/php/ext/gd/gd.c: In function `_php_image_type': /data/BUILD/php/ext/gd/gd.c:1156: structure has no member named `free' /data/BUILD/php/ext/gd/gd.c:1163: structure has no member named `free' /data/BUILD/php/ext/gd/gd.c: In function `_php_image_create_from': /data/BUILD/php/ext/gd/gd.c:1345: structure has no member named `free' However when I comment those out and change it to XXX->gd_free(xxx); it compiles like a champ. If you have any questions please feel free to contact me. Timothy M. Crider tim@timcrider.com ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20683&edit=1

« previous php.bugs (#26005) next »