ID:               19551
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

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

Reply via email to