Bug #12254: PHP/gd compilation problems - gd.c:95: conflicting types for `gdIOCtx'
| From: | alex at phatair dot net | Date: | Thu, 19 Jul 2001 14:52:45 +0000 |
| Subject: | Bug #12254: PHP/gd compilation problems - gd.c:95: conflicting types for `gdIOCtx' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-60304@lists.php.net to get a copy of this message | ||
From: alex@phatair.net
Operating system: Linux 2.2.19
PHP version: 4.0.6
PHP Bug Type: *Compile Issues
Bug description: PHP/gd compilation problems - gd.c:95: conflicting types for `gdIOCtx'
Using gd 1.8.4 , php 4.0.6
./configure --with-mysql --with-fastcgi --with-gd=/usr/local/
--with-jpeg-dir=/usr/lib/ --enable-ftp --enable-trans-sid
Produces error :
gd.c:95: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `php_if_imagecreatefromgif':
gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:1209: (Each undeclared identifier is reported only once
gd.c:1209: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:1404: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.6/ext'
make: *** [all-recursive] Error 1
--
Edit bug report at: http://bugs.php.net/?id=12254&edit=1