ID: 14528 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: Red Hat 7.2 PHP Version: 4.0.6 New Comment:
Gentlemen, RedHat 7.2 PHP 4.1.2 gd.c:95: conflicting types for `gdIOCtx' /usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx' make[3]: *** [gd.slo] Error 1 make[3]: Leaving directory `/usr/src/php-4.0.6/ext/gd' #locate gd.h /usr/include/gd.h /usr/local/src/php-4.1.2/ext/gd/php_gd.h Error still exists in latest release. Not fixed. Please advise? Previous Comments: ------------------------------------------------------------------------ [2002-01-06 19:23:28] [EMAIL PROTECTED] I just got around to upgrading to 4.1.0, no difference, still can't compile --with-gd ------------------------------------------------------------------------ [2002-01-05 16:51:37] [EMAIL PROTECTED] No feedback. Closing. ------------------------------------------------------------------------ [2001-12-14 21:32:37] [EMAIL PROTECTED] Update to PHP 4.1.0..this should be fixed in it. If not, please try the latest CVS snapshot: http://snaps.php.net/ (I'm pretty sure that this is fixed..just can't remember when :) ------------------------------------------------------------------------ [2001-12-14 19:27:07] [EMAIL PROTECTED] Hi. Thanks for the reply! There is only /usr/include/gd.h on my system: [root@server1 php-4.0.6]# locate gd.h /usr/include/gd.h /usr/local/src/gd-2.0.1/gd.h /usr/src/php-4.0.6/ext/gd/php_gd.h Any other ideas? ------------------------------------------------------------------------ [2001-12-14 19:20:57] [EMAIL PROTECTED] This is often due to the fact that you have multiple versions of the gd header files on your system. Do a 'locate gd.h' and make sure you only have 1. If you have more than 1, get rid of the old bogus ones. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14528 -- Edit this bug report at http://bugs.php.net/?id=14528&edit=1