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,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-11 07:28:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.telebyte.nl!fu-berlin.de!uni-berlin.de!xdslc065.osnanet.DE!not-for-mail From: Sascha Wilde Newsgroups: comp.lang.ada Subject: Ada newbie: GNAT linking error question Date: Sun, 11 May 2003 16:29:07 +0200 Message-ID: NNTP-Posting-Host: xdslc065.osnanet.de (212.95.102.65) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: fu-berlin.de 1052663312 21244853 212.95.102.65 (16 [133390]) X-Orig-Path: ID-133390.user.dfncis.de!nobody User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.2 (gnu/linux) Xref: archiver1.google.com comp.lang.ada:37179 Date: 2003-05-11T16:29:07+02:00 List-Id: I just tried to build the tetris example from http://www.tc.umn.edu/~puk/tetris.txt 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. Thirst I thought that might be caused by the fact that I used the gnat compiler from gcc-3.2.3, so I tried the precompiled gnat-3.15p from act, but it produced just the same error. I checked it alsow on my notebook, running debian-woody with gnat-14p the same result. So my question is: what went wrong? I'm not shure if this is here quite on-topic, because it might be more a gnat than a Ada problem. Please tell me if I'm OT here. -- Sascha Wilde "Liebet eure Feinde, vielleicht schadet das ihrem Ruf" (Stanislaw Jerzy Lec)