* help compiling
@ 2002-03-13 23:13 Paul Foster
2002-03-15 16:15 ` Kenneth Block
0 siblings, 1 reply; 5+ messages in thread
From: Paul Foster @ 2002-03-13 23:13 UTC (permalink / raw)
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
*** Exit 1
Can anyone offer some pointers? I'm familiar with the Alpha platform
but only under RedHat so I have been stumbling on the Tru64 stuff.
Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help compiling
2002-03-13 23:13 help compiling Paul Foster
@ 2002-03-15 16:15 ` Kenneth Block
2002-03-18 1:59 ` Paul Foster
0 siblings, 1 reply; 5+ messages in thread
From: Kenneth Block @ 2002-03-15 16:15 UTC (permalink / raw)
Why would you want to build it on Tru64 and then run it on Linux? Why not
just build it on Linux in the first place?
"Paul Foster" <pfoster@execpc.com> 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
> *** Exit 1
>
> Can anyone offer some pointers? I'm familiar with the Alpha platform
> but only under RedHat so I have been stumbling on the Tru64 stuff.
>
> Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help compiling
2002-03-15 16:15 ` Kenneth Block
@ 2002-03-18 1:59 ` Paul Foster
2002-03-18 13:05 ` Kenneth Block
2002-03-18 13:58 ` help compiling (libpthread.a) Dan Riley
0 siblings, 2 replies; 5+ messages in thread
From: Paul Foster @ 2002-03-18 1:59 UTC (permalink / raw)
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..
Kenneth Block wrote:
>
> Why would you want to build it on Tru64 and then run it on Linux? Why not
> just build it on Linux in the first place?
>
> "Paul Foster" <pfoster@execpc.com> 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
> > *** Exit 1
> >
> > Can anyone offer some pointers? I'm familiar with the Alpha platform
> > but only under RedHat so I have been stumbling on the Tru64 stuff.
> >
> > Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help compiling
2002-03-18 1:59 ` Paul Foster
@ 2002-03-18 13:05 ` Kenneth Block
2002-03-18 13:58 ` help compiling (libpthread.a) Dan Riley
1 sibling, 0 replies; 5+ messages in thread
From: Kenneth Block @ 2002-03-18 13:05 UTC (permalink / raw)
libpthread.a should exist as a link from /usr/lib/libpthread.a to
/usr/ccs/lib/libhread.a. Do you have these two things on your system? The
link is located in the subset OSFBASE, which your installation will not
function without it. The library is located in OSFLIBA505 which is probably
an optional subset.
"Paul Foster" <pfoster@execpc.com> wrote in message
news:3C9549E8.73649852@execpc.com...
>
> 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..
>
>
>
> Kenneth Block wrote:
> >
> > Why would you want to build it on Tru64 and then run it on Linux? Why
not
> > just build it on Linux in the first place?
> >
> > "Paul Foster" <pfoster@execpc.com> 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
> > > *** Exit 1
> > >
> > > Can anyone offer some pointers? I'm familiar with the Alpha platform
> > > but only under RedHat so I have been stumbling on the Tru64 stuff.
> > >
> > > Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help compiling (libpthread.a)
2002-03-18 1:59 ` Paul Foster
2002-03-18 13:05 ` Kenneth Block
@ 2002-03-18 13:58 ` Dan Riley
1 sibling, 0 replies; 5+ messages in thread
From: Dan Riley @ 2002-03-18 13:58 UTC (permalink / raw)
Paul Foster <pfoster@execpc.com> 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" <pfoster@execpc.com> 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."
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-03-18 13:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-13 23:13 help compiling Paul Foster
2002-03-15 16:15 ` Kenneth Block
2002-03-18 1:59 ` Paul Foster
2002-03-18 13:05 ` Kenneth Block
2002-03-18 13:58 ` help compiling (libpthread.a) Dan Riley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox