FAQ
crawshaw, hana, any ideas?

On Fri, Aug 28, 2015 at 9:23 AM, wrote:
Hello Goers
Anytime I run "gomobile init" I get:

gomobile: go install -p=4
-pkgdir=/home/mike/Devel/work/go/pkg/gomobile/pkg_android_arm std failed:
exit status 2
# runtime/cgo
In file included from
/home/mike/Devel/work/go/pkg/gomobile/android-ndk-r10e/arm/sysroot/usr/include/errno.h:31:0,
from /usr/local/go/src/runtime/cgo/cgo.go:52:
/usr/include/x86_64-linux-gnu/sys/cdefs.h:41:20: error: missing binary
operator before token "("
# if __GNUC_PREREQ (4, 6) && !defined _LIBC
^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:54:44: error: missing binary
operator before token "("
# if !defined __cplusplus && __GNUC_PREREQ (3, 3)
^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:59:44: error: missing binary
operator before token "("
# if defined __cplusplus && __GNUC_PREREQ (2,8)
^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:136:19: error: missing binary
operator before token "("
#if __GNUC_PREREQ (4,3)
^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:149:19: error: missing binary
operator before token "("
#if __GNUC_PREREQ (2,97)
^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:211:19: error: missing binary
operator before token "("
#if __GNUC_PREREQ (2,96)
^
......

Please let me know what I am doing wrong!
I tried it on two laptops, in Linux Mint, and Windows and I get the same
result.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 6 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedAug 27, '15 at 11:23p
activeSep 2, '15 at 3:40a
posts6
users4
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase