From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter.Stern@weizmann.ac.il Newsgroups: gmane.os.tru64.managers Subject: Compiling up-imapproxy Date: Tue, 16 Nov 2004 09:36:13 +0200 (IST) Message-ID: <200411160736.JAA01698@chemphys.weizmann.ac.il> Reply-To: Peter.Stern@weizmann.ac.il NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100590653 5472 80.91.229.6 (16 Nov 2004 07:37:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2004 07:37:33 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Nov 16 08:37:19 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CTxtv-0006Rn-00 for ; Tue, 16 Nov 2004 08:37:19 +0100 Original-Received: (qmail 11076 invoked by uid 5); 16 Nov 2004 07:36:30 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 10948 invoked by uid 49501); 16 Nov 2004 07:36:29 -0000 Original-Received: from peter@chemphys.weizmann.ac.il by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.86.17):SA:0(-2.6/5.0):. Processed in 3.326456 secs); 16 Nov 2004 07:36:29 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 16 Nov 2004 07:36:26 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I790045NH4ME8@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 16 Nov 2004 02:36:26 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I7900E02H4G9H@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 16 Nov 2004 02:36:21 -0500 (EST) Original-Received: from chemphys.weizmann.ac.il (chemphys.weizmann.ac.il [132.77.58.13]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I7900BFZH4EZO@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 16 Nov 2004 02:36:16 -0500 (EST) Original-Received: (from peter@localhost) by chemphys.weizmann.ac.il (8.9.3/8.9.3) id JAA01698 for tru64-unix-managers@ornl.gov; Tue, 16 Nov 2004 09:36:13 +0200 (IST) Original-To: tru64-unix-managers@ornl.gov X-Mailer: ELM [version 2.5 PL3] X-Envelope-From: X-ORNL-Envelope-To: tru64-unix-managers@sws1.ctd.ornl.gov rfc822;tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:7778 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7778 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