apfeltee / c2ada

revised version of c2ada (http://c2ada.sf.net/)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not compilable for me

LeoVie opened this issue · comments

Hi,
how did you manage to make this compile? I get the same error as on the original package, wenn I run make in a Ubuntu docker container. Maybe you can help me?
It says

ada_name.o: In function `is_ada_keyword':
/c2ada/ada_name.c:78: undefined reference to `ada_keyword'
scan.o: In function `grok_ident':
/c2ada/scan.c:243: undefined reference to `in_word_set'
libcbind.a(cpp.o): In function `scan_directive':
/c2ada/cpp.c:1786: undefined reference to `cpp_keyword'
collect2: error: ld returned 1 exit status
make: *** [c2ada] Error 1

Thank you! :)

I managed to compile it after making some changes, but the error was different in my case. If you are still interested, or if someone comes here with the same problem, use my fork which works under Ubuntu 20.04 and Python 2.7. https://github.com/mgrojo/c2ada

I made the pull request, so my changes could be merged here. #2