From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13908: Unable to compile Emacs 23.3 Release Candidate 2 Date: Tue, 12 Mar 2013 18:38:32 +0200 Message-ID: <83r4jkk1yv.fsf@gnu.org> References: <07ehfpjpy7.fsf@fencepost.gnu.org> <87hakh8y33.fsf@Rainer.invalid> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1363106419 8101 80.91.229.3 (12 Mar 2013 16:40:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Mar 2013 16:40:19 +0000 (UTC) Cc: Stromeko@nexgo.de, 13908@debbugs.gnu.org To: James Jong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 12 17:40:42 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1UFSFl-0005qH-2U for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Mar 2013 17:40:41 +0100 Original-Received: from localhost ([::1]:47620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFSFO-0007aG-Mt for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Mar 2013 12:40:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFSFE-0007KM-PC for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2013 12:40:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFSFA-0004cz-G9 for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2013 12:40:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFSFA-0004bp-Cr for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2013 12:40:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UFSG7-0007vR-H5 for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2013 12:41:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Mar 2013 16:41:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13908 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 13908-submit@debbugs.gnu.org id=B13908.136310641930410 (code B ref 13908); Tue, 12 Mar 2013 16:41:03 +0000 Original-Received: (at 13908) by debbugs.gnu.org; 12 Mar 2013 16:40:19 +0000 Original-Received: from localhost ([127.0.0.1]:49100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UFSFM-0007uO-9A for submit@debbugs.gnu.org; Tue, 12 Mar 2013 12:40:16 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:52965) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UFSF2-0007t5-Du for 13908@debbugs.gnu.org; Tue, 12 Mar 2013 12:40:06 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MJK001003FJZ700@a-mtaout23.012.net.il> for 13908@debbugs.gnu.org; Tue, 12 Mar 2013 18:38:36 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MJK001WY3KCYS20@a-mtaout23.012.net.il>; Tue, 12 Mar 2013 18:38:36 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72377 Archived-At: > Date: Tue, 12 Mar 2013 11:54:45 -0400 > From: James Jong > Cc: 13908@debbugs.gnu.org > > I am still having problems when running make. Not "running make", but compiling Emacs. > Unfortunately, the system on which I am running is quite old: > > /usr/bin/gcc --version > gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50) > Copyright (C) 2006 Free Software Foundation, Inc. I don't think there's anything wrong with GCC 4.1.2, not unless we have some evidence. > /usr/bin/gcc -std=gnu99 -c -Demacs -I. -I/home/james/raid/opt/emacs/releases/src/emacs-24.3/src -I../lib -I/home/james/raid/opt/emacs/releases/src/emacs-24.3/src/../lib -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/alsa -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/gl ib-2.0/include -I/usr/include/freetype2 -MMD -MF deps/dispnew.d -MP -g3 -O2 dispnew.c > In file included from dispnew.c:28: > lisp.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef' It all starts here. The declaration of EMACS_INT causes the error. Here's line 57 of lisp.h: typedef long int EMACS_INT; I suspect that some header file or some other factor confuses the compiler here. So please invoke this command manually from the src directory: /usr/bin/gcc -std=gnu99 -E -Demacs -I. -I/home/james/raid/opt/emacs/releases/src/emacs-24.3/src -I../lib -I/home/james/raid/opt/emacs/releases/src/emacs-24.3/src/../lib -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/alsa -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib -2.0/include -I/usr/include/freetype2 -MMD -MF deps/dispnew.d -MP -g3 -O2 dispnew.c -o dispnew.ii It is the exact copy of the command line issued by Make, with 2 changes: . the -c switch was replaced with -E . the "-o dispnew.ii" was added at the end Please post the file dispnew.ii produced by the above command.