all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Rich S <richs1561@yahoo.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Compiling emacs 24.5
Date: Thu, 28 Apr 2016 12:45:24 -0400	[thread overview]
Message-ID: <5k4malbs2j.fsf@fencepost.gnu.org> (raw)
In-Reply-To: 800413511.4243172.1461850609933.JavaMail.yahoo@mail.yahoo.com

Rich S wrote:

> I am having trouble compiling emacs 24.5 on Redhat release 6.6

FWIW, works fine for me.

> In file included from ../lib/stdlib.h:37:0,
[...]
> /usr/local/include/stdlib.h:509:14: note: previous declaration of
[...]
> gcc (GCC) 5.3.0
> GNU Make 4.1

Various red flags:

That's not the default gcc for RHEL 6.6. Try using the default one.
Why do you have stdlib.h in /usr/local?
Looks like Emacs is using its own lib/stdlib.h, which it should not need
to do.

My guess is that your system has an extra gcc/glibc installation in
/usr/local, which is causing confusion/inconsistencies. Try excluding
it (somehow).



      reply	other threads:[~2016-04-28 16:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <800413511.4243172.1461850609933.JavaMail.yahoo.ref@mail.yahoo.com>
2016-04-28 13:36 ` Compiling emacs 24.5 Rich S
2016-04-28 16:45   ` Glenn Morris [this message]

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

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

  git send-email \
    --in-reply-to=5k4malbs2j.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=richs1561@yahoo.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.