comp.lang.ada
 help / color / mirror / Atom feed
From: ldries46 <bertus.dries@planet.nl>
Subject: Re: unknown error mesage
Date: Wed, 17 Mar 2021 08:37:21 +0100	[thread overview]
Message-ID: <6051b1b4$0$31158$e4fe514c@news.kpn.nl> (raw)
In-Reply-To: <jht15gh51favj9lqqqboc5oehg08al1dlo@4ax.com>

Op 16-3-2021 om 19:21 schreef John McCabe:
> On Tue, 16 Mar 2021 18:49:21 +0100, ldries46 <bertus.dries@planet.nl>
> wrote:
>
>> During debugging an Ada program when building a new version I got the
>> following message:
>>
>> gprbuild -d -PD:\ada\project\Datum\Datum.gpr -j8
>> Bind
>>     [gprbind]      datum.bexch
>>     [Ada]          datum.ali
>> fatal error: file gtk.ali is incorrectly formatted
>> make sure you are using consistent versions of gcc/gnatbind
>> 56.  G a e
>>        |
>> gprbind: invocation of gnatbind failed
>> gprbuild: unable to bind datum.adb
>> [2021-03-16 18:40:50] process exited with status 4, 100% (63/63),
>> elapsed time: 02.63s
>>
>> I have already deleted all .ali files in the build directory, deleted
>> the Datum.exe file, reinstalled GtkAda en even reinstalled GNAT Studio
>> Community version 2020.
>>
>> Who can tell me what is message means and how to eliminate that
> I presume you've read this question with a similar issue?
>
> https://stackoverflow.com/questions/7576994/ada-strange-error-consistent-version-of-gcc-gnatbind
>
> The suggestion from that would appear to be that your gtk may have
> been built with a different version of GNAT, hence you might need to
> recompile the GtkAda library with whatever version of GNAT you've now
> got.
>
> However, did you download the GtkAda version matching the GNAT
> Community version from here - https://www.adacore.com/download/more?
Yesterday I downloaded and installed GtkAda and GNAT Studio again from 
the site you mentioned the error did not disappear.
In the mean time I tried to rebuild another project and it created a 
simular problem but with glib.ali
I read the stack overflow item but I think that is not the problem.
For reasons of tracebility I did not build GtkAda in the original 
directory but in C:/GNAT/GtkAda.
The last uodate of the OS was only a few days ago but after that it 
still worhed

  reply	other threads:[~2021-03-17  7:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-16 17:49 unknown error mesage ldries46
2021-03-16 18:21 ` John McCabe
2021-03-17  7:37   ` ldries46 [this message]
2021-03-17 12:06     ` Simon Wright
2021-03-17 13:17       ` ldries46
2021-03-17 20:29         ` Simon Wright
2021-03-18  6:08         ` ldries46
2021-03-18  9:11         ` ldries46
2021-03-18 11:40           ` Stephen Leake
2021-03-18 13:55             ` ldries46
2021-03-18 17:34           ` Simon Wright
2021-03-18 10:54         ` ldries46
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox