From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!feeder5.feed.usenet.farm!feeder1.feed.usenet.farm!feed.usenet.farm!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost2.xs4all.net!news.kpn.nl!not-for-mail Subject: Re: unknown error mesage Newsgroups: comp.lang.ada References: <6050efa3$0$30044$e4fe514c@news.kpn.nl> From: ldries46 Date: Wed, 17 Mar 2021 08:37:21 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: nl Message-ID: <6051b1b4$0$31158$e4fe514c@news.kpn.nl> NNTP-Posting-Host: f8a102fc.news.kpn.nl X-Trace: G=ARV+2o1p,C=U2FsdGVkX18byZusk3j79QQoJIy2kG17XcUe9tzulyMbnBBG9IAIOTJfZwF9aKhwmSlbm8L4mkSq9ZSDPxfvPw4uhEidPSmFqfKjlyc9X0I= X-Complaints-To: abuse@kpn.nl Xref: reader02.eternal-september.org comp.lang.ada:61572 List-Id: Op 16-3-2021 om 19:21 schreef John McCabe: > On Tue, 16 Mar 2021 18:49:21 +0100, ldries46 > 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