Re[2]: [PHP] Error GD
| From: | Tom Rogers | Date: | Fri, 06 Dec 2002 16:35:46 +0000 |
| Subject: | Re[2]: [PHP] Error GD | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127279@lists.php.net to get a copy of this message | ||
Hi,
Saturday, December 7, 2002, 2:31:09 AM, you wrote:
TR> Hi,
TR> Saturday, December 7, 2002, 1:41:22 AM, you wrote:
ithc>> Hi Paul,
ithc>> compiled PHP like that
ithc>> ./configure --with-config-file-path=/etc --enable-force-cgi-redirect --with-mysql
ithc>> -with-gd=/usr/local/gd2 --no-create --no-recursion
ithc>> Error Message:
ithc>> In file included from gd.c:83:
ithc>> gd_ctx.c: In function `_php_image_output_ctx':
ithc>> gd_ctx.c:70: structure has no member named `free'
ithc>> gd_ctx.c:98: structure has no member named `free'
ithc>> gd.c: In function `_php_image_create_from':
ithc>> gd.c:1176: structure has no member named `free'
ithc>> make[3]: *** [gd.lo] Fehler 1
TR> I think the function name got changed to gdFree(), I'll try to find more info if
TR> I can
TR> --
TR> regards,
TR> Tom
I was close :) change the lines in the offending files to this:
ctx->gd_free(ctx);
That should fix it
--
regards,
Tom