Bug #14528 Updated: Conflicting types for 'gdioctx'

From: Date: Sat, 05 Jan 2002 21:51:37 +0000
Subject: Bug #14528 Updated: Conflicting types for 'gdioctx'
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-75988@lists.php.net to get a copy of this message
ID: 14528 Updated by: lobbin Reported By: grichards@endertechnology.com Old Status: Feedback Status: Closed Bug Type: Compile Failure Operating System: Red Hat 7.2 PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments: ------------------------------------------------------------------------ [2001-12-14 21:32:37] sniper@php.net 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] grichards@endertechnology.com 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] rasmus@php.net 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. ------------------------------------------------------------------------ [2001-12-14 18:52:33] grichards@endertechnology.com I'm getting the same bug a lot of other people have posted. I haven't seen a solution in all the reports that work. I've installed gd 2.0.1. My configure: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-openssl --enable-ftp --with-gd=shared,/usr -with-mysql=/usr --with-pdflib --with-jpeg-dir=/usr/local --with-tiff-dir=/usr/local results of make: 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' What does this mean? What can I do? Gabe ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14528&edit=1

« previous php.dev (#75988) next »