From: [EMAIL PROTECTED]
Operating system: Red Hat Linux 8.0
PHP version: 4.3.0RC1
PHP Bug Type: Compile Failure
Bug description: GD 2.0.7 compile failure
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
[EMAIL PROTECTED]
--
Edit bug report at http://bugs.php.net/?id=20683&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20683&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20683&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20683&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20683&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20683&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20683&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20683&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20683&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20683&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20683&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20683&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20683&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20683&r=isapi