From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Patrick Horgan Newsgroups: gmane.lisp.guile.bugs Subject: SCM_INTERNAL causes problems Date: Fri, 20 Jun 2008 21:15:33 -0700 Message-ID: <485C8065.3090508@dbp-consulting.com> Reply-To: patrick@dbp-consulting.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214021751 14772 80.91.229.12 (21 Jun 2008 04:15:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Jun 2008 04:15:51 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Jun 21 06:16:35 2008 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.50) id 1K9uWg-0001qZ-JM for guile-bugs@m.gmane.org; Sat, 21 Jun 2008 06:16:34 +0200 Original-Received: from localhost ([127.0.0.1]:58378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9uVr-0007El-Hz for guile-bugs@m.gmane.org; Sat, 21 Jun 2008 00:15:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9uVn-0007EW-3y for bug-guile@gnu.org; Sat, 21 Jun 2008 00:15:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9uVk-0007EK-LJ for bug-guile@gnu.org; Sat, 21 Jun 2008 00:15:37 -0400 Original-Received: from [199.232.76.173] (port=44516 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9uVk-0007EH-G0 for bug-guile@gnu.org; Sat, 21 Jun 2008 00:15:36 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.250]:64880) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K9uVk-0007Jr-CY for bug-guile@gnu.org; Sat, 21 Jun 2008 00:15:36 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so8055317rvb.6 for ; Fri, 20 Jun 2008 21:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:reply-to :user-agent:mime-version:to:subject:content-type :content-transfer-encoding:from; bh=F7m2AOClTLVa1edg3VaTxd5N/eXeox9l2PS5kT8NeUc=; b=sqLHuPMaM8V58cPjdHivBFo0THCYo0VFKk64dhYIfLJ5e51yElGeLRpOd+Ub+imnNd aaIL8jd2td/ICtIT6HXOLd8fzKorEOec9UdVb1YwNQ/M3dtIlTqyyooWUgi/3gPKV3F6 MgkDFqqUHtCvZmSK6iaaModbN3A8b0TwWp7U4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:from; b=qDLmZUYplDeIAS4HhEfrdbcdAv4rS1hDlz9//+Etqi3pFvWseVkR/dtbqByPB95op4 gxPGBaIEylAgQInoMPeueoqW6aQny2kOiEsSA+4iYq0Ub+oHVQBTn/UxBZyDDMDOzTpQ 6tf3uxxiV/nIY453GdpGja6qu2SHvIlCpiUd8= Original-Received: by 10.141.49.6 with SMTP id b6mr8673436rvk.89.1214021734434; Fri, 20 Jun 2008 21:15:34 -0700 (PDT) Original-Received: from ?192.168.19.20? ( [76.195.209.121]) by mx.google.com with ESMTPS id m27sm3806681pof.6.2008.06.20.21.15.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 20 Jun 2008 21:15:34 -0700 (PDT) User-Agent: Thunderbird 2.0.0.14 (X11/20080505) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:3903 Archived-At: When building lilypond the following variables: `scm_i_gc_admin_mutex' SCM_INTERNAL gc.h `scm_i_init_mutex' SCM_INTERNAL init.h `scm_i_locale_mutex' SCM_INTERNAL posix.h `scm_i_misc_mutex' SCM_INTERNAL threads.h `scm_i_port_table_mutex' SCM_INTERNAL ports.h `scm_i_port_table_room' SCM_INTERNAL ports.h `scm_i_port_weak_hash' SCM_INTERNAL ports.h `scm_i_signal_delivery_thread' SCM_INTERNAL scmsigs.h `scm_i_structs_to_free' SCM_INTERNAL struct.h `scm_i_sweep_mutex' SCM_INTERNAL gc.h show up as multiple defines in the link phase and keep lilypond from building. The problem is that the include files they are in are included in different .c files, so the variable definitions are in various .o files. If they are really supposed to just have internal visibility in guile libraries wouldn't it be better to not put them in include files that are installed as part of make install? I mean, you could put #ifdefs around them so that they wouldn't show up in builds of other programs like lilypond, but it seems a cleaner solution to put them in private include files that are never installed publicly, but only used in the build. Patrick