unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: James Jong <ribonucleico@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Achim Gratz <Stromeko@nexgo.de>, 13908@debbugs.gnu.org
Subject: bug#13908: Unable to compile Emacs 23.3 Release Candidate 2
Date: Tue, 12 Mar 2013 17:51:09 -0400	[thread overview]
Message-ID: <CAD4ivxVUS1NJVrFAOikOdBshU7rD1M6g7JXcrmBrTf1oe45s=A@mail.gmail.com> (raw)
In-Reply-To: <83r4jkk1yv.fsf@gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 3450 bytes --]

Eli: Thanks  that command compiled without any errors. Attached you can see
the corresponding dispnew.ii

Paul: Thanks. This time I made sure I was working on a fresh tar ball.
Attached you can see my config.h and my new config.log. I also diffed
conf_post.h from the tar ball from the one I have after failing to compile.
They are identical.

James





On Tue, Mar 12, 2013 at 12:38 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Tue, 12 Mar 2013 11:54:45 -0400
> > From: James Jong <ribonucleico@gmail.com>
> > 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/glib-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.
>

[-- Attachment #1.2: Type: text/html, Size: 4195 bytes --]

[-- Attachment #2: dispnew.ii.tar.gz --]
[-- Type: application/x-gzip, Size: 127288 bytes --]

[-- Attachment #3: config.h.tar.gz --]
[-- Type: application/x-gzip, Size: 13658 bytes --]

[-- Attachment #4: config.log.tar.gz --]
[-- Type: application/x-gzip, Size: 41285 bytes --]

  reply	other threads:[~2013-03-12 21:51 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-08 23:29 bug#13908: Unable to compile Emacs 23.3 Release Candidate 2 James Jong
2013-03-09  1:52 ` Glenn Morris
2013-03-09  1:56   ` Glenn Morris
2013-03-11 17:01     ` James Jong
2013-03-11 18:14       ` Glenn Morris
2013-03-11 18:21         ` Eli Zaretskii
2013-03-11 18:50       ` Wolfgang Jenkner
2013-03-11 20:45       ` Achim Gratz
2013-03-12 15:54         ` James Jong
2013-03-12 16:38           ` Eli Zaretskii
2013-03-12 21:51             ` James Jong [this message]
2013-03-12 20:42 ` Paul Eggert
2013-03-13  4:51   ` Paul Eggert
2013-03-13 20:15 ` bug#13908: Unable to compile Emacs 24.3 stable James Jong
2013-03-13 20:35   ` Eli Zaretskii
2013-03-13 20:49     ` James Jong
     [not found]     ` <CAD4ivxVT53RUgh5Oicbto5MqxTeaYPevTTr0tc5hzS_O13+piA@mail.gmail.com>
2013-03-13 21:02       ` Eli Zaretskii
2013-03-13 22:13         ` James Jong
2013-03-13 22:30   ` Paul Eggert
2013-03-14 15:45     ` James Jong
2013-03-14 19:42       ` Paul Eggert
2013-03-14 20:21         ` James Jong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAD4ivxVUS1NJVrFAOikOdBshU7rD1M6g7JXcrmBrTf1oe45s=A@mail.gmail.com' \
    --to=ribonucleico@gmail.com \
    --cc=13908@debbugs.gnu.org \
    --cc=Stromeko@nexgo.de \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).