-
Notifications
You must be signed in to change notification settings - Fork 79
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
Go build failing due to "multiple definition of" error #160
Comments
I think this may mean that your C compiler is too old, but I don't have a way to confirm that. |
Yeah the problem is inspite of using a centos7 image that has gcc7 installed, by default the image uses gcc4 only. This I confirmed by running bash of the image. I had to run |
Tried running |
Sorry I don't know what to do with centos 7, I don't use that myself. |
Getting below traceback while building go source code.
Found another similar issue, so tried using gcc7+ with centos7. But still got same error. After that tried using
--ldflags '-extldflags "-Wl,--allow-multiple-definition"'
flags along with go build but this time got below error.The text was updated successfully, but these errors were encountered: