Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > gnat : "ada.cal...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 11 Topic 5665 of 5697
Post > Topic >>

gnat : "ada.calendar.formatting" is not a predefined library

by =?ISO-8859-1?Q?S=E9bastien?= <seb.morand@[EMAIL PROTECTED] > Apr 24, 2008 at 04:29 PM

Hi,

When I try to compile aws, I get the following message:

mscm@[EMAIL PROTECTED]
 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@[EMAIL PROTECTED]
 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@[EMAIL PROTECTED]
 gnat
GNAT 4.2.1 (Ubuntu 4.2.1-5ubuntu6)
Copyright 1996-2006, Free Software Foundation, Inc.


Thanks,
Sebastien




 11 Posts in Topic:
gnat : "ada.calendar.formatting" is not a predefined library
=?ISO-8859-1?Q?S=E9bastie  2008-04-24 16:29:31 
Re: gnat : "ada.calendar.formatting" is not a predefined library
Tero Koskinen <tero.ko  2008-04-24 20:12:47 
Re: gnat : "ada.calendar.formatting" is not a predefined library
Ludovic Brenta <ludovi  2008-04-25 00:38:46 
Re: gnat : "ada.calendar.formatting" is not a predefined library
Sebastien Morand <seb.  2008-04-25 07:44:15 
Re: gnat : "ada.calendar.formatting" is not a predefined library
Ludovic Brenta <ludovi  2008-04-25 01:16:37 
Re: gnat : "ada.calendar.formatting" is not a predefined library
=?ISO-8859-1?Q?S=E9bastie  2008-04-25 08:47:35 
Re: gnat : "ada.calendar.formatting" is not a predefined library
Georg Bauhaus <rm.tsoh  2008-04-25 17:43:12 
Re: gnat : "ada.calendar.formatting" is not a predefined library
Ludovic Brenta <ludovi  2008-04-25 23:07:47 
Re: gnat : "ada.calendar.formatting" is not a predefined library
Georg Bauhaus <rm.tsoh  2008-04-26 10:28:19 
Re: gnat : "ada.calendar.formatting" is not a predefined library
Ludovic Brenta <ludovi  2008-04-26 13:53:54 
Re: gnat : "ada.calendar.formatting" is not a predefined library
Sebastien Morand <seb.  2008-04-27 21:41:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 16:54:01 CDT 2008.