From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,227582699da6d50b,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail From: =?ISO-8859-1?Q?S=E9bastien?= Newsgroups: comp.lang.ada Subject: gnat : "ada.calendar.formatting" is not a predefined library Date: Thu, 24 Apr 2008 16:29:31 +0000 Organization: A noiseless patient Spider Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX1/oU96ny4whcPjfLpetYcYdBMrfpMAVEavhay/L2S3J12LlYbOMjuREZiLocQUfE7yXqcMn2x3A3BSyK7JHgSEQU6kfx1jscHdASTbBQLAiOnI/P/SKT/cshBPrKc1Wpp13TWCxNY+LYQ== X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Thu, 24 Apr 2008 16:24:50 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1+8NkUl9D2bFcIJCkbCJ0oRFdRte8+QXjZt5ATJcNvISA== Cancel-Lock: sha1:37382RjU637n87SWghoJpwIp89U= User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) Xref: g2news1.google.com comp.lang.ada:21074 Date: 2008-04-24T16:29:31+00:00 List-Id: 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