Re: compiler errors in gd.c: In function `php_minit_gd'
| From: | DaveR | Date: | Sat, 01 Sep 2001 20:17:25 +0000 |
| Subject: | Re: compiler errors in gd.c: In function `php_minit_gd' | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4155@lists.php.net to get a copy of this message | ||
FWIW I do have gdlib 2.0.1 installed in /usr/lib.
"Daver" <mymailbox8@icqmail.com> wrote in message
news:20010901185447.75852.qmail@pb1.pair.com...
> I got the following compile error trying to build 4.0.6 on a Cobalt RAQ 3.
> Any ideas why or how to fix it?
>
> /bin/sh
>
/home/sites/home/users/admin/working/php-4.0.6/libtool --silent --mode=compi
> le
>
gcc -I. -I/home/sites/home/users/admin/working/php-4.0.6/ext/gd -I/home/sit
>
es/home/users/admin/working/php-4.0.6/main -I/home/sites/home/users/admin/wo
>
rking/php-4.0.6 -I/usr/include/apache -I/home/sites/home/users/admin/working
>
/php-4.0.6/Zend -I/usr/include/imap -I/usr/interbase/include -I/home/sites/h
>
ome/users/admin/working/php-4.0.6/ext/mysql/libmysql -I/home/sites/home/user
>
s/admin/working/php-4.0.6/ext/xml/expat/xmltok -I/home/sites/home/users/admi
>
n/working/php-4.0.6/ext/xml/expat/xmlparse -I/home/sites/home/users/admin/wo
>
rking/php-4.0.6/TSRM -DLINUX=2 -DNO_DBM_REWRITEMAP -DMOD_SSL=202108 -DMOD_P
>
ERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBAL
> T_RAQ_LED -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c gd.c
> gd.c: In function `php_minit_gd':
> gd.c:296: `gdPie' undeclared (first use in this function)
> gd.c:296: (Each undeclared identifier is reported only once
> gd.c:296: for each function it appears in.)
> gd.c:297: `gdChord' undeclared (first use in this function)
> gd.c:298: `gdNoFill' undeclared (first use in this function)
> gd.c:299: `gdEdged' undeclared (first use in this function)
> gd.c: In function `php_if_imagecreatetruecolor':
> gd.c:577: warning: assignment makes pointer from integer without a cast
> make[3]: *** [gd.lo] Error 1
>
> Thanks
>
>