From: Peter.Stern@weizmann.ac.il
Subject: SUMMARY: Compiling up-imapproxy
Date: Thu, 18 Nov 2004 19:11:37 +0200 (IST) [thread overview]
Message-ID: <200411181711.TAA25923@chemphys.weizmann.ac.il> (raw)
Original query below.
Many thanks to Tim Cutts who told me to use the Compaq C compiler using
the -pthread flag and to replace the #define _REENTRANT statements in
the source with:
#ifndef _REENTRANT
#define _REENTRANT
#endif
Finally, I got it to compile and run (but I don't know if it is actually
doing anything).
Regards,
Peter
> I am trying to compile up-imapproxy. The "known-issues" file states:
> Problem: Tru64 Unix pthreads implementation requires a compiler flag -pthread
> to be passed.
>
> Symptom: configure will complain that it can't find a pthreads implementation.
>
> Fix: This is not yet resolved. If you have a lot of free time, you can
> monkey with the configure script to make the pthreads check succeed
> then manually compile any modules that fail by passing the -pthread
> argument to gcc. Ultimately, this will need to be fixed so the
> configure script does the right thing. Patches welcome.
>
> I managed to get configure to complete, but when I try to run make (with
> several different modofications of the Makefile, I get:
> __pthread_mutex_init
> pthread_attr_init
> pthread_attr_setdetachstate
> __pthread_create
> snprintf
> __pthread_mutex_lock
> __pthread_mutex_unlock
> collect2: ld returned 1 exit status
> *** Exit 1
> Stop.
>
> if I do not include -pthread in the compiler options and:
> warning: "_REENTRANT" redefined
>
> snprintf
> collect2: ld returned 1 exit status
> *** Exit 1
> Stop.
>
> if I do.
>
> Has anybody successfully compiled this? I am running Tru64 v4.0f.
>
>
Peter Stern
Chemical Physics Department
Weizmann Institute of Science
76100 Rehovot, ISRAEL
email: Peter.Stern@weizmann.ac.il
phone: 972-8-9342096
fax: 972-8-9344123
reply other threads:[~2004-11-18 17:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox