comp.lang.ada
 help / color / mirror / Atom feed
From: domin <dominz@wp.pl>
Subject: ncurses problem
Date: Tue, 27 May 2003 15:26:39 +0200
Date: 2003-05-27T15:26:39+02:00	[thread overview]
Message-ID: <bavp2f$ki1$1@korweta.task.gda.pl> (raw)

Hello. I'm beginner to Ada, I'm using GNAT on linux.
Recently I have installed also AdaCurses-5.2-2 + runtime from rpm,
but I can't make any program that uses it - compile is ok, but link fails:

For example, attempt to make the hello2.adb:

with Terminal_Interface.Curses;
procedure Hello2 is
pytanie: string := "Czy to dzia�a?";
begin
   Terminal_Interface.Curses.Init_Screen;
null;
end Hello2;

returns the following error:

bash-2.05b$ gnatmake hello2.adb
gnatgcc -c hello2.adb
gnatbind -x hello2.ali
gnatlink hello2.ali
b~hello2.o: In function `adainit':
b~hello2.o(.text+0x80): undefined reference to
`terminal_interface__curses___elabs'
./hello2.o: In function `_ada_hello2':
./hello2.o(.text+0x25): undefined reference to
`terminal_interface__curses__init_screen'
gnatmake: *** link failed.

Does anyone know what can be wrong or what to do?
Thanks in advance.

-- 
domin
________________________________________________________________
"the things you own - own you" (c)papa roach



             reply	other threads:[~2003-05-27 13:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27 13:26 domin [this message]
2003-05-27 13:29 ` ncurses problem Vinzent Hoefler
2003-05-27 14:18 ` Preben Randhol
2003-05-27 14:28   ` domin
replies disabled

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