Bug #18249: make compile error on gd

From: Date: Tue, 09 Jul 2002 16:43:08 +0000
Subject: Bug #18249: make compile error on gd
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13625@lists.php.net to get a copy of this message
From: cbair@dragonmagic.net Operating system: Cobalt RaQ4 Linux (Custom RHL) PHP version: 4.1.2 PHP Bug Type: GD related Bug description: make compile error on gd [Note: --with-gd added after successful compile with the same php install; gd 1.8.4 installed first to /usr, and after a bogus bug report was established with same error, gd 1.8.4 was installed to /usr/local/gd; error continues as same] Configure with: ./configure --prefix=/usr --enable-dba=shared --enable-dbase --with-mysql --with-pgsql --enable-exif --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --with-ttf=/usr --with-zlib --enable-magic-quotes --with-apxs --with-gd=/usr/local/gd And make has: Making all in gd make[2]: Entering directory `/home/installers/php-4.1.2/ext/gd' make[3]: Entering directory `/home/installers/php-4.1.2/ext/gd' /bin/sh /home/installers/php-4.1.2/libtool --silent --mode=compile gcc -I. -I/home/installers/php-4.1.2/ext/gd -I/home/installers/php-4.1.2/main -I/home/installers/php-4.1.2 -I/usr/include/apache -I/home/installers/php-4.1.2/Zend -I/usr/include/freetype2/freetype -I/usr/local/gd/include -I/home/installers/php-4.1.2/ext/mysql/libmysql -I/home/installers/php-4.1.2/ext/xml/expat -DLINUX=22 -DMOD_SSL=208104 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -I/home/installers/php-4.1.2/TSRM -g -O2 -prefer-pic -c gd.c gd.c: In function `zif_imagecreatefromstring': gd.c:1061: `gdImageCreateFromGifCtx' undeclared (first use in this function) gd.c:1061: (Each undeclared identifier is reported only once gd.c:1061: for each function it appears in.) gd.c: In function `zif_imagecreatefromgif': gd.c:1203: `gdImageCreateFromGif' undeclared (first use in this function) gd.c:1203: `gdImageCreateFromGifCtx' undeclared (first use in this function) gd.c: In function `zif_imagegif': gd.c:1430: `gdImageGifCtx' undeclared (first use in this function) gd.c: In function `_php_image_convert': gd.c:3491: `gdImageCreateFromGif' used prior to declaration gd.c:3491: warning: assignment makes pointer from integer without a cast make[3]: *** [gd.lo] Error 1 make[3]: Leaving directory `/home/installers/php-4.1.2/ext/gd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/installers/php-4.1.2/ext/gd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/installers/php-4.1.2/ext' make: *** [all-recursive] Error 1 -- Edit bug report at http://bugs.php.net/?id=18249&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18249&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18249&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18249&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18249&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18249&r=support Expected behavior: http://bugs.php.net/fix.php?id=18249&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18249&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18249&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18249&r=globals

« previous php.bugs (#13625) next »