-
Notifications
You must be signed in to change notification settings - Fork 18k
Can't build any projects on ubuntu 24.04 #69356
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
Comments
Related Issues and Documentation
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
you're using a C++ compiler for C |
Duplicate of #27186 |
I hope this helps the next person: If you run into this while cross-compiling, check whether your "gcc"is a "g++":
(Honestly, I might be putting this here for when my future-self hits this, still has a goldfish memory, and doesn't recall) |
Windows 11 same. if using gcc
if using g++
|
@doglex This issue is closed. Note that it doesn't make sense to say |
I want do some cross-compling, compile some dynamic library for linux from windows. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
When I try to go build on any project I have those errors
I'm using ubuntu 24.04
The text was updated successfully, but these errors were encountered: