Reputation: 16177
I've downloaded the code from the repository here, and have run the make
command after reading the README file (which is quite long, so I probably missed some things in it).
I'm getting a build error, the source of which is not altogether clear. The make
process terminates in the following:
compilation of asis-data_decomposition-set_get.adb failed
compilation of asis-text.adb failed
compilation of a4g-contt-dp.adb failed
gprbuild: *** compilation phase failed
See this pastebin for the full output of make
. What do I need to do to build ASIS (the end goal of which is to enable me to run the AdaControl build process)?
Upvotes: 0
Views: 246
Reputation: 25511
I see I need to provide something in my ASIS repo to make this clearer.
The purpose of that repo is to make public changes needed to the GPL (now CE) releases of ASIS to run with FSF GCC.
If you can switch compilers to GNAT GPL 2017, you can download the matching ASIS source from AdaCore (look for 'Sources'). Better, if you can switch to GNAT CE 2018, you’ll find it comes with ASIS already.
If you are fixed on the GNAT Pro compiler you seem to be using, you could try downloading the community (GPL) ASIS sources from as near a date as possible (2016?).
Upvotes: 1
Reputation: 6611
The most important comment in the README (I hope it is there) is that you have to use matching versions of GNAT and ASIS4GNAT, for anything to work.
Your compiler seems to be GNAT Pro 2.3.2, while the latest commit in the ASIS repository you use seems to be for GNAT GPL 2017. They are definitely not matching versions, so it shouldn't work.
You should find/download ASIS4GNAT for GNAT Pro 2.3.2 and build that. - Or switch compilers to GNAT GPL 2017.
Upvotes: 3