From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.lisp.guile.devel Subject: Re: Link failure on systems lacking mkstemp Date: Mon, 15 Sep 2014 20:14:04 +0300 Message-ID: <834mw86c2r.fsf@gnu.org> References: <83ha1cek3l.fsf@gnu.org> <83mwanitqu.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1410801275 18137 80.91.229.3 (15 Sep 2014 17:14:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2014 17:14:35 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Sep 15 19:14:28 2014 Return-path: Envelope-to: guile-devel@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 1XTZr9-0005QM-Pe for guile-devel@m.gmane.org; Mon, 15 Sep 2014 19:14:27 +0200 Original-Received: from localhost ([::1]:33104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTZr9-0003xM-CJ for guile-devel@m.gmane.org; Mon, 15 Sep 2014 13:14:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTZqz-0003vt-Gh for guile-devel@gnu.org; Mon, 15 Sep 2014 13:14:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTZqt-0000Fr-As for guile-devel@gnu.org; Mon, 15 Sep 2014 13:14:17 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:46975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTZqt-0000D9-32 for guile-devel@gnu.org; Mon, 15 Sep 2014 13:14:11 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NBY00300D55X400@mtaout28.012.net.il> for guile-devel@gnu.org; Mon, 15 Sep 2014 20:13:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NBY00371D5OSH00@mtaout28.012.net.il> for guile-devel@gnu.org; Mon, 15 Sep 2014 20:13:00 +0300 (IDT) In-reply-to: <83mwanitqu.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17446 Archived-At: Ping! (1 month) > Date: Fri, 29 Aug 2014 11:29:29 +0300 > From: Eli Zaretskii > > Ping! > > > Date: Sat, 16 Aug 2014 14:42:54 +0300 > > From: Eli Zaretskii > > > > Guile 2.0.11 has mkstemp.c in lib/, from Gnulib, and it also has its > > own private version in libguile/. This causes link failures on > > systems, such as MinGW, that lack mkstemp in their system libraries: > > > > CCLD libguile-2.0.la > > ../lib/.libs/libgnu.a(mkstemp.o): In function `mkstemp': > > d:\gnu\guile-2.0.11\lib/mkstemp.c:48: multiple definition of `mkstemp' > > .libs/libguile_2.0_la-mkstemp.o:d:\gnu\guile-2.0.11\libguile/mkstemp.c:68: first defined here > > collect2.exe: error: ld returned 1 exit status > > Makefile:2242: recipe for target `libguile-2.0.la' failed > > make[3]: *** [libguile-2.0.la] Error 1 > > make[3]: Leaving directory `/d/gnu/guile-2.0.11/libguile' > > Makefile:2162: recipe for target `all' failed > > > > I think the solution is simply remove mkstemp.c from libguile/, and > > all its traces from the configury that causes its dependency to be > > added to libguile/Makefile. Not sure how to do the latter, though. > >