Re: PHP 4.0.4 - gdImageCreateFromJpegCtx

From: Date: Fri, 22 Dec 2000 14:49:42 +0000
Subject: Re: PHP 4.0.4 - gdImageCreateFromJpegCtx
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31561@lists.php.net to get a copy of this message
> /bin/sh /root/php-4.0.4/libtool --silent > --mode=compile gcc -I. -I/root/php-4.0.4/ext/gd > -I/root/php-4.0.4/main -I/root/php-4.0.4 > -I/usr/include/apache -I/root/php-4.0.4/Zend > -I/usr/include/freetype -I/usr/include/imap > -I/usr/local/include > -I/root/php-4.0.4/ext/mysql/libmysql > -I/root/php-4.0.4/ext/xml/expat/xmltok > -I/root/php-4.0.4/ext/xml/expat/xmlparse > -I/root/php-4.0.4/TSRM -DLINUX=2 -DEAPI -DUSE_EXPAT > -DXML_BYTE_ORDER=12 -g -O2 -c gd.c > gd.c: In function `php_if_imagecreatefromgif': > gd.c:703: `gdImageCreateFromGif' undeclared (first use > in this function) > gd.c:703: (Each undeclared identifier is reported only > once > gd.c:703: for each function it appears in.) > gd.c: In function `php_if_imagegif': This happens when your gd.h on your system does not match the gd library you have on your system. So, to fix this, make sure you only have one gd.h file. Make sure you gd-dev package matches your gd package. Then do: rm config.cache; make clean; ./configure ... -Rasmus

« previous php.general (#31561) next »