>> error: "s-stratt.adb" must be compiled
>> error: ("/usr/lib/ada/adalib/garlic/s-stratt.ali" is obsolete and
>> read-only)
>> error: "s-finimp.adb" must be compiled
>> error:
>> ("/tools/gnat_2007/lib/gcc/i686-pc-linux-gnu/4.1.3/rts-sjlj/adalib/s-finimp.ali"
>> is obsolete and read-only)
>
> This suggests that both GNAT GPL 2007 and gnat-4.3 are being mixed
> together, which might explain the failure to bind.
>
> Are you sure /tools/gnat_2007/bin is absent from your $PATH?  Also,
> could you please post the command line you use to compile and pass -v
> to gnatmake?  (i.e. have gnatmake tell us what program it calls).

Sorry, in fact I have mixed different gcc version (gnat gpl 2007 is for
lovelace).

Here is the new message with PATH=/usr/local/bin:/usr/bin:/bin:/usr/games

[EMAIL PROTECTED]:~/tmp/test1$ make clean
rm -f *~ *.o *.ali depart base_client base_objets b~*.ad[sb]
rm -Rf dsa
[EMAIL PROTECTED]:~/tmp/test1$ make
gnatdist tst.cfg
gcc-4.3 -c -O0 --RTS=sjlj -I/usr/share/ada/adainclude/garlic partition.adb
gcc-4.3 -c -O0 --RTS=sjlj -I/usr/share/ada/adainclude/garlic central.adb
gcc-4.3 -c -O0 --RTS=sjlj -I/usr/share/ada/adainclude/garlic client.adb
gcc-4.3 -c -O0 --RTS=sjlj -I/usr/share/ada/adainclude/garlic dummy.adb
gcc-4.3 -c -O0 --RTS=sjlj -I/usr/share/ada/adainclude/garlic objets_proc.adb
gcc-4.3 -c -O0 --RTS=sjlj -I/usr/share/ada/adainclude/garlic objets.adb
gcc-4.3 -c -O0 --RTS=sjlj -I/usr/share/ada/adainclude/garlic un_objet.ads
gnatdist: checking configuration consistency
 ------------------------------
 ---- Configuration report ----
 ------------------------------
Configuration :
   Name        : tst
   Main        : dummy
   Starter     : none

Partition depart
   Main        : dummy
   Units       :
             - central (rci)
             - dummy (normal)

Partition base_client
   Main        : client
   Termination : local
   Units       :
             - client (normal)

Partition base_objets
   Main        : objets_proc
   Termination : global
   Units       :
             - objets_proc (normal)

 -------------------------------
gnatdist: building central caller stubs from central.ads
gcc-4.3 -c -gnatzc -O0 --RTS=sjlj -I/usr/share/ada/adainclude/garlic -o
dsa/stubs/central.o central.ads
PCS version mismatch
compilation abandoned
gnatmake: "central.ads" compilation error
gnatdist: building central receiver stubs from central.adb
gcc-4.3 -c -gnatzr -O0 --RTS=sjlj -I/usr/share/ada/adainclude/garlic -o
dsa/partitions/tst/depart/central.o central.adb
PCS version mismatch
compilation abandoned
gnatmake: "central.adb" compilation error
gnatdist: building partition depart
gcc-4.3 -c -gnatpg -Idsa/partitions/tst/depart -Idsa/stubs -I. -O0
--RTS=sjlj -I/usr/share/ada/adainclude/garlic -I- -o
dsa/partitions/tst/depart/s-garela.o
dsa/partitions/tst/depart/s-garela.adb
gcc-4.3 -c -Idsa/partitions/tst/depart -Idsa/stubs -I. -O0 --RTS=sjlj
-I/usr/share/ada/adainclude/garlic -I- -o
dsa/partitions/tst/depart/partition.o
dsa/partitions/tst/depart/partition.adb
gnatbind -Idsa/partitions/tst/depart -Idsa/stubs -I. --RTS=sjlj
-aI/usr/share/ada/adainclude/garlic -aO/usr/lib/ada/adalib/garlic -x
/home/xavier/tmp/test1/dsa/partitions/tst/depart/partition.ali
error: "s-garrem.adb" must be compiled
error: ("/usr/lib/ada/adalib/garlic/s-garrem.ali" is obsolete and read-only)
error: "s-gaprco.adb" must be compiled
error: ("/usr/lib/ada/adalib/garlic/s-gaprco.ali" is obsolete and read-only)
error: "s-gaprtc.adb" must be compiled
error: ("/usr/lib/ada/adalib/garlic/s-gaprtc.ali" is obsolete and read-only)
error: "s-gptcse.adb" must be compiled
error: ("/usr/lib/ada/adalib/garlic/s-gptcse.ali" is obsolete and read-only)
gnatmake: *** bind failed.
make: *** [all] Erreur 1


The problem isn't the same this time : we come to the PCS version problem
that can't be solve without lot's of work (IMHO) because GNAT GPL 2007 is
incompatible with gcc 4.3 backend for garlic.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to