Bug #12254 Updated: PHP/gd compilation problems - gd.c:95: conflicting types for `gdIOCtx'

From: Date: Fri, 27 Jul 2001 01:25:24 +0000
Subject: Bug #12254 Updated: PHP/gd compilation problems - gd.c:95: conflicting types for `gdIOCtx'
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-61145@lists.php.net to get a copy of this message
ID: 12254 Updated by: sniper Reported By: alex@phatair.net Old Status: Open Status: Feedback Old Bug Type: *Compile Issues Bug Type: GD related Operating System: Linux 2.2.19 PHP Version: 4.0.6 New Comment: First of all you should be using the install prefix dirs with every configure option. ie. --with-jpeg-dir=/usr And please try the latest CVS snapshot: http://snaps.php.net/ Previous Comments: ------------------------------------------------------------------------ [2001-07-19 10:52:45] alex@phatair.net 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 this bug report at http://bugs.php.net/?id=12254&edit=1

« previous php.dev (#61145) next »