Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure in Ubuntu 15.04 #2

Closed
spiralgen opened this issue Aug 11, 2016 · 2 comments
Closed

Build failure in Ubuntu 15.04 #2

spiralgen opened this issue Aug 11, 2016 · 2 comments
Assignees

Comments

@spiralgen
Copy link

I run:

./build_ocarina.sh -s -u
./build_ocarina.sh -b

I get the following:

[2016-08-10-21:29] Reconfiguring (Ocarina): PASSED
[2016-08-10-21:29] First configure (Ocarina): PASSED
[2016-08-10-21:29] Doing 'make' (Ocarina): FAILED
...
...
...
gcc-4.9 -c -gnatec=/home/jason/Desktop/ocarina-build/ocarina/src/../projects/restrictions.adc -O2 -gnat12 -gnata -gnaty -gnatyu -gnatys -gnatpn -I- -gnatA /home/jason/Desktop/ocarina-build/ocarina/src/main/ocarina_cmd.adb
ocarina_cmd.adb:580:07: "Try_Help" is undefined
gnatmake: "/home/jason/Desktop/ocarina-build/ocarina/src/main/ocarina_cmd.adb" compilation error
Makefile:611: recipe for target 'ocarina-main.gpr-build' failed
make[1]: *** [ocarina-main.gpr-build] Error 4
make[1]: Leaving directory '/home/jason/Desktop/ocarina-build/ocarina/projects'
Makefile:414: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
@spiralgen
Copy link
Author

I was able to get the build to proceed by commenting out:

https://github.com/OpenAADL/ocarina/blob/master/src/main/ocarina_cmd.adb#L580

@yoogx yoogx self-assigned this Aug 11, 2016
@yoogx
Copy link
Contributor

yoogx commented Aug 11, 2016

Thanks for your report. Actually, Try_Help came from a later GNAT version. You may have more luck with GNAT GPL 2016 or GCC version above 5.2. Your work-around is OK, but you'll loose help from the CLI.

@yoogx yoogx closed this as completed Aug 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants