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.3 required=5.0 tests=BAYES_00,DATE_IN_PAST_03_06 autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,222ed89632aabb93 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.205.139.2 with SMTP id iu2mr5548848bkc.7.1342044350782; Wed, 11 Jul 2012 15:05:50 -0700 (PDT) Path: m12ni28bkm.0!nntp.google.com!news2.google.com!goblin3!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Free AMD Core Math Library (BLAS/LAPACK) + Ada Date: Wed, 11 Jul 2012 18:37:19 +0100 Organization: A noiseless patient Spider Message-ID: References: <41b74e89-f112-4791-883d-236080652dbf@googlegroups.com> <2565f27a-48d1-4000-978d-c3946154ea32@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> <027286e8-2436-408a-acad-c1bbf42431f8@googlegroups.com> <4ffda054$0$6583$9b4e6d93@newsspool3.arcor-online.net> <7057a456-5715-435c-95c5-cc6e9f80818d@googlegroups.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="77deb14aadc54f7e5248011e65bf9740"; logging-data="14133"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qpzIiXfhtEZCA72/dtBJ1bYr0nz0cTj0=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (darwin) Cancel-Lock: sha1:4rn1atNM8yXMzSXZ6kYjAfUqe2Y= sha1:J+5xWS12iaY7lquL0JEz4c7n9i0= Content-Type: text/plain Date: 2012-07-11T18:37:19+01:00 List-Id: Ada novice writes: > On Wednesday, July 11, 2012 4:48:36 PM UTC+1, Georg Bauhaus wrote: > >> http://people.ischool.berkeley.edu/~kevin/unix-tutorial/section3.html > > Thanks for the link. That helped and I fixed that part. > > In step 5 from Nasser: > > http://12000.org/my_notes/ada/index.htm > > On issuing gnatmake *.adb, I get: > > gcc-4.6 -c ada_blas-complex.adb > gcc-4.6 -c ada_blas.ads > gcc-4.6 -c ada_blas-real.adb > gcc-4.6 -c example1.adb > gcc-4.6 -c example_support.ads > gnatbind -x example1.ali > gnatlink exmaple1.ali > > ./exmaple_support_o: In function `example_support_real__blas_amax` > example_suport.ads(.text+0xeb): undefined reference to `isamax_` > > lots of "similar" lines follow > > collect2: ld returned 1 exit status > gnatlink: error when calling (usr/bin gcc-4.6 > gnatmake: *** link failed > > Any clue what is going wrong? You aren't telling the linker that your software needs libblas. Try gnatmake example1.adb -largs -lblas