I tried to install mcumgr via go.
Unluckly, I can't resolve this error below.
16:14:24<mcumgr>$ go get github.com/apache/mynewt-mcumgr-cli/mcumgr
# github.com/apache/mynewt-mcumgr-cli/mcumgr
/home/local/SPREADTRUM/bub.wei/.cache/go-build/b7/b7551b9d44498f240b1bd0b22fb5a6314b56af8539c6633ba6c96de0761d0ac0-d(gccgo_c.o):in function ‘gccgoRealSyscall’:
/home/local/SPREADTRUM/bub.wei/gocode/src/mynewt.apache.org/newtmgr/vendor/golang.org/x/sys/unix/gccgo_c.c:25: `gccgoRealSyscall' multiple define
/home/local/SPREADTRUM/bub.wei/.cache/go-build/5b/5b9e63b1341935de29690adb6fd4ee8770c76b3a5bb4d060d1c010bbd8bfecb3-d(gccgo_c.o):/home/local/SPREADTRUM/bub.wei/gocode/src/mynewt.apache.org/newt/vendor/golang.org/x/sys/unix/gccgo_c.c:25:first define here
collect2: error: ld returned 1 exit status
I tried to install mcumgr via go. Unluckly, I can't resolve this error below.