PDA

View Full Version : GD 2.0.11 and PHP Error


osiris
01-20-03, 03:51
When I was trying to compile the GD library in Redhat 7.3, I received the following error message:

gd_ctx.c:70: structure has no member named `free'
gd_ctx.c:98: structure has no member named `free'

gd.c:1014: structure has no member named `free'
gd.c:1017: structure has no member named `free'
gd.c:1208: structure has no member named `free'

To solve the problem you have to replace the string "ctx->free" with "ctx->gd_free" in both files: gd_ctx.c and gd.c

Hope this help!!

Regards,

Osiris

evergreener2
04-02-03, 22:34
Also, applying this patch from the gd folks, worked:

http://www.boutell.com/gd/phppatch.html