x/mobile: "gomobile bind" errors are not descriptive #11950
I never had issues when compiling a single file package, without referencing other packages.
For the first time I tried to add references to structs defined in other packages and I get this error, which I don't understand what it means:
./gomobile: go build -p=8 -pkgdir=/Users/daniele/GoDev/pkg/gomobile/pkg_android_arm -tags="" -buildmode=c-shared -o=/var/folders/pt/ync64j011ysc_t3nvbzlk2wr0000gn/T/gomobile-work-804429490/android/src/main/jniLibs/armeabi-v7a/libgojni.so /var/folders/pt/ync64j011ysc_t3nvbzlk2wr0000gn/T/gomobile-work-804429490/androidlib/main.go failed: exit status 2
/usr/local/go/pkg/tool/darwin_amd64/link: running /Users/daniele/GoDev/pkg/gomobile/android-ndk-r10e/arm/bin/arm-linux-androideabi-gcc failed: exit status 1
The text was updated successfully, but these errors were encountered: