Closed hardfist closed 9 years ago
Although you indicate you have GCC 4.8, the command line indicates you use 4.6. GCC 4.8 is now mandatory for PolyORB-HI/Ada due to SPARK annotations
Thanks,but when I replace it with gcc4.8,It cause the same error.
make[4]: Entering directory `/home/yj/openaadl/ocarina/resources/runtime/polyorb-hi-ada/examples/aadlv2/device_drivers/the_demo_impl/node_1'
ADA_PROJECT_PATH="/usr/local/include/ocarina/runtime/polyorb-hi-ada:$ADA_PROJECT_PATH" \
gnatmake -x -Pnode_1.gpr -XTARGET=NATIVE -XBUILD=Debug -XCGCTRL=No -largs
polyorb_hi.gpr:172:07: warning: value "Analyzable" is not used as label
gcc-4.8 -c -g -gnatec=/usr/local/include/ocarina/runtime/polyorb-hi-ada/gnat.adc -gnatec=/usr/local/include/ocarina/runtime/polyorb-hi-ada/native.adc -gnatwa -gnatwG -gnat12 -g -O1 -gnata -gnato -I- -gnatA /home/yj/openaadl/ocarina/resources/runtime/polyorb-hi-ada/examples/aadlv2/device_drivers/the_demo_impl/node_1/node_1.adb
/usr/local/include/ocarina/runtime/polyorb-hi-ada/gnat.adc:19:01: unrecognized pragma in configuration file
gnatmake: "/home/yj/openaadl/ocarina/resources/runtime/polyorb-hi-ada/examples/aadlv2/device_drivers/the_demo_impl/node_1/node_1.adb" compilation error
make[4]: *** [all] Error 4
make[4]: Leaving directory `/home/yj/openaadl/ocarina/resources/runtime/polyorb-hi-ada/examples/aadlv2/device_drivers/the_demo_impl/node_1'
Backends: fatal error : /usr/bin/make died unexpectedly
On second thought, you cannot remove it, as there are also pragma SPARK_Mode in the course code. You'll have to update to GCC 4.9, or GPL 2014
when I run support/reconfig It generates the following message.
then I build examples and it fails.