You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I compile the bank application in the PolyORB examples or my own DSA application I get an error referring to 'a-sttebu.ali' and 'a-sttebu.ads', which I believe is new in GNAT 2022.
I found this 'workaround' ...
In the folder from which po_gnatdist is invoked ...
When I compile the bank application in the PolyORB examples or my own DSA application I get an error referring to 'a-sttebu.ali' and 'a-sttebu.ads', which I believe is new in GNAT 2022.
I found this 'workaround' ...
In the folder from which po_gnatdist is invoked ...
$ cp /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/adainclude/a-sttebu.ads .
$ mkdir --parents dsa/x86_64-unknown-linux-gnu/obj
$ cp /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/adalib/a-sttebu.ali dsa/x86_64-unknown-linux-gnu/obj/
I am using Arch linux and GCC '13.2.1'.
I have tried building polyorb with the '-gnat2022' flag in place of '-gnat12', unfortunately to no avail.
The full error messages are ...
[rod@orth bank]$ po_gnatdist simcity.cfg
/usr/bin/gnat list polyorb.ali -Ppolyorb -s -aP/usr/lib/gnat
/usr/bin/gprbuild simcity_monolithic_app.adb -c -P /tmp/makepkg/polyorb/src/PolyORB/examples/dsa/bank/dsa/x86_64-unknown-linux-gnu/simcity_dist_app.gpr -margs -aP/usr/lib/gnat
Compile
[Ada] simcity_monolithic_app.adb
[Ada] client.adb
[Ada] manager.adb
[Ada] polyorb-dsa_p-partitions.adb
[Ada] server.adb
[Ada] message.adb
[Ada] terminal.ads
[Ada] types.ads
[Ada] bank.adb
[Ada] alarm.ads
/usr/bin/gnat list simcity_monolithic_app.ali -V -P /tmp/makepkg/polyorb/src/PolyORB/examples/dsa/bank/dsa/x86_64-unknown-linux-gnu/simcity_dist_app.gpr -aP/usr/lib/gnat
/usr/bin/gnat list a-sttebu.ali client.ali manager.ali polyorb.ali polyorb-dsa_p.ali polyorb-dsa_p-partitions.ali server.ali -V -P /tmp/makepkg/polyorb/src/PolyORB/examples/dsa/bank/dsa/x86_64-unknown-linux-gnu/simcity_dist_app.gpr -aP/usr/lib/gnat
Can't find source for a-sttebu.ali
/usr/bin/gnat compile /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/adainclude/a-sttebu.adb -gnatc -P /tmp/makepkg/polyorb/src/PolyORB/examples/dsa/bank/dsa/x86_64-unknown-linux-gnu/simcity_dist_app.gpr -margs -aP/usr/lib/gnat
gprbuild: "/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/adainclude/a-sttebu.adb" was not found in the sources of any project
/usr/bin/gnat list a-sttebu.ali -V -P /tmp/makepkg/polyorb/src/PolyORB/examples/dsa/bank/dsa/x86_64-unknown-linux-gnu/simcity_dist_app.gpr -aP/usr/lib/gnat
Can't find source for a-sttebu.ali
po_gnatdist: failed to load ALI for /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/adainclude/a-sttebu.adb
po_gnatdist: *** can't continue
Regards.
The text was updated successfully, but these errors were encountered: