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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1e11857ea4f39dd6 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!b58g2000hsg.googlegroups.com!not-for-mail From: AJAskey Newsgroups: comp.lang.ada Subject: Re: Trig Function Linking Problems Date: 17 Apr 2007 11:54:18 -0700 Organization: http://groups.google.com Message-ID: <1176836058.776900.16840@b58g2000hsg.googlegroups.com> References: <1176755562.190964.167640@w1g2000hsg.googlegroups.com> NNTP-Posting-Host: 199.46.199.230 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1176836059 7050 127.0.0.1 (17 Apr 2007 18:54:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 17 Apr 2007 18:54:19 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 dfw-gate1.raytheon.com:8080 (Squid/2.4.STABLE7) Complaints-To: groups-abuse@google.com Injection-Info: b58g2000hsg.googlegroups.com; posting-host=199.46.199.230; posting-account=CYqfnw0AAAAF1B0yTvpOrbsgro2pqp2d Xref: g2news1.google.com comp.lang.ada:15093 Date: 2007-04-17T11:54:18-07:00 List-Id: Thanks again for the responses. I will give the suggestions a try. I did get the trig functions to work on one newer system. The ldd -v trig command showed that libgnat was not being linked - for some reason. I changed my build command to: gnatmake -v trig.adb -largs -lm -lc /usr/lib/libgnat-3.4.so.1 and it worked. I'm not sure why a simple gnatmake didn't link in the libgnat library. It did on the older system and this led me to try to explicitly link it. On the other system (the one I really need it to work on) it didn't work. One reason may be that the libgnat-3.4.so.1 was not there - but the libgnat-3.15a.so.1 file was. This is interesting as they appear to be built from the same CD. I will try to get the newer libgnat file onto that system. Currently, they are not on the same network. Thanks. Andy