i'm trying to compile an Ada project.
I installed the current 2011 GNAT GPL package from Libre AdaCore, it contains the gcc compiler too.
The strange error is the following
fatal error: file dom.ali is incorrectly formatted
make sure you are using consistent versions of gcc/gnatbind
if i type which gcc it gives me /usr/gnat/bin/gcc
if i type which gnatbind it gives me /usr/gnat/bin/gnatbind
The content of "the incorrectly formatted" file is the following
V "GNAT Lib v2011"
A -gnat05
A -gnatA
P ZX
R nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnnn
U dom%s dom.ads 2bd88f63 NE OO PK IU
D dom.ads 20090519080656 2bd88f63
D system.ads 20110419093140 2d1a1afa
X 1 dom.ads
44K9*DOM 46l5 46e8
Any clue?
Thank you in advance
Edit: gnatls -v
shows the following (formatted for readability),
GNATLS GPL 2011 (20110419)
Copyright (C) 1997-2011, Free Software Foundation, Inc. Source Search Path: <Current_Directory> /usr/gnat/lib/gcc/i686-pc-linux-gnu/4.5.3/adainclude/ Object Search Path: <Current_Directory> /usr/gnat/lib/gcc/i686-pc-linux-gnu/4.5.3/adalib/ Project Search Path: <Current_Directory> /usr/gnat/i686-pc-linux-gnu/lib/gnat /usr/gnat/share/gpr /usr/gnat/lib/gnat
Copyright (C) 1997-2011, Free Software Foundation, Inc. Source Search Path: