If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > GD 2.0.11 and PHP Error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-20-03, 02:51
osiris osiris is offline
Registered User
 
Join Date: Jan 2003
Posts: 1
GD 2.0.11 and PHP Error

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
Reply With Quote
  #2 (permalink)  
Old 04-02-03, 21:34
evergreener2 evergreener2 is offline
Registered User
 
Join Date: Apr 2003
Posts: 1
GD 2.0.11 and PHP Error

Also, applying this patch from the gd folks, worked:

http://www.boutell.com/gd/phppatch.html
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On