From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,93403c33f5bea026 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-03-18 05:58:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!not-for-mail From: Dan Riley Newsgroups: comp.unix.tru64 Subject: Re: help compiling (libpthread.a) Date: 18 Mar 2002 08:58:35 -0500 Organization: LNS, Cornell U., Ithaca, NY 14853 Sender: dsr@lnxcu9.lns.cornell.edu Message-ID: References: <3C8FDD06.6EA6166@execpc.com> <3C9549E8.73649852@execpc.com> NNTP-Posting-Host: lnxcu9.lns.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: lnscu7.lns.cornell.edu 1016459915 31318 128.84.46.100 (18 Mar 2002 13:58:35 GMT) X-Complaints-To: abuse@mail.lns.cornell.edu NNTP-Posting-Date: Mon, 18 Mar 2002 13:58:35 +0000 (UTC) User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) Xref: archiver1.google.com comp.unix.tru64:7046 Paul Foster writes: > Because I don't have the source and the distributedfolding.org people > only have a Tru64 system. I was hoping to get more of an answer than > the one I got that said the library should be there and it should work.. How about "it might be there and it probably won't work"? As to where the library is, it depends on the version of tru64--in tru64 v5.0, it should be there. For v4.0, the optional CMPDEVENH subset installs /usr/opt/alt/usr/lib/threads/libpthread.a, so they need that subset installed, and an appropriate -L to the linker. However, this probably won't do what you want--kernel threads are generally very closely tied to the private kernel interfaces that support them (one of the caveats about using a static libpthread.a is that new versions of tru64 or even patch kits may break the executable). I would be *very* surprised if the Tru64 emulation in Linux supports the tru64 kernel thread interfaces, so the resulting executable probably won't run on Alpha Linux (if it actually is multi-threaded--if it isn't, they should be able to link without the pthread library). A google search for "Butenhof libthread.a tru64" will turn up more information on threads on tru64, but probably won't give you any help getting such an executable to run on Alpha Linux. > > "Paul Foster" wrote in message > > news:3C8FDD06.6EA6166@execpc.com... > > > I'm trying to help the folks at www.distributedfolding.org compile a > > > version of their distributed computing program under Tru64. They are > > > trying to compile a version of the binary under Tru64 that will run > > > under RedHat Linux for the Alpha. They are trying compile the binary > > > using the -non_shared option and get the following error: > > > > > > ld: > > > Can't locate file for: -lpthread -- Dan Riley dsr@mail.lns.cornell.edu "Mr. Ellison is presently the sole member of the Plan Committee. The Plan Committee did not meet during fiscal year 2001, and during that same period, acted 46 times by unanimous written consent."