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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a059f028fb9c35d3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-11 23:27:51 PST From: Frank Piron Newsgroups: comp.lang.ada Subject: Re: Ada newbie: GNAT linking error question Date: Mon, 12 May 2003 08:29:09 +0100 Organization: KonAd GmbH Message-ID: <3EBF4D45.592A765A@konad.de> References: NNTP-Posting-Host: p508b4282.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: online.de 1052720870 3349 80.139.66.130 (12 May 2003 06:27:50 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Mon, 12 May 2003 06:27:50 +0000 (UTC) X-Mailer: Mozilla 4.75 [de] (WinNT; U) X-Accept-Language: de,en-US Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!feed.news.nacamar.de!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Xref: archiver1.google.com comp.lang.ada:37221 Date: 2003-05-12T08:29:09+01:00 List-Id: Sascha Wilde schrieb: > > but the build fails during linking, saying: > > gnatlink tetris.ali > b~tetris.o: In function `main': > b~tetris.o(.text+0x489): undefined reference to `_ada_tetris' > collect2: ld returned 1 exit status > gnatlink: cannot call /usr/local/bin/gcc > gnatmake: *** link failed. > Consider to append: ... -largs -L to the gnatmake command-line for telling the linker where some needed library resides. Frank Piron