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

Compilation Syntax Error in Clan/source/parser.y #63

Open
ghost opened this issue Oct 9, 2019 · 5 comments
Open

Compilation Syntax Error in Clan/source/parser.y #63

ghost opened this issue Oct 9, 2019 · 5 comments

Comments

@ghost
Copy link

ghost commented Oct 9, 2019

Hello,

I am trying to install pluto on Mac OS with intel 19.0.0.117 compilers. I am using the latest commit in the master branch.
Following the installation steps, I successfully configure pluto with: ./configure CC=icc CXX=icpc. I get the following warnings and errors during compilation: make -j4

  CCLD     cloog
  CCLD     test/generate_test_advanced
ld: warning: directory not found for option '-L/lib'
ld: warning: directory not found for option '-L/lib'
Making all in clan
  YACC     source/parser.c
/Users/whj/Dev/pluto/clan/source/parser.y:226.27-34: syntax error, unexpected type, expecting string or identifier

Did I miss something? Thank you!

@bondhugula
Copy link
Owner

Sorry, if I didn't respond to this separately. Looks like this might be happening due to an old version of bison you may have. The configure check in clan was later fixed to enforce the right version, and will report an error now if that was the case.

@bondhugula
Copy link
Owner

bondhugula commented Mar 8, 2020

Bison 2.4 or later is needed to build clan. If you still see this issue, could you report your bison version?

$ bison --version

@ghost
Copy link
Author

ghost commented May 26, 2020 via email

@bondhugula
Copy link
Owner

The clan frontend doesn't support % in accesses. Instead, the pet frontend does. Can you try with --pet?

@ghost
Copy link
Author

ghost commented May 27, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant