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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: Victor Porton Newsgroups: comp.lang.ada Subject: Re: Upgrading GNAT GPS 5.0 -> 5.3 Date: Thu, 14 Aug 2014 20:27:51 +0300 Organization: Aioe.org NNTP Server Message-ID: References: <53ebbf4c$0$32613$862e30e2@ngroups.net> <3261a000-e171-4e03-b3ec-af1bc5cad9d7@googlegroups.com> <68fn1tyynoal.1la5dyi9o49z9$.dlg@40tude.net> <1oacgorukz06m.19lkc26ly0rts.dlg@40tude.net> NNTP-Posting-Host: AnnUDmZwVERVUXyHDyOl5A.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@aioe.org User-Agent: KNode/4.12.4 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.dca.giganews.com comp.lang.ada:188494 Date: 2014-08-14T20:27:51+03:00 List-Id: Dmitry A. Kazakov wrote: > On Thu, 14 Aug 2014 19:15:51 +0300, Victor Porton wrote: > >> In GNAT GPS 5.3 this works only if Messy_Client is a library project (and >> with Linker_Options instead of Default_Switches). >> >> IN GNAT 5.0 it worked for non-library projects also. >> >> It looks like a bug in GNAT GPS 5.3. > > If there is any bugs then in gprbuild. Try to build your project manually: > > gnatmake -P.gpr $ gnatmake -Ptest.gpr test.gpr:10:04: no value defined for "runtime" test.gpr:10:30: warning: undefined external reference test.gpr:13:04: no value defined for "mode" test.gpr:13:36: warning: undefined external reference librdf.gpr:11:25: warning: undefined external reference librdf.gpr:12:28: warning: undefined external reference librdf.gpr:15:04: no value defined for "runtime" librdf.gpr:15:30: warning: undefined external reference librdf.gpr:16:04: no value defined for "mode" librdf.gpr:16:36: warning: undefined external reference gnatmake: "test.gpr" processing failed > I am using GPS 6.0.1. I don't remember any problems in earlier versions. > > Since you are under Debian a wild guess is that there might be version > mismatch between gcc (and Ada tool chain) and GPS. GPS and gprbuild were > always way outdated under Debian. > > I did a quick check. The actual Debian version of GNAT is 4.9. gnat-gps > wants GNAT 4.6 and Gtk 2.24! I wouldn't touch it. Yes, there is a version mismatch. For example auto-generating body for a package does not work. Also Outline window in GPS does not work. -- Victor Porton - http://portonvictor.org