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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,227582699da6d50b X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!postnews.google.com!i76g2000hsf.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: gnat : "ada.calendar.formatting" is not a predefined library Date: Fri, 25 Apr 2008 00:38:46 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <20080424201247.ddaffeee.tero.koskinen@iki.fi> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1209109127 18866 127.0.0.1 (25 Apr 2008 07:38:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 25 Apr 2008 07:38:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i76g2000hsf.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040924,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:21078 Date: 2008-04-25T00:38:46-07:00 List-Id: Tero Koskinen wrote: > Hello, > > On Thu, 24 Apr 2008 16:29:31 +0000 S=EF=BF=BDbastien wrote: > > Hi, > > > > When I try to compile aws, I get the following message: > > /var/local/mscm/gnat/aws/AWS-gpl-2.3.0/src/aws-services-dispatchers-time= r.adb > > aws-services-dispatchers-timer.ads:31: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? > > > > GNAT 4.2.1 (Ubuntu 4.2.1-5ubuntu6) > > GNAT 4.2.1 does not fully support all Ada 2005 features. > > Try FSF GNAT 4.3 or GNAT GPL 2007. They have better support. > Alternatively, use AWS 2.2.0. It should compile with GNAT 4.2.1. Alternatively, switch to Debian which has gnat-4.3 in testing, and participate in upgrading the existing libaws 2.2 package to 2.3 :) -- Ludovic Brenta.