Bug #14528 Updated: Conflicting types for 'gdioctx'
ID: 14528
User updated by: grichards@endertechnology.com
Reported By: grichards@endertechnology.com
Old Status: Closed
Status: Open
Bug Type: Compile Failure
Operating System: Red Hat 7.2
PHP Version: 4.0.6
New Comment:
I just got around to upgrading to 4.1.0, no difference, still can't
compile --with-gd
Previous Comments:
------------------------------------------------------------------------
[2002-01-05 16:51:37] lobbin@php.net
No feedback. Closing.
------------------------------------------------------------------------
[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
Thread (6 messages)