From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: Re: Guile 1.9.14 & GIT version linking errror Date: Mon, 17 Jan 2011 23:31:31 +0100 Message-ID: <87k4i3go1o.fsf@gnu.org> References: <13B7D376-7BFD-4236-B6EF-5BF70FE248B7@telia.com> <87lj2lgavf.fsf@ossau.uklinux.net> <7C5FCE6D-9AA7-4EEB-A8A3-BD1550FE4806@telia.com> <87k4i51790.fsf@ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1295303524 10264 80.91.229.12 (17 Jan 2011 22:32:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 17 Jan 2011 22:32:04 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Jan 17 23:31:59 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PexcE-0001ef-Pl for guile-bugs@m.gmane.org; Mon, 17 Jan 2011 23:31:58 +0100 Original-Received: from localhost ([127.0.0.1]:36996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PexcE-0002t0-9h for guile-bugs@m.gmane.org; Mon, 17 Jan 2011 17:31:58 -0500 Original-Received: from [140.186.70.92] (port=33044 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pexc5-0002s5-IZ for bug-guile@gnu.org; Mon, 17 Jan 2011 17:31:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pexc4-00049D-2C for bug-guile@gnu.org; Mon, 17 Jan 2011 17:31:49 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:56035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pexc3-00048w-Sw for bug-guile@gnu.org; Mon, 17 Jan 2011 17:31:48 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pexbz-0001Ze-HA for bug-guile@gnu.org; Mon, 17 Jan 2011 23:31:43 +0100 Original-Received: from yoda.fdn.fr ([80.67.169.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Jan 2011 23:31:43 +0100 Original-Received: from ludo by yoda.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Jan 2011 23:31:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: yoda.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 =?iso-8859-1?Q?Niv=F4se?= an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:O3CjUhs489L/2tL8z+AGGRQt5Ec= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4969 Archived-At: Hi! Hans Aberg writes: > On 16 Jan 2011, at 11:18, Neil Jerram wrote: > >>>> ... when I try to install guile-1.9.14, I get the error below (Mac >>>> OS X 10.5.8 PPC G4). >>>> >>>> ld: duplicate symbol ___gmpz_abs in .libs/libguile_2.0_la-arbiters.o >>>> and .libs/libguile_2.0_la-alist.o >>> >>> And I get the same error when using GIT. > ... >> - understand why it is being _defined_ twice, as opposed to just >> declared > > You have added the flag gcc -std=gnu99, which according to the gmp.h > header in GCC 4.3 later implements ISO C99 inline semantics, unless - > fgnu89-inline is used. When I took away that flag from the five > occurrences in the Makefile in libguile/, then it compiled and > installed. That’s probably the problem that’s documented in libguile/inline.h (see below). > I have GCC 4.0.1. No you don’t. This is Apple’s compiler, based on GCC, but with its own inline semantics, and a behavior different from that of GCC. Anyway you found a workaround, which is what matters. :-) Thanks, Ludo’.