comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephe.Leake@nasa.gov>
Subject: Re: Interfacing C and Ada95
Date: 21 Oct 2003 11:00:27 -0400
Date: 2003-10-21T15:03:58+00:00	[thread overview]
Message-ID: <uznfumy9g.fsf@nasa.gov> (raw)
In-Reply-To: pan.2003.10.20.23.13.08.847161@atc.ugr.es

Antonio Mart�nez <amartinez@atc.ugr.es> writes:

> Now, if I add the 5th line in the file
> paquete.adb, which contains put_line("Hello"), the gcc says ...
> paquete.o(.text+0x10): In function `sumtwo':
> 
> : referencia a `ada__text_io__put_line__2' sin definir
> collect2: ld devolvi� el estado de salida 1

This is an installation problem; the linker can't find the gnat
libraries.

Make sure you have only gnat in your path, no other gcc tools.

If that doesn't work, delete and re-install gnat.

when you come back for help, let us know what OS you are using, and
what version of gnat.

-- 
-- Stephe



  parent reply	other threads:[~2003-10-21 15:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-20 23:13 Interfacing C and Ada95 Antonio Martínez
2003-10-21  2:02 ` David Marceau
2003-10-21  4:57   ` sk
2003-10-21 15:00 ` Stephen Leake [this message]
2003-10-21 22:16   ` Simon Wright
2003-10-21 16:04 ` Antonio Martínez
2003-10-21 17:26   ` sk
replies disabled

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