From: Sébastien <seb.morand@gmail.com>
Subject: gnat : "ada.calendar.formatting" is not a predefined library
Date: Thu, 24 Apr 2008 16:29:31 +0000
Date: 2008-04-24T16:29:31+00:00 [thread overview]
Message-ID: <fuqc8h$kqg$1@registered.motzarella.org> (raw)
Hi,
When I try to compile aws, I get the following message:
mscm@routeur:~/gnat/aws/AWS-gpl-2.3.0$ make build
Building libz.a (Zlib library)
gnatmake: objects up to date.
gnatmake: objects up to date.
gcc-4.2 -c -gnat05 -gnatwcfijkmruv -gnaty3abcefhiklmnoprstx -Wall -O2
-gnatn -I- -gnatA
/var/local/mscm/gnat/aws/AWS-gpl-2.3.0/src/aws-services-dispatchers-timer.adb
aws-services-dispatchers-timer.ads:31:06: "ADA.CALENDAR.FORMATTING" is
not a predefined library unit
aws-services-dispatchers-timer.ads:31:06:
"AWS.SERVICES.DISPATCHERS.TIMER (body)" depends on
"AWS.SERVICES.DISPATCHERS.TIMER (spec)"
aws-services-dispatchers-timer.ads:31:06:
"AWS.SERVICES.DISPATCHERS.TIMER (spec)" depends on
"ADA.CALENDAR.FORMATTING (spec)"
gnatmake:
"/var/local/mscm/gnat/aws/AWS-gpl-2.3.0/src/aws-services-dispatchers-timer.adb"
compilation error
make[1]: *** [build] Error 4
make: *** [src_build] Error 2
I try the following sample test:
with Ada.Calendar.Formatting;
procedure test is
begin
Ada.Text_IO.Put_Line("test");
end test;
And get at compile time:
mscm@routeur:~/gnat/aws$ gcc -gnat05 -c test.adb
test.adb:1:06: "ada.calendar.formatting" is not a predefined library unit
I'm under ubuntu, and it looks like something is missing in gnat, how to
fix it?
I'm using :
mscm@routeur:~/gnat/aws$ gnat
GNAT 4.2.1 (Ubuntu 4.2.1-5ubuntu6)
Copyright 1996-2006, Free Software Foundation, Inc.
Thanks,
Sebastien
next reply other threads:[~2008-04-24 16:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-24 16:29 Sébastien [this message]
2008-04-24 17:12 ` gnat : "ada.calendar.formatting" is not a predefined library Tero Koskinen
2008-04-25 7:38 ` Ludovic Brenta
2008-04-25 7:44 ` Sebastien Morand
2008-04-25 8:16 ` Ludovic Brenta
2008-04-25 8:47 ` Sébastien
2008-04-25 15:43 ` Georg Bauhaus
2008-04-25 21:07 ` Ludovic Brenta
2008-04-26 8:28 ` Georg Bauhaus
2008-04-26 11:53 ` Ludovic Brenta
2008-04-27 21:41 ` Sebastien Morand
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox