#19551 [NEW]: Dupplicate definition of gdIOCtx (again)

From: Date: Sun, 22 Sep 2002 13:45:14 +0000
Subject: #19551 [NEW]: Dupplicate definition of gdIOCtx (again)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20041@lists.php.net to get a copy of this message
From: l_faillie@yahoo.com Operating system: NetBSD 1.6 / Sparc PHP version: 4.2.3 PHP Bug Type: GD related Bug description: Dupplicate definition of gdIOCtx (again) I found many bug reports about this issus since a long time, sometime from long time ago, but this problem rise again w/ the latest version of the librairie. gdIOCtx is defined in ext/gd/gd.c but a structure using the same name already exist in GD own include. It seems it's only related to GD 2+ My fix is obvious : in ext/gd/gd.c, replace all gdIOCtx occurence by an other name (I choose fgdIOCtx as it's a FILE) and everything goes ok. On previous reports, I saw many time "it's because you have 2 versions of GD installed" : it's not my case as I have just installed my OS from scrach last week and I have installed php/apache/gd/... from tarball. Bye Laurent -- Edit bug report at http://bugs.php.net/?id=19551&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19551&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19551&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19551&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19551&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19551&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19551&r=support Expected behavior: http://bugs.php.net/fix.php?id=19551&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19551&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19551&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19551&r=globals

« previous php.bugs (#20041) next »