From: Yves Bailly <kafka.fr@laposte.net>
Subject: Gnat2007 and Ada.Numerics.Generic_Real_Arrays
Date: Fri, 25 May 2007 19:12:26 +0200
Date: 2007-05-25T19:13:16+02:00 [thread overview]
Message-ID: <4657192c$0$31997$426a74cc@news.free.fr> (raw)
Hello all,
I just downloaded Gnat2007, then tried this little program:
--8<-----8<-----8<-----8<-----8<-----8<-----8<---
with Ada.Numerics.Long_Real_Arrays;
use Ada.Numerics.Long_Real_Arrays;
procedure Test_Matrix is
v: Real_Vector(1..3) := (1.0, 2.0, 3.0);
d: Long_Float := v*v;
begin
null;
end Test_Matrix;
--8<-----8<-----8<-----8<-----8<-----8<-----8<---
But when trying to create the executable, I get a link error:
--8<-----8<-----8<-----8<-----8<-----8<-----8<---
gnatlink /home/yves/Programs/Ada/test_matrix.ali -o /home/yves/Programs/Ada/test_matrix
/home/yves/Programs/Ada/test_matrix.o: In function `_ada_test_matrix':
test_matrix.adb:(.text+0x40): undefined reference to
`ada__numerics__long_real_arrays__Omultiply'
--8<-----8<-----8<-----8<-----8<-----8<-----8<---
Nothing about those packages in the provided doc... Too bad, I've
been waiting for those packages since they appeared in the RM.
Am I missing something?
Any hint would be much appreciated!
-- Yves Bailly
next reply other threads:[~2007-05-25 17:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-25 17:12 Yves Bailly [this message]
2007-05-25 18:47 ` Gnat2007 and Ada.Numerics.Generic_Real_Arrays Anh Vo
2007-05-25 18:59 ` Gautier
2007-05-26 7:53 ` Dmitry A. Kazakov
2007-05-26 9:31 ` Georg Bauhaus
2007-05-26 10:21 ` Dmitry A. Kazakov
2007-05-29 8:56 ` Ken
2007-05-29 10:47 ` Yves Bailly
2007-06-01 9:40 ` Ken
2007-05-28 10:19 ` Dirk Craeynest
2007-06-01 2:01 ` Anh Vo
2007-06-06 8:19 ` Maxim Reznik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox