[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fwd: commoncpp2-0.99.7 install failure on solaris 2.6
From: |
Federico Montesino Pouzols |
Subject: |
Re: fwd: commoncpp2-0.99.7 install failure on solaris 2.6 |
Date: |
Wed, 21 Aug 2002 22:21:50 +0200 (CEST) |
Aha! The diference between the autoconf test and thread.cpp is that
in the latter _POSIX_PTHREAD_SEMANTICS is not defined. If you want to
test now, try the following: go to include/cc+/thread.h and, before
#include <signal.h>, put this line
#define _POSIX_PTHREAD_SEMANTICS
This will be fixed for the next release.
>>>>>> "Federico" == Federico Montesino Pouzols <address@hidden>
>>>>>> writes:
>
> Federico> The warning about strstream has been fixed. Regarding
> Federico> the error with sigwait, the autoconf test for sigwait
> Federico> (see ost_signal.m4) seems strong enough. It is very
> Federico> weird that sigwait works for the configure test but does
> Federico> not work for thread.cpp. Could you please confirm if the
> Federico> sigwait call in your system has two parameters?
>
> This is cut from the /usr/include/signal.h:
>
> #if (_POSIX_C_SOURCE - 0 >= 199506L) ||
> #defined(_POSIX_PTHREAD_SEMANTICS)
> #ifdef __PRAGMA_REDEFINE_EXTNAME
> extern int sigwait(const sigset_t *, int *);
> #else
> static int
> sigwait(const sigset_t *__setp, int *__signo)
> #endif
> #else
> extern int sigwait(sigset_t *);
> #endif
>
> -- Paul 08/21/02 12:38 PM --