RE: gd still broken

From: Date: Thu, 12 Dec 2002 21:35:32 +0000
Subject: RE: gd still broken
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-7233@lists.php.net to get a copy of this message
In file included from /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:89: /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c: In function `_php_image_output_ctx': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c:73: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c:105: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_type': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1156: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1163: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_create_from': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1345: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1363: warning: assignment makes pointer from integer without a cast /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `zif_imagecreatefromxpm': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: `gdImageCreateFromXpm' undeclared (first use in this function) /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared identifier is reported only once /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: for each function it appears in.) i can honestly say checking for a particular version will not help instead check for versions less than the version that requires gd_free which is gd-2.0.8 #if HAVE_LIBGD204 io_ctx->gd_free(io_ctx); #else io_ctx->free(io_ctx); #endif i cant see where this define is coming from HAVE_LIBGD204 ??

« previous php.qa (#7233) next »