unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs 24.1 won't compile
@ 2015-10-02  8:39 Marcin Borkowski
  2015-10-02 20:32 ` Paul Eggert
  0 siblings, 1 reply; 3+ messages in thread
From: Marcin Borkowski @ 2015-10-02  8:39 UTC (permalink / raw)
  To: Emacs developers

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-02 21:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-02  8:39 Emacs 24.1 won't compile Marcin Borkowski
2015-10-02 20:32 ` Paul Eggert
2015-10-02 21:54   ` Marcin Borkowski

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).