Bug #15697 Updated: gd support fails to compile
| From: | mkunze at ambora dot de | Date: | Sun, 24 Feb 2002 17:35:36 +0000 |
| Subject: | Bug #15697 Updated: gd support fails to compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-962@lists.php.net to get a copy of this message | ||
ID: 15697
Updated by: mkunze@ambora.de
Reported By: mkunze@ambora.de
Status: Open
Bug Type: GD related
Operating System: linux 2.4.17
PHP Version: 4.0CVS-2002-02-24
New Comment:
This issue is very likely due to 'configure' not being able to detect
gd 2.0.1 correctly.
In php_config.h my gd now is detected as gd 1, while previous versions
of configure detected it correctly as gd 2. Because now HAVE_GD15 is
not defined, the wrong redefinition of GdioCTX is performed.
Previous Comments:
------------------------------------------------------------------------
[2002-02-24 11:59:39] mkunze@ambora.de
gd support (static) fails to compile.
gd version installed is 2.0.1b, installed in /usr/lib and /usr/include.
Did compile on CVS checked out three weeks ago. This seems to be the
same error as in bug #15303. I tested CVS snap and CVS checkout, both
do fail.
Error messages:
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve'
follows non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15697&edit=1