-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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 error:libc.h:300:error: redefinition of 'sruct timespec' #4036
Labels
Comments
Hi Alex, MinGW compiler. I used the instructions from: http://golang.org/doc/install/source is that the info you need? Deb |
It works fine here with my old compiler: C:\>gcc --version gcc (tdm-1) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. It also works with the one I just installed: C:\>gcc --version gcc (GCC) 4.6.2 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. What version do you use? Also, please, show us what "gcc -dumpmachine" prints? Thank you. Alex |
I'll try it with my PC at work later this week. I must have messed something up at some point. gcc ver: gcc (GCC) 4.4.3 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. gcc dumpmachine: i686-w64-mingw32 deb |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by dakstr:
The text was updated successfully, but these errors were encountered: