[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Emacs 24.1 won't compile
From: |
Marcin Borkowski |
Subject: |
Emacs 24.1 won't compile |
Date: |
Fri, 02 Oct 2015 10:39:20 +0200 |
Hi all,
I tried to compile Emacs 24.1. I cloned the Git repository, checked out
the emacs-24.1 branch, did ./autogen.sh and ./configure (both
succeeded), but make threw an error. Here's the output (not from the
first time I ran it):
--8<---------------cut here---------------start------------->8---
[ -r "/home/[redacted]/emacs/src/config.in" ] || ( cd /home/[redacted]/emacs &&
autoheader )
cd lib; /usr/bin/make all \
CC='gcc -std=gnu99' CFLAGS='-g -O2' CPPFLAGS='' \
LDFLAGS='-Wl,-znocombreloc ' MAKE='/usr/bin/make'
make[1]: Entering directory '/home/[redacted]/emacs/lib'
/usr/bin/make all-am
make[2]: Entering directory '/home/[redacted]/emacs/lib'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../src -I/home/[redacted]/emacs/src -g
-O2 -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c
In file included from ../src/config.h:1427:0,
from md5.c:23:
./stdio.h:1030:1: error: ‘gets’ undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
Makefile:1007: recipe for target 'md5.o' failed
make[2]: *** [md5.o] Error 1
make[2]: Leaving directory '/home/[redacted]/emacs/lib'
Makefile:927: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/[redacted]/emacs/lib'
Makefile:368: recipe for target 'lib' failed
make: *** [lib] Error 2
--8<---------------cut here---------------end--------------->8---
What do I do?
TIA,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
- Emacs 24.1 won't compile,
Marcin Borkowski <=