Bug #12843 Updated: Problem with compile

From: Date: Sun, 19 Aug 2001 19:54:26 +0000
Subject: Bug #12843 Updated: Problem with compile
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-63761@lists.php.net to get a copy of this message
ID: 12843 Updated by: sniper Reported By: arnaud.sandenon@wanadoo.fr Old Status: Open Status: Bogus Bug Type: Compile Failure Operating System: linux 2.2.15 PHP Version: 4.0.6 New Comment: Install the GD library you want to use someplace else than /usr , e.g. into /opt/gd-x.x.x/ and use that path for --with-gd: --with-gd=/opt/gd-x.x.x/ Not a bug. Your system just has garbled GD libs. --Jani Previous Comments: ------------------------------------------------------------------------ [2001-08-19 11:29:40] arnaud.sandenon@wanadoo.fr ./configure --with-mysql --with-gd --with-apache=/usr/local/src/apache_1.3.20 --enable-track-vars After configuring PHP and executing 'make' this message appears : gd.c:95: conflicting types for `gdIOCtx' gd_io.h:18: previous declaration of `gdIOCtx' make[3]: *** [gd.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 gd.c contains : typedef FILE gdIOCtx; gd_io.h contains : typedef struct gdIOCtx { int (*getC)(struct gdIOCtx*); int (*getBuf)(struct gdIOCtx*, void*, int); void (*putC)(struct gdIOCtx*, int); int (*putBuf)(struct gdIOCtx*, const void*, int); int (*seek)(struct gdIOCtx*, const int); long (*tell)(struct gdIOCtx*); void (*free)(struct gdIOCtx*); } gdIOCtx; typedef struct gdIOCtx *gdIOCtxPtr; What's the problem ? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12843&edit=1

« previous php.dev (#63761) next »