Compiling up-imapproxy

From: <Peter.Stern_at_weizmann.ac.il>
Date: Tue, 16 Nov 2004 09:36:13 +0200 (IST)

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_at_weizmann.ac.il
phone: 972-8-9342096
fax: 972-8-9344123
Received on Tue Nov 16 2004 - 07:38:07 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT