erreur de bibibliothèque au 1011ieme rappel. - Ada - Programmation
Marsh Posté le 07-09-2012 à 23:56:41
Bonsoir,
selperformer.version ::= 0. 30. 60 gnatmake: "selfperformer" up to date. Success selperformer.version ::= 0. 30. 61 gnatmake: "selfperformer" up to date. Success selperformer.version ::= 0. 30. 62 ./selfperformer: error while loading shared libraries: libgnat-4.4.so.1: cannot open shared object file: Error 24
J'ai cette erreur au 1011ieme appel de ce code.
with Text_Io; with System.OS_Lib;use System; with Sp.Version, Sp.Versions;use Sp.Versions;use Sp; procedure Selfperformer is Success : Boolean;begin -- compilling; declare Normal_Args : Os_Lib.Argument_List(1..2) := (new String ' ("src/selfperformer.adb" ), new String ' ("-aI./src/lib" )); Compiler_Name : Os_Lib.String_Access := new String ' ("/usr/bin/gnatmake" ); begin Os_Lib.Normalize_Arguments(Normal_Args); Os_Lib.Spawn(Compiler_Name.all, Normal_Args, success); end; delay 0.02; -- call self if Success then Text_Io.Put_line("Success" ); declare Bin : Os_Lib.String_Access := new String ' ("./selfperformer" ); Normal_Args : Os_Lib.Argument_List(1..1) := (1 => new String ' ("" )); Self_id : Os_Lib.Process_Id; begin Version.Running_Version := Upgrade(Version.Running_Version); Text_Io.Put_Line("selperformer.version ::= " & Image(Version.Running_Version)); Os_Lib.Normalize_Arguments(Normal_Args); self_Id := Os_Lib.Non_Blocking_Spawn(bin.all, Normal_Args); end; end if; end Selfperformer;
Vous auriez une soluce pour outre passer cette limite ? Merci.
Make sure you enter the(*)required information where indicate.HTML code is not allowed
Marsh Posté le 07-09-2012 à 23:56:41
Bonsoir,
selperformer.version ::= 0. 30. 60
gnatmake: "selfperformer" up to date.
Success
selperformer.version ::= 0. 30. 61
gnatmake: "selfperformer" up to date.
Success
selperformer.version ::= 0. 30. 62
./selfperformer: error while loading shared libraries: libgnat-4.4.so.1: cannot open shared object file: Error 24
J'ai cette erreur au 1011ieme appel de ce code.
Vous auriez une soluce pour outre passer cette limite ?
Merci.
Message édité par Profil supprimé le 08-09-2012 à 00:01:30