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 X-Google-Thread: 103376,76f120be5d26bfd8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-21 08:08:03 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!xmission!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Interfacing C and Ada95 Date: 21 Oct 2003 11:00:27 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: shevek.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: skates.gsfc.nasa.gov 1066748638 20670 128.183.235.101 (21 Oct 2003 15:03:58 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 21 Oct 2003 15:03:58 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.lang.ada:1298 Date: 2003-10-21T15:03:58+00:00 List-Id: Antonio Mart�nez 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