From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Unable to build Emacs 23.3 Release Candidate 2 Date: Sat, 09 Mar 2013 09:59:36 +0200 Message-ID: <83sj45xatz.fsf@gnu.org> References: <03aad487-eb54-4a0d-bfba-01e586d819bb@googlegroups.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1362816010 6935 80.91.229.3 (9 Mar 2013 08:00:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Mar 2013 08:00:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 09 09:00:35 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UEEhm-00036C-Qz for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Mar 2013 09:00:34 +0100 Original-Received: from localhost ([::1]:50544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEEhQ-0003oz-Lb for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Mar 2013 03:00:12 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEEhA-0003og-Nu for help-gnu-emacs@gnu.org; Sat, 09 Mar 2013 03:00:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEEh5-0000uK-Ob for help-gnu-emacs@gnu.org; Sat, 09 Mar 2013 02:59:56 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:54083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEEh5-0000sW-GG for help-gnu-emacs@gnu.org; Sat, 09 Mar 2013 02:59:51 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MJD00L00V6A9X00@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Sat, 09 Mar 2013 09:59:49 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MJD00L46VJP4NE0@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Sat, 09 Mar 2013 09:59:49 +0200 (IST) In-reply-to: <03aad487-eb54-4a0d-bfba-01e586d819bb@googlegroups.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89434 Archived-At: > Date: Fri, 8 Mar 2013 12:40:19 -0800 (PST) > From: Luka > Injection-Date: Fri, 08 Mar 2013 20:40:19 +0000 > > I am having problems compiling Emacs 23.3 Release Candidate 2: You mean, Emacs 24.3 Release Candidate 2, right? This should go to bug-gnu-emacs@gnu.org or emacs-devel@gnu.org. The release manager of Emacs must be alerted to any problems in release candidates ASAP. > I run `autogen.sh`, then `./configure`, but when I run `make` I get this error: Why do you run autogen.sh when building from a release tarball? It's not needed, and you are running the risk of getting a bad configure script and Makefile's. > gcc -std=gnu99 -I. -I../src -I../lib -I/home/john/bin/emacs/rc/emacs-24.3/lib-src -I/home/john/opt/emacs/rc/emacs-24.3/lib-src/../src -I/home/ > john/bin/emacs/rc/emacs-24.3/lib-src/../lib -Wl,-znocombreloc -g3 -O2 -DEMACS_NAME="\"GNU Emacs\"" \ > -DVERSION="\"24.3\"" /home/john/bin/emacs/rc/emacs-24.3/lib-src/etags.c \ > regex.o ../lib/libgnu.a -o etags > regex.o: In function `stpncpy': > /usr/include/bits/string3.h:160: multiple definition of `stpncpy' > /tmp/ccntBfBN.o:/usr/include/bits/string3.h:160: first defined here > regex.o: In function `realpath': > [...] > collect2: error: ld returned 1 exit status > make[1]: *** [etags] Error 1 > make[1]: Leaving directory `/home/james/bin/emacs/rc/emacs-24.3/lib-src' > make: *** [lib-src] Error 2 > > I have never seen an error like this before. What does this mean and how do I fix it? Hard to tell. It looks like some strange temporary object file (/tmp/ccntBfBN.o) causes multiple definitions of inline functions defined on standard headers. Add -v to the link command line and examine the output produced by GCC when linking, it might tell you what is wrong. If you cannot fix this or convince yourself it's a pilot error, _please_ report it to one of the lists mentioned above ASAP.