From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Trunk fails to compile on RHEL 5 machines Date: Tue, 12 Jun 2012 01:05:27 +0200 Message-ID: References: <87hauhjyk7.fsf@glaurung.internal.golden-gryphon.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1339455961 18415 80.91.229.3 (11 Jun 2012 23:06:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jun 2012 23:06:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 12 01:05:59 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SeDgK-0006Cy-26 for ged-emacs-devel@m.gmane.org; Tue, 12 Jun 2012 01:05:56 +0200 Original-Received: from localhost ([::1]:32778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeDgJ-0003aQ-Su for ged-emacs-devel@m.gmane.org; Mon, 11 Jun 2012 19:05:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeDgH-0003aL-5E for emacs-devel@gnu.org; Mon, 11 Jun 2012 19:05:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeDgE-0007hx-Fx for emacs-devel@gnu.org; Mon, 11 Jun 2012 19:05:52 -0400 Original-Received: from mx2.bahnhof.se ([213.80.101.12]:49429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeDgD-0007bF-Ke for emacs-devel@gnu.org; Mon, 11 Jun 2012 19:05:50 -0400 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx2-reinject (Postfix) with ESMTP id 8D8ADD560F for ; Tue, 12 Jun 2012 01:05:42 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF3) Original-Received: from mf3.bahnhof.se ([127.0.0.1]) by localhost (mf3.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0YD6VjnSBtEC for ; Tue, 12 Jun 2012 01:05:38 +0200 (CEST) Original-Received: from exodia.verona.se (h-235-102.a149.priv.bahnhof.se [85.24.235.102]) by mf3.bahnhof.se (Postfix) with ESMTP id 61AA2605042 for ; Tue, 12 Jun 2012 01:05:37 +0200 (CEST) Original-Received: from chopper.vpn.verona.se (DIR-655.verona.se [192.168.200.86]) by exodia.verona.se (Postfix) with ESMTP id 0DAF84E011C for ; Tue, 12 Jun 2012 01:05:28 +0200 (CEST) In-Reply-To: <87hauhjyk7.fsf@glaurung.internal.golden-gryphon.com> (Manoj Srivastava's message of "Mon, 11 Jun 2012 15:03:52 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) X-Received-From: 213.80.101.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150894 Archived-At: Manoj Srivastava writes: > Hi, > > Ever since commit: > > Author: Chong Yidong 2012-06-11 07:42:55 > Committer: Chong Yidong 2012-06-11 07:42:55 > Parent: 4c8c631d6c08e10d72e845417ee3383a83629ce7 (New Tramp features.) > Child: d0fa5b46571dcfc69a4cd89226f23db903ade97e (Don't purify in Fmake_b= yte_code.) > Branches: debian, master, remotes/origin/master > Follows: emacs-24.1 > Precedes:=20 > > Support transparency for ImageMagick images. >=20=20=20=20=20 > * src/image.c (imagemagick_load_image): Implement transparency. >=20=20=20=20=20 > * doc/lispref/display.texi (ImageMagick Images): ImageMagick now supp= orts the > :background property. > > I am getting the following failure on a RHEL5 GNU?Linux machine: > gcc -std=3Dgnu99 -c -Demacs -DHAVE_CONFIG_H -I. -I/usr/local/src/emacs/= src -I../lib -I/usr/local/src/emacs/src/../lib -I/usr/include/freetype2 = -I/usr/include/alsa -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I= /usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libxml2 = -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DORBIT2=3D1 -pthre= ad -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 = -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/fr= eetype2 -MMD -MF deps/image.d -MP -I/usr/local/include -g -O2 image= .c > image.c: In function =E2=80=98imagemagick_load_image=E2=80=99: > image.c:7786: warning: implicit declaration of function =E2=80=98MagickMe= rgeImageLayers=E2=80=99 > image.c:7786: error: =E2=80=98MergeLayer=E2=80=99 undeclared (first use i= n this function) I would suspect that the above functions are not declared in the version of ImageMagick shipping with RHEL5. I don't have a RHEL5 handy for testing at the moment. > image.c:7786: error: (Each undeclared identifier is reported only once > image.c:7786: error: for each function it appears in.) > image.c:7786: warning: assignment makes pointer from integer without a ca= st > image.c:7838: warning: passing argument 2 of =E2=80=98PixelGetNextIterato= rRow=E2=80=99 from incompatible pointer type > image.c: In function =E2=80=98Fimagemagick_types=E2=80=99: > image.c:7999: warning: passing argument 2 of =E2=80=98GetMagickList=E2=80= =99 from incompatible pointer type > make[1]: *** [image.o] Error 1 > make[1]: Leaving directory `/usr/local/src/emacs/src' > make: *** [src] Error 2 > > Previous to that commit Emacs compiled fine. > > manoj --=20 Joakim Verona