all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rich S <richs1561@yahoo.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Compiling emacs 24.5
Date: Thu, 28 Apr 2016 13:36:49 +0000 (UTC)	[thread overview]
Message-ID: <800413511.4243172.1461850609933.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: 800413511.4243172.1461850609933.JavaMail.yahoo.ref@mail.yahoo.com

I am having trouble compiling emacs 24.5 on Redhat release 6.6
Configure appears to work fine:
./configure LIBS=-lncurses LIBS=-ltinfo --with-gif=no

When I run make, I get a compile error:

alloc.c:971:1: error: static declaration of ‘aligned_alloc’ follows non-static declaration
 aligned_alloc (size_t alignment, size_t size)
 ^
In file included from ../lib/stdlib.h:37:0,
                 from ./conf_post.h:196,
                 from ./config.h:1840,
                 from alloc.c:21:
/usr/local/include/stdlib.h:509:14: note: previous declaration of ‘aligned_alloc’ was here
 extern void *aligned_alloc (size_t __alignment, size_t __size)
              ^
Makefile:337: recipe for target 'alloc.o' failed
make[1]: *** [alloc.o] Error 1
make[1]: Leaving directory '/home/rick/software/emacs-24.5/src'
Makefile:387: recipe for target 'src' failed
make: *** [src] Error 2

gcc (GCC) 5.3.0
GNU Make 4.1


Any ideas what I can do?  I'm trying to upgrade from a very old version (23.1.1) and this machine has no internet access.
Thanks in advance.



       reply	other threads:[~2016-04-28 13:36 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 ` Rich S [this message]
2016-04-28 16:45   ` Compiling emacs 24.5 Glenn Morris

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=800413511.4243172.1461850609933.JavaMail.yahoo@mail.yahoo.com \
    --to=richs1561@yahoo.com \
    --cc=help-gnu-emacs@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 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.