From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: scm_mutex_lock and scm_mutex_unlock Date: Sun, 23 Oct 2005 23:13:44 +0300 Message-ID: <877jc4rnyf.fsf@uni-dortmund.de> References: <87fyqss9h1.fsf@uni-dortmund.de> <0670f7f98de893c735f61c3d27eb60c9@lurchi.franken.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130170053 18570 80.91.229.2 (24 Oct 2005 16:07:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2005 16:07:33 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Oct 24 18:07:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EU4qo-0007Bn-NT for guile-devel@m.gmane.org; Mon, 24 Oct 2005 18:07:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EU4qo-0004de-0q for guile-devel@m.gmane.org; Mon, 24 Oct 2005 12:07:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ETmDz-00011Z-9S for guile-devel@gnu.org; Sun, 23 Oct 2005 16:13:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ETmDx-00011D-L2 for guile-devel@gnu.org; Sun, 23 Oct 2005 16:13:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ETmDx-000113-Gh for guile-devel@gnu.org; Sun, 23 Oct 2005 16:13:45 -0400 Original-Received: from [213.243.153.36] (helo=smtp3.pp.htv.fi) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ETmDx-0000lE-EH for guile-devel@gnu.org; Sun, 23 Oct 2005 16:13:45 -0400 Original-Received: from zagadka.ping.de (cs181072157.pp.htv.fi [82.181.72.157]) by smtp3.pp.htv.fi (Postfix) with SMTP id A9F0D27ACDA for ; Sun, 23 Oct 2005 23:13:44 +0300 (EEST) Original-Received: (qmail 12668 invoked by uid 1000); 23 Oct 2005 20:13:44 -0000 Original-To: Michael Tuexen In-Reply-To: <0670f7f98de893c735f61c3d27eb60c9@lurchi.franken.de> (Michael Tuexen's message of "Sun, 23 Oct 2005 17:40:19 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Mailman-Approved-At: Mon, 24 Oct 2005 12:07:00 -0400 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5356 Archived-At: Michael Tuexen writes: > eval.c:2658: error: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' > undeclared here (not in a function) > > Any idea, how to fix that? I'm trying to compile it on Mac OS X 10.3.9. Hmm. PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP seems not to be portable enough. (I know that the _NP suffix means 'non-portable'...) I guess the most portable way to get recursive mutexes is to use pthread_mutex_init together with pthread_mutexattr_settype with PTHREAD_MUTEX_RECURSIVE, which is defined in UNIX98. I will make this change and let you know when it is done. In the mean time, could you try to configure with --without-threads? With that option, guile should make no reference to pthread things. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel