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

macos build error #2

Closed
dsm opened this issue May 6, 2024 · 3 comments · Fixed by #3
Closed

macos build error #2

dsm opened this issue May 6, 2024 · 3 comments · Fixed by #3
Labels

Comments

@dsm
Copy link
Contributor

dsm commented May 6, 2024

Hi, I'm fixing macos build. I changed cmake file to solve VERSION file error and some compiler warning. But every time I get this error. Linux build succesfull btw.

https://github.com/dsm/qucsator_rf/actions/runs/8970309257

[ 57%] Generating parse_citi.hpp, parse_citi.cpp
[ 58%] Generating scan_zvr.cpp
[ 59%] Generating parse_mdl.hpp, parse_mdl.cpp
[ 59%] Generating parse_touchstone.hpp, parse_touchstone.cpp
[ 59%] Generating parse_dataset.hpp, parse_dataset.cpp
[ 59%] Generating parse_zvr.hpp, parse_zvr.cpp
[ 60%] Generating scan_touchstone.cpp
[ 61%] Generating parse_csv.hpp, parse_csv.cpp
[ 61%] Generating scan_csv.cpp
[ 61%] Generating scan_dataset.cpp
[ 61%] Generating scan_citi.cpp
[ 63%] Generating scan_netlist.cpp
[ 62%] Generating scan_mdl.cpp
[ 63%] Generating parse_netlist.hpp, parse_netlist.cpp
/Users/runner/work/qucsator_rf/qucsator_rf/src/parse_dataset.ypp:52.14-23: syntax error, unexpected string, expecting =
make[2]: *** [src/parse_dataset.hpp] Error 1
make[2]: *** Waiting for unfinished jobs....
/Users/runner/work/qucsator_rf/qucsator_rf/src/parse_touchstone.ypp:52.14-26: syntax error, unexpected string, expecting =
make[2]: *** [src/parse_touchstone.hpp] Error 1
/Users/runner/work/qucsator_rf/qucsator_rf/src/parse_csv.ypp:52.14-19: syntax error, unexpected string, expecting =
make[2]: *** [src/parse_csv.hpp] Error 1
/Users/runner/work/qucsator_rf/qucsator_rf/src/parse_netlist.ypp:49.14-23: syntax error, unexpected string, expecting =
/Users/runner/work/qucsator_rf/qucsator_rf/src/parse_mdl.ypp:52.14-19: syntax error, unexpected string, expecting =
make[2]: *** [src/parse_netlist.hpp] Error 1
make[2]: *** [src/parse_mdl.hpp] Error 1
/Users/runner/work/qucsator_rf/qucsator_rf/src/parse_citi.ypp:52.14-20: syntax error, unexpected string, expecting =
make[2]: *** [src/parse_citi.hpp] Error 1
/Users/runner/work/qucsator_rf/qucsator_rf/src/parse_zvr.ypp:52.14-19: syntax error, unexpected string, expecting =
make[2]: *** [src/parse_zvr.hpp] Error 1
make[1]: *** [src/CMakeFiles/libqucsator.dir/all] Error 2
make: *** [all] Error 2
Error: Process completed with exit code 2.
@ra3xdh
Copy link
Owner

ra3xdh commented May 6, 2024

Probably you are using yacc instead of bison. It has some syntax difference.

@ra3xdh ra3xdh added the mac label May 6, 2024
@dsm
Copy link
Contributor Author

dsm commented May 6, 2024

it uses bison

[ 59%] Generating parse_csv.hpp, parse_csv.cpp
cd /Users/runner/work/qucsator_rf/qucsator_rf/build/src && /usr/bin/bison --defines=parse_citi.hpp --output=parse_citi.cpp /Users/runner/work/qucsator_rf/qucsator_rf/src/parse_citi.ypp

@dsm
Copy link
Contributor Author

dsm commented May 6, 2024

#3 will solve this.

@ra3xdh ra3xdh linked a pull request May 7, 2024 that will close this issue
@ra3xdh ra3xdh closed this as completed in #3 May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants