#19551 [Opn->Bgs]: Dupplicate definition of gdIOCtx (again)
| From: | sniper@php.net | Date: | Sun, 22 Sep 2002 15:39:16 +0000 |
| Subject: | #19551 [Opn->Bgs]: Dupplicate definition of gdIOCtx (again) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20044@lists.php.net to get a copy of this message | ||
ID: 19551
Updated by: sniper@php.net
Reported By: l_faillie@yahoo.com
-Status: Open
+Status: Bogus
Bug Type: GD related
Operating System: NetBSD 1.6 / Sparc
PHP Version: 4.2.3
New Comment:
This is fixed in CVS (HEAD, 4.3.0-dev) but the real problem
for you is that you have conflicting versions of GD library and it's
header files in your system in the include path.
Remove all occurances of the headers files and libraries and reinstall
the version you want to use.
Previous Comments:
------------------------------------------------------------------------
[2002-09-22 08:45:13] l_faillie@yahoo.com
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 this bug report at http://bugs.php.net/?id=19551&edit=1