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: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.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: Wed, 13 Aug 2014 23:10:31 +0300 Organization: Aioe.org NNTP Server Message-ID: References: <53ebbf4c$0$32613$862e30e2@ngroups.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: news.eternal-september.org comp.lang.ada:21735 Date: 2014-08-13T23:10:31+03:00 List-Id: Per Sandberg wrote: > postinstall for gprbuild has not been performed. > Run gprconfiog to correct to select the default compilers. > For further info see the manual. The problem was fixed by updating the package gprbuild. However a new problem appeared: -lraptor2 is not passed to the linker, what causes error messages about undefined symbols. I have in test.gpr package Compiler is for Default_Switches ("ada") use ("-g", "-O2", "-gnat2012"); end Compiler; package Linker is for Linker_Options use ("-lraptor2"); end Linker; You can view test.gpr file entirely at https://github.com/vporton/redland-bindings/blob/ada2012/ada/test.gpr > /Per > > > On 13.08.2014 21:33, Victor Porton wrote: >> Simon Wright wrote: >> >>> Victor Porton writes: >>> >>>> After upgrading GNAT GPS 5.0 -> 5.3 (Debian Linux) the project files >>>> stopped to work. >>>> >>>> I was forced to downgrade. >>>> >>>> What to do? How to upgrade the project files? >>> >>> No idea, since I can't see the error messages (if any) on your computer >>> screen. >>> >>> GPS uses gnatmake (or gprbuild) to do the actual build, so you should be >>> able to run the build just as well from the command line, which will >>> make it easier to see what's going wrong. >> >> From inside GNAT GPS: >> >> gprbuild -d -P/home/porton/Projects/redland-bindings/ada/test.gpr - >> XRUNTIME=full -XMODE=Install run_all_tests.adb --subdirs=check -cargs:Ada >> -g -O0 -gnato -fstack-check -gnatVa -cargs:C -g -O0 -fstack-check >> -cargs:C++ -g -O0 -fstack-check >> test.gpr:4:09: no languages defined for this project >> librdf.gpr:1:17: no languages defined for this project >> librdf.gpr:3:25: warning: libraries are not supported on this platform >> aunit_build.gpr:3:09: no languages defined for this project >> aunit_build.gpr:22:25: warning: libraries are not supported on this >> platform gprbuild: "/home/porton/Projects/redland-bindings/ada/test.gpr" >> processing failed >> [2014-08-13 22:29:54] process exited with status 4 (elapsed time: 00.40s) >> >> My project is available at >> >> https://github.com/vporton/redland-bindings/tree/ada2012 >> >>> And I don't recognise "GNAT GPS 5.0" (or "5.3"). Do you mean GNAT GPL >>> 2013/2014? (GPS comes as part of the compiler bundle from >>> libre.adacore.com now). Or is this in a Debian package? >> >> I use Debian package gnat-gps 5.3-2.2 with gnat 4.9. >> -- Victor Porton - http://portonvictor.org