comp.lang.ada
 help / color / mirror / Atom feed
From: Frank Piron <frank.piron@konad.de>
Subject: Re: Ada newbie: GNAT linking error question
Date: Mon, 12 May 2003 08:29:09 +0100
Date: 2003-05-12T08:29:09+01:00	[thread overview]
Message-ID: <3EBF4D45.592A765A@konad.de> (raw)
In-Reply-To: knml9b.u54.ln@ID-133390.user.dfncis.de

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<path_to_some_library> to the
gnatmake command-line for telling the linker where some needed
library resides.

Frank Piron



  parent reply	other threads:[~2003-05-12  7:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-11 14:29 Ada newbie: GNAT linking error question Sascha Wilde
2003-05-11 18:05 ` Martin Krischik
2003-05-11 20:14   ` Sascha Wilde
2003-05-12  7:29 ` Frank Piron [this message]
2003-05-12  8:52 ` Preben Randhol
2003-05-12 18:34   ` Sascha Wilde
  -- strict thread matches above, loose matches on Subject: below --
2003-05-12  8:59 Gautier direct_replies_not_read
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox