comp.lang.ada
 help / color / mirror / Atom feed
* gnat : "ada.calendar.formatting" is not a predefined library
@ 2008-04-24 16:29 Sébastien
  2008-04-24 17:12 ` Tero Koskinen
  0 siblings, 1 reply; 11+ messages in thread
From: Sébastien @ 2008-04-24 16:29 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-04-27 21:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-24 16:29 gnat : "ada.calendar.formatting" is not a predefined library Sébastien
2008-04-24 17:12 ` 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

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