Compiling up-imapproxy

From: Peter.Stern@weizmann.ac.il
Date: Tue Nov 16 2004 - 02:36:13 EST


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.

Regards,
Peter

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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:11 EDT