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,a2d3086090f41b23 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!b38g2000prf.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Cannot generate code for file gtkada-intl.ads Date: Sun, 25 Jan 2009 12:58:35 -0800 (PST) Organization: http://groups.google.com Message-ID: <7fcc6176-f0da-4b87-8ba7-a86aede8557b@b38g2000prf.googlegroups.com> References: NNTP-Posting-Host: 94.108.232.29 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1232917115 6086 127.0.0.1 (25 Jan 2009 20:58:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 25 Jan 2009 20:58:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b38g2000prf.googlegroups.com; posting-host=94.108.232.29; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.18) Gecko/20081030 Iceape/1.1.13 (Debian-1.1.13-1),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:3494 Date: 2009-01-25T12:58:35-08:00 List-Id: tolkamp wrote on comp.lang.ada: > To plot results of my project I have installed gtaAda and Win_Io. > The projectname is test.gpr with the package test_main.adb. > When I build the executable the following message occurs: > > gnatmake -PC:\GNAT\bin\test.gpr test_main.adb -d -XGLADE=True - > XEXTRA=True -XOPENGL=True -XGNOME=True -XBUILD=Production > gcc -c -gnatec=C:\GtkAda-gpl-2.10.2\src/gnat.adc -gnatQ -O2 -gnatn - > gnatws -I- -gnatA C:\GtkAda-gpl-2.10.2\src\gtkada-intl.ads > cannot generate code for file gtkada-intl.ads (package spec) > to check package spec for errors, use -gnatc > gnatmake: "c:\gtkada-gpl-2.10.2\src\gtkada-intl.ads" compilation error > > process exited with status4 (elapsed time: 02.48s) > > What is wrong in package gtkada-intl.ads? The body (gtkada-intl.adb) is missing. This body is generated by a preprocessor called by the GtkAda makefile. Apparently you did not use the GtkAda makefile. Are you sure you followed the GtkAda installation instructions to the letter? HTH -- Ludovic Brenta.