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