From: rbrewer@rwb114.rh.psu.edu (Robert W. Brewer)
To: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Pthreads in GNAT
Date: 1995/04/21
Date: 1995-04-21T00:00:00+00:00 [thread overview]
Message-ID: <RBREWER.95Apr21015815@rwb114.rh.psu.edu> (raw)
In-Reply-To: VLADIMIR.95Apr4204709@speedy.intrepid.com
>>>>> "R" == Robert Dewar <dewar@cs.nyu.edu> writes:
R> Using the Provenzano threads, it is indeed possible to get tasking
R> working on Linux, but to do it with the 2.03 release requires quite
R> a bit of knowledge about what is going on.
I'm having trouble getting pthreads working with GNAT 2.04 under Linux.
I have the binary version from ftp.cs.nyu.edu, and am using
pthreads 1.60beta2. I get all kinds of undefined symbols when linking,
like the following:
$ gnatbl tetris.ali -L/usr/tmp/pthreads/config -lpthread
/home/mcculley/gcc-2.6.3/ada/rts/i-cpotim.adb(.text+0x33): undefined reference to `clock_gettime'
/usr/lib/gcc-lib/i486-linux/2.6.2/adalib/i-cporte.o: In function `interfaces__c__posix_rte__setjmp':
/home/mcculley/gcc-2.6.3/ada/rts/i-cporte.adb:255: undefined reference to `setjmp'
/usr/lib/gcc-lib/i486-linux/2.6.2/adalib/i-cporte.o: In function `interfaces__c__posix_rte__sigsetjmp':
/home/mcculley/gcc-2.6.3/ada/rts/i-cporte.adb:267: undefined reference to `sigsetjmp'
I'm also curious about the /home/mcculley/ paths. They seem a bit strange.
Any tips? Thanks.
-Rob
--
Robert W. Brewer KB3BEH A thorough knowledge of the Bible is worth more
rbrewer@psu.edu than a college education. --Theodore Roosevelt
prev parent reply other threads:[~1995-04-21 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-04-05 0:00 Pthreads in GNAT Brian Vinter
1995-04-05 0:00 ` Vladimir Vukicevic
1995-04-21 0:00 ` Robert W. Brewer [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox