bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile failure


From: Jeff Bailey
Subject: Re: Compile failure
Date: Wed, 13 Dec 2000 08:49:52 -0800

On Wed, Dec 13, 2000 at 10:49:11AM -0500, Alain Magloire wrote:
> > 
> > I'm getting the following, and have no idea where to start debugging it:
> 
> do a cvs update to get a new mailbox/include/misc.h
> and in your config.h make sure that HAVE_PTHREAD_H is undef.
> and WITH_PTHREAD is als not define.

cvs update didn't help.  #undef HAVE_PTHREAD_H did the job, though.

I added a flag to configure to handle this.  It seems to send some other 
things funny though, so I'll look at that later.  (./configure 
--disable-pthread)

> I have an old RedHat 6.0(or was it 5.{2.3} ?).  The code to provide
> more thread-safe and concurency uses read/write mutex lock.
> pthread_rwlock_lock() etc ...
> 
> To get those definitions I had to set
> #define __USE_UNIX98
> before every 
> #include <pthread.h>
> 
> This seem to give you problems on new pthread package.
> 
> What box are you using ?

Debian Unstable - Glibc "2.2-5".  It's a cvs snapshot after 2.2 was released.

> > /usr/include/pthread.h:435: parse error before `*'

These errors in the pthread.h start right after:

#ifdef __USE_UNIX98
/* Functions for handling read-write locks.  */

-- 
No matter how big the bell, if you only tap it, it can give out only a
faint sound.  We must understand thoroughly that the weakness of the blow,
not a fault of the bell makes the sound poor. 
 - Koichi Tohei



reply via email to

[Prev in Thread] Current Thread [Next in Thread]