Michael Tuexen <[EMAIL PROTECTED]> 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

Reply via email to