From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bd601900bf7ad047 X-Google-Attributes: gid103376,public From: rbrewer@rwb114.rh.psu.edu (Robert W. Brewer) Subject: Re: Pthreads in GNAT Date: 1995/04/21 Message-ID: #1/1 X-Deja-AN: 101283319 references: <1995Apr5.114427.17834@news.uit.no> to: dewar@cs.nyu.edu (Robert Dewar) x-authinfo-user: rwb114@psu.edu organization: The Linux Underground x-attribution: Rob reply-to: rbrewer@psu.edu newsgroups: comp.lang.ada Date: 1995-04-21T00:00:00+00:00 List-Id: >>>>> "R" == Robert Dewar 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