Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: john weez <jw@atomfx.com>
To: axp-list@redhat.com
Subject: gd compilation errors? any solutions?
Date: Mon, 6 May 2002 23:46:43 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.21.0205062343460.18922-100000@atomfx.com> (raw)

Hi,

I'm trying to include the GD library in my PHP when I compile it.

The error at compile time is listed below. I installed GD from and RPM
that goes with RedHat 6.2 since I'm using RH 6.2. New versions of GD also
fail at compile time. Anyone else have problems compiling GD combined with
PhP?

php-4.1.2/Zend -I/root/php-4.1.2/ext/mysql/libmysql
-I/root/php-4.1.2/ext/xml/expat  -I/root/php-4.1.2/TSRM -g -O2  -c gd.c &&
touch gd.lo
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows
non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/root/php-4.1.2/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.1.2/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.1.2/ext'
make: *** [all-recursive] Error 1

--John




                 reply	other threads:[~2002-05-07  6:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox