bug-mailutils
[Top][All Lists]
Advanced

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

Re: Compile failure


From: Alain Magloire
Subject: Re: Compile failure
Date: Wed, 13 Dec 2000 10:49:11 -0500 (EST)

> 
> 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.

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 ?

> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../mailbox/include 
> -I../lib -Wall -pedantic -g -DTESTING -Wp,-MD,.deps/address.pp -c 
> address.c  -fPIC -DPIC -o .libs/address.lo
> In file included from ../mailbox/include/misc.h:47,
>                  from address.c:31:
> /usr/include/pthread.h:435: parse error before `*'
> /usr/include/pthread.h:440: parse error before `*'
> /usr/include/pthread.h:443: parse error before `*'
> /usr/include/pthread.h:446: parse error before `*'
> /usr/include/pthread.h:456: parse error before `*'
> /usr/include/pthread.h:459: parse error before `*'
> /usr/include/pthread.h:469: parse error before `*'
> /usr/include/pthread.h:475: parse error before `*'
> /usr/include/pthread.h:478: parse error before `*'
> /usr/include/pthread.h:481: parse error before `*'
> /usr/include/pthread.h:486: parse error before `*'
> /usr/include/pthread.h:490: parse error before `*'
> /usr/include/pthread.h:494: parse error before `*'
> make[1]: *** [address.lo] Error 1
> make[1]: Leaving directory 
> `/home/jbailey/cvstree/mailutils-20001212/mailbox'
> 
> 
> -- 
> 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
> 
> _______________________________________________
> Bug-mailutils mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-mailutils
> 


-- 
au revoir, alain
----
Aussi haut que l'on soit assis, on n'est toujours assis que sur son cul !!!




reply via email to

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