help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling emacs 24.5


From: Rich S
Subject: Compiling emacs 24.5
Date: Thu, 28 Apr 2016 13:36:49 +0000 (UTC)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]