Bug #14528 Updated: Conflicting types for 'gdioctx'
| From: | grichards at endertechnology dot com | Date: | Sat, 15 Dec 2001 00:27:07 +0000 |
| Subject: | Bug #14528 Updated: Conflicting types for 'gdioctx' | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73871@lists.php.net to get a copy of this message | ||
ID: 14528
User updated by: grichards@endertechnology.com
Reported By: grichards@endertechnology.com
Old Status: Feedback
Status: Open
Bug Type: Compile Failure
Operating System: Red Hat 7.2
PHP Version: 4.0.6
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[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