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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,222ed89632aabb93 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.223.73 with SMTP id qs9mr6503904pbc.7.1342338112438; Sun, 15 Jul 2012 00:41:52 -0700 (PDT) Path: l9ni11739pbj.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: Re: Free AMD Core Math Library (BLAS/LAPACK) + Ada Date: Sun, 15 Jul 2012 00:41:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: <583b29e2-3f75-4b0a-8f1a-802b3d6e502c@googlegroups.com> References: <41b74e89-f112-4791-883d-236080652dbf@googlegroups.com> <212027fd-e3a3-45cc-b594-df6a4ae96138@googlegroups.com> <0c159836-b4b9-4861-85cd-e3e61e94f8bc@googlegroups.com> <99901f55-e61a-4808-a442-1a62e625cd2e@googlegroups.com> <37b4ba31-245e-44d1-9183-5c3367c88101@googlegroups.com> <2db42c1b-cfd4-4a6f-9e0c-ce269ddf00c5@googlegroups.com> <7cadf109-e24a-45eb-9d7c-354d8899eec4@googlegroups.com> <3f14ee5a-d055-4252-ab45-7ca512a23fac@googlegroups.com> <9cc53435-3c7f-4443-8209-5137b9377aca@googlegroups.com> NNTP-Posting-Host: 193.11.21.204 Mime-Version: 1.0 X-Trace: posting.google.com 1342338112 10886 127.0.0.1 (15 Jul 2012 07:41:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 15 Jul 2012 07:41:52 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.11.21.204; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-15T00:41:52-07:00 List-Id: On Sunday, July 15, 2012 3:20:11 AM UTC+1, John B. Matthews wrote: > In article <9cc53435-3c7f-4443-8209-5137b9377aca@googlegroups.com>, > Adding -v or -v -v to the -largs will produce more verbose output from > the linker. I usually find an extra space or an incorrectly escaped > character. Thanks. I cannot locate the article 9cc53435-3c7f-4443-8209-5137b9377aca@googlegroups.com. This resembles like an email address. Yes -v or -v -v works. I have put it as -largsv or -largsvv. Or should it be as -largs -v and -largs -v -v ? Anyway, -largsv or -largsvv gives me the output that I had in one similar post here earlier: ./exmaple_support_o: In function `example_support_real__blas_amax` example_suport.ads(.text+0xeb): undefined reference to `isamax_` and several similar lines follows collect2: ld returned 1 exit status gnatlink: error when calling (usr/bin gcc-4.4 gnatmake: *** link failed I've checked >ls /usr/lib/atlas-base/atlas/ libblas.so.3gf libblas.so.3gf.0 liblapack.so.3gf liblapack.so.3gf.0 and the blas files are there physically. I've typed echo $LD_LIBRARY_PATH, I get: /usr/lib/i386-linux-gnu/:/usr/lib/atlas-base/:/usr/lib/atlas-base/atlas which is correct And I have tried with gnatmake *.adb -largs -lblas -L/usr/lib/atlas-base/atlas which gives me the same output as above with same errors. The only differences between making it work on my last linux distribution and the present one is that now I am using gnat 4.4 instead of gnat 4.6 and that I have put the ADA_Blas folder a bit deeper rather in Home itself but this is irrelevant. Thanks. YC