From: [EMAIL PROTECTED] Operating system: Red Hat 7.3 PHP version: 4.2.3 PHP Bug Type: Compile Failure Bug description: PHP don't compile with GD 2.0.x
Since GD 2.0.x the struct gdIOCtx in gd_io.h has changed It was: typedef struct gdIOCtx { ... void (*free)(struct gdIOCtx*); } gdIOCtx; It is now: typedef struct gdIOCtx { ... void (*gd_free)(struct gdIOCtx*); } gdIOCtx; The fix is simple: If you want to use GD 2.0.x, the files gd_ctx.c and gd.c in the ext/gd directory should be edited in order to replace all x->free references where x is of type gdIOCtx by x->gd_free. cordially, Arnaud -- Edit bug report at http://bugs.php.net/?id=20157&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20157&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20157&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20157&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20157&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20157&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20157&r=support Expected behavior: http://bugs.php.net/fix.php?id=20157&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20157&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20157&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20157&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20157&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20157&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20157&r=isapi