-
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
x/mobile/cmd/gomobile: fork/exec arm-linxu-androideabi-nm: no such file or directory #16268
Comments
我下载了android-ndk-r12b-linux-x86_64.zip,将对应的文件拷贝到pkg/gomobile/android-ndk-r12对应目录下,可以正常编译。 |
谢谢!That led me to the fix that appears to be in progress: |
CL https://golang.org/cl/24724 mentions this issue. |
@axengine Hi, can you share what you exactly did for a workaround? I have tried downloading NDK r12b and put it in |
Still getting "/pkg/gomobile/android-ndk-r12/arm/bin/arm-linux-androideabi-nm: no such file or directory" even after applying Elias' latest patches @ https://go-review.googlesource.com/#/c/24724/ locally. No "b" joy to be had. Tried mucking about with the suggestions from @axengine & @hyangah, but no joy from my efforts there either (although take those efforts with a large, ham fisted flavor of newbie salt). Guess I'll just turn my attention to the working iOS example until this is sorted and wait patiently for Elias to figure out the issue. (Good luck and thanks Elias & others!) |
Sorry for the delay. I will update this bug once the NDK release is approved. |
they are uploaded. |
Works as intended, thanks! |
Great work 👍 |
gomobile build uses the nm tool which was missing from the NDK r12 upgrade. I missed it because gomobile bind works without it. Make release.go include nm and upgrade to NDK r12b to make avoid name clashes with the already released, but inadequate, NDK r12 files. Finally, update the cmd/gomobile tests to match the new clang reality. Fixes golang/go#16268 Change-Id: Ic0cbf75785baace1fe6e88c8dc72d83ce2e13b35 Reviewed-on: https://go-review.googlesource.com/24724 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
gomobile build uses the nm tool which was missing from the NDK r12 upgrade. I missed it because gomobile bind works without it. Make release.go include nm and upgrade to NDK r12b to make avoid name clashes with the already released, but inadequate, NDK r12 files. Finally, update the cmd/gomobile tests to match the new clang reality. Fixes golang/go#16268 Change-Id: Ic0cbf75785baace1fe6e88c8dc72d83ce2e13b35 Reviewed-on: https://go-review.googlesource.com/24724 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TL;DR
gomobile build
results in:What version of Go are you using (
go version
)?go version go1.6.2 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
We're running tests on travis, including testing if
gomobile build
succeeds. This is the error that occurs:Related travis build log: https://travis-ci.org/EngoEngine/engo/builds/142017612#L373
What did you expect to see?
Expected build to pass.
What did you see instead?
Build failed.
The text was updated successfully, but these errors were encountered: