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 fails on Ubuntu ARM running in Parallels on Mac M1 #21

Open
EmbeddedSam opened this issue Mar 29, 2023 · 1 comment
Open

Build fails on Ubuntu ARM running in Parallels on Mac M1 #21

EmbeddedSam opened this issue Mar 29, 2023 · 1 comment

Comments

@EmbeddedSam
Copy link

EmbeddedSam commented Mar 29, 2023

error: size of array ‘altStackMem’ is not an integral constant-expression

 6631 |     char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
      |                                             ^~~~~~~~
make[2]: *** [CMakeFiles/run_tests.dir/build.make:76: CMakeFiles/run_tests.dir/catch/test_main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/run_tests.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I deleted the -werror -m32 from the CMakeLists.txt to avoid the error mentioned in #15 but now this one. Any idea on how to fix please?

@tridge
Copy link
Member

tridge commented Jun 18, 2023

those variables aren't in libcanard at all, so this must be something related to your environment

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

2 participants