Re: PHP 4.0.1 -> GD compile error
| From: | Rasmus Lerdorf | Date: | Thu, 29 Jun 2000 18:23:35 +0000 |
| Subject: | Re: PHP 4.0.1 -> GD compile error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3848@lists.php.net to get a copy of this message | ||
Did you 'rm config.cache' in between trying different versions of GD? And
do your gd header files match your gd library?
On Thu, 29 Jun 2000, Roar Pettersen wrote:
> Hi !
>
> During php-4.0.1 compling I get this error message :
>
> gcc -DHAVE_CONFIG_H -I. -I/usr/src/php-4.0.1/ext/gd -I/usr/src/php-4.0.1
> -I/usr/src/php-4.0.1/main -I/usr/src/apache_1.3.12/src/include
> -I/usr/src/apache_1.3.12/src/os/unix -I/usr/src/php-4.0.1/Zend
> -I/usr/src/php-4.0.1 -I/usr/local/include -I/usr/local/mysql/include/mysql
> -I/usr/src/php-4.0.1/ext/xml/expat/xmltok
> -I/usr/src/php-4.0.1/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2
> -c gd.c && touch gd.lo
> gd.c: In function `php_if_imagecreatefromgif':
> gd.c:472: `gdImageCreateFromGif' undeclared (first use this function)
> gd.c:472: (Each undeclared identifier is reported only once
> gd.c:472: for each function it appears in.)
> gd.c: In function `php_if_imagegif':
> gd.c:629: `gdImageGif' undeclared (first use this function)
> make[3]: *** [gd.lo] Error 1
> make[3]: Leaving directory `/usr/src/php-4.0.1/ext/gd'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/php-4.0.1/ext/gd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/php-4.0.1/ext'
> make: *** [all-recursive] Error 1
>
> I have tried : gd-1.4, gd-1.7.3 and gd-1.8.3
>
> I'm using a Slackware Linux 2.0.38.
>
>
> Vennligst hilsen / Regards
>
> \\|//
> (O-O)
> -----------------------------------------------------oOO--(_)--OOo------
> Roar Pettersen Phone: (47) 55304600
> Technical Support Fax: (47) 55304601
> Heath Comm A/S, Norway E-mail: roar@heathcomm.no
> ------------------------------------------------------------------------
>
>
>