-
-
Notifications
You must be signed in to change notification settings - Fork 61
Fixed compiler and linker errors #185
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
base: master
Are you sure you want to change the base?
Conversation
this resolved my build issues as well, thank you for your PR! |
Seems similar to (but not exactly the same as) #171? |
+1 fixed my build issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is correct. Those variables already have a definition in glava/glava.c
so these declarations in the header should just be extern
.
For why this is necessary since GCC 10, see the changes for -fno-common
in the GCC 10 release notes and Porting to GCC 10 page.
This one is correct, that one is wrong. |
thanks for PR |
this pr fixed my issue thanks |
This pr solve the issue for Pop!_OS jammy 22.04 x86_64 |
I can confirm this PR solved my issue too. Why is this not merged, it was made almost 4 years ago! |
Simple,
|
Modyfing the files by hand seems error prone, and impractical for larger changes. The commands you want are:
|
This should fix undefined scope errors for fprintf, stdout, and logic_error in glfft, and prevent a multiple definition error for glava_abort and glava_return.