-
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
cmd/cgo: strdup(0): not defined #7555
Labels
Comments
fileno(0): not defined Attachments:
|
I can see this C:\go\path\mine\src\issue7555>go test -v # testmain issue7555(.text): undefined: strdup issue7555(.text): undefined: fileno FAIL issue7555 [build failed] C:\go\path\mine\src\issue7555>gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=c:/go/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.7.0/lt o-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../../../build/gcc/src/configure --target=x86_64-w64-mingw32 --prefix=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root --with-sysroot=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root --enable-languages=all,obj-c++ --enable-fully-dynamic-string --disable-multilib Thread model: win32 gcc version 4.7.0 20111212 (experimental) (GCC) C:\go\path\mine\src\issue7555>hg -R %GOROOT% id 299229ac4300+ tip Alex |
Others running into the same issue at: - go-gl/glfw#82 (comment) wanted to give a heads up. |
I'm seeing the same basic error when trying to use the gomdb package (or run its test) under Windows with mingw64. It builds fine by itself. The error is: github.com/szferi/gomdb(.text): undefined: strdup github.com/szferi/gomdb(text_env): undefined: strdup This is with go version go1.3.1 windows/amd64 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by runner.mei:
Attachments:
The text was updated successfully, but these errors were encountered: