-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ludovic Brenta a écrit : > I agree that if we can get neither gnat-glade nor polyorb to work, we'll have > to > admit defeat. > > However I would suggest one last attempt. I see that libgarlic-dev contains > the > following files which are redundant with files in gnat-4.3: > > s-dsaser.ads > s-parint.adb > s-parint.ads > s-rpc.adb > s-rpc.ads > s-shasto.adb > s-shasto.ads > s-stratt.adb > > Are these files very different between gnat-4.3 and libgarlic-dev? > > My suggestion is to delete these files from libgarlic-dev, rebuild gnat-glade > using the files from gnat-4.3, and see what happens. Alternatively, we could > patch gnat-4.3 to use the files from libgarlic-dev but that would mean > gnat-4.3 > must migrate to the pure GPL :(
I have do the recompilation of gnat-glade with the gnat-4.3 files except for s-rpc.ad? files (too far from glade version in my humble opinion) I now get the following message : 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 distribution feature not supported compilation abandoned gnatmake: "central.ads" compilation error this is because of the following lines in s-parint.ads (gnat-4.3 version) type DSA_Implementation_Name is (No_DSA, GARLIC_DSA, PolyORB_DSA); DSA_Implementation : constant DSA_Implementation_Name := No_DSA; -- Identification of this DSA implementation variant If I change this to GARLIC_DSA I get : 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 central.ads:2:01: unmatched actual "Version" central.ads:2:01: in instantiation of "RCI_Locator" declared at s-parint.ads:180 gnatmake: "central.ads" compilation error - From wherever you try to find a way to compile things it is broken. Annex E implementation is very mixed with compiler design. I don't see where to go except working on polyorb support (which mean lots of debbuging and no Annex E for next Debian stable release) xavier PS:glade compilation fail with s-rpc.ad? files from gnat-4.3 s-rpcser.adb:99:29: "Session_Type" not declared in "RPC" s-rpcser.adb:107:29: "Session_Type" not declared in "RPC" s-rpcser.adb:144:19: "Session_Type" is undefined s-rpcser.adb:184:19: "Session_Type" is undefined s-rpcser.adb:219:19: "Session_Type" is undefined s-rpcser.adb:339:10: "When_Established" is undefined s-rpcser.adb:355:37: "RPC_Header" is undefined s-rpcser.adb:360:19: "Insert_RPC_Header" is undefined s-rpcser.adb:388:34: "RPC_Header" is undefined s-rpcser.adb:392:16: "Insert_RPC_Header" is undefined s-rpcser.adb:502:07: too many arguments in call to "Finalize" s-rpcser.adb:505:10: "Session_Type" is undefined s-rpcser.adb:535:37: "No_Session" is undefined s-rpcser.adb:576:04: "Register_Task_Pool" is undefined -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiJkSYACgkQVIZi0A5BZF45SgCdEkYWnSCSYEfUr2YyN2KrCV+i zgcAn0jNeDRU7kWwAPiHyEE3Lv50/yrP =kiik -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]