Bug #18080: gd.c:92: conflicting types for `gdIOCtx'
| From: | netman at amigo dot net | Date: | Mon, 01 Jul 2002 00:37:34 +0000 |
| Subject: | Bug #18080: gd.c:92: conflicting types for `gdIOCtx' | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-12612@lists.php.net to get a copy of this message | ||
From: netman@amigo.net
Operating system: redhat linux 7.1
PHP version: 4.2.1
PHP Bug Type: Compile Failure
Bug description: gd.c:92: conflicting types for `gdIOCtx'
I am attempting to compile PhP-4.2.1 with gd-2.0.1 and get a
compiler error:
Making all in gd
make[2]: Entering directory `/usr/local/php-4.2.1/ext/gd'
make[3]: Entering directory `/usr/local/php-4.2.1/ext/gd'
gcc -I. -I/usr/local/php-4.2.1/ext/gd
-I/usr/local/php-4.2.1/main -I/usr/local/php-4.2.1
-I/usr/local/src/apache_1.3.19/src/include
-I/usr/local/src/apache_1.3.19/src/os/unix
-I/usr/local/php-4.2.1/Zend
-I/usr/include/freetype2/freetype -I/usr/local/mysql/include
-I/usr/local//include -I/usr/local/pgsql/include
-I/usr/local/php-4.2.1/ext/xml/expat
-I/usr/local/php-4.2.1/TSRM -g -O2 -c gd.c && touch gd.lo
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
make[3]: Leaving directory `/usr/local/php-4.2.1/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/php-4.2.1/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.2.1/ext'
make: *** [all-recursive] Error 1
config lines =./configure \
--prefix=/usr/local \
--enable-calendar \
--with-gd \
--with-zlib \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-tiff \
--with-pdflib=/usr/local/ \
--with-apache=/usr/local/src/apache_1.3.19 \
--with-pgsql \
--with-mysql=/usr/local/mysql \
--with-config-file-path=/etc \
--disable-debug \
--enable-pic \
--enable-shared \
--enable-inline-optimization \
--with-exec-dir=/usr/bin \
--with-regex=system \
--enable-debugger \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-yp \
--enable-ftp \
--enable-wddx \
--without-oracle \
--without-oci8 \
--with-xml \
--with-xpm-dir=/usr/X11R6/lib \
--with-freetype-dir=/usr/lib \
--with-gdbm \
--enable-memory-limit=yes
--
Edit bug report at http://bugs.php.net/?id=18080&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18080&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18080&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18080&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18080&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18080&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18080&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18080&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18080&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18080&r=globals