From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 7EB943EE4E for ; Tue, 7 May 2002 02:48:33 -0400 (EDT) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g476mV906822 for ; Tue, 7 May 2002 02:48:31 -0400 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g476mVh06873 for axp-list@listman.redhat.com; Tue, 7 May 2002 02:48:31 -0400 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g476mVf06869 for ; Tue, 7 May 2002 02:48:31 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g476mV906818 for ; Tue, 7 May 2002 02:48:31 -0400 Received: from atomfx.com (adsl-gte-la-216-86-209-124.mminternet.com [216.86.209.124]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g476h8M17239 for ; Tue, 7 May 2002 02:43:08 -0400 Received: from atomfx.com (localhost.localdomain.com [127.0.0.1]) by atomfx.com (8.12.1/8.12.1) with ESMTP id g476khRB018929 for ; Mon, 6 May 2002 23:46:43 -0700 Received: from localhost (jw@localhost) by atomfx.com (8.12.1/8.12.1/Submit) with ESMTP id g476khcj018926 for ; Mon, 6 May 2002 23:46:43 -0700 Date: Mon, 6 May 2002 23:46:43 -0700 (PDT) From: john weez To: axp-list@redhat.com Subject: gd compilation errors? any solutions? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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