Hi All,
We are trying to integrate meta-edgex layer to imx6 board, getting the errors related to the go language. currently we are working with the yocto 3.4(Honister) and edgex release fuji, i am new to the edgex and go language, didn't get much help from any forum.
Please let us know if any one done this activity for imx boards irrespective of yocto& edgex version
Please provide your comments on this, attaching the erro msg.
Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 20 | CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-go.Version=1.1.0" -o cmd/config-seed/config-seed ./cmd/config-seed | CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-go.Version=1.1.0" -o cmd/export-client/export-client ./cmd/export-client | CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-go.Version=1.1.0" -o cmd/export-distro/export-distro ./cmd/export-distro | CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-go.Version=1.1.0" -o cmd/core-metadata/core-metadata ./cmd/core-metadata | CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-go.Version=1.1.0" -o cmd/core-data/core-data ./cmd/core-data | CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-go.Version=1.1.0" -o cmd/core-command/core-command ./cmd/core-command | CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-go.Version=1.1.0" -o cmd/support-logging/support-logging ./cmd/support-logging | CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-go.Version=1.1.0" -o cmd/support-notifications/support-notifications ./cmd/support-notifications | go: bitbucket.org/bertimus9/systemstat@v0.0.0-20180207000608-0eeff89b0690: missing go.sum entry; to add it: | go mod download bitbucket.org/bertimus9/systemstat | CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-go.Version=1.1.0" -o cmd/sys-mgmt-executor/sys-mgmt-executor ./cmd/sys-mgmt-executor | go: bitbucket.org/bertimus9/systemstat@v0.0.0-20180207000608-0eeff89b0690: missing go.sum entry; to add it: | go mod download bitbucket.org/bertimus9/systemstat | go: bitbucket.org/bertimus9/systemstat@v0.0.0-20180207000608-0eeff89b0690: missing go.sum entry; to add it: | go mod download bitbucket.org/bertimus9/systemstat | make: *** [Makefile:32: cmd/config-seed/config-seed] Error 1 | go: bitbucket.org/bertimus9/systemstat@v0.0.0-20180207000608-0eeff89b0690: missing go.sum entry; to add it: | go mod download bitbucket.org/bertimus9/systemstat | make: *** Waiting for unfinished jobs.... | make: *** [Makefile:44: cmd/export-client/export-client] Error 1 | make: *** [Makefile:47: cmd/export-distro/export-distro] Error 1 | make: *** [Makefile:35: cmd/core-metadata/core-metadata] Error 1 | go: bitbucket.org/bertimus9/systemstat@v0.0.0-20180207000608-0eeff89b0690: missing go.sum entry; to add it: | go mod download bitbucket.org/bertimus9/systemstat | make: *** [Makefile:38: cmd/core-data/core-data] Error 1 | go: bitbucket.org/bertimus9/systemstat@v0.0.0-20180207000608-0eeff89b0690: missing go.sum entry; to add it: | go mod download bitbucket.org/bertimus9/systemstat | make: *** [Makefile:41: cmd/core-command/core-command] Error 1 | go: bitbucket.org/bertimus9/systemstat@v0.0.0-20180207000608-0eeff89b0690: missing go.sum entry; to add it: | go mod download bitbucket.org/bertimus9/systemstat | make: *** [Makefile:50: cmd/support-logging/support-logging] Error 1 | go: bitbucket.org/bertimus9/systemstat@v0.0.0-20180207000608-0eeff89b0690: missing go.sum entry; to add it: | go mod download bitbucket.org/bertimus9/systemstat | go: bitbucket.org/bertimus9/systemstat@v0.0.0-20180207000608-0eeff89b0690: missing go.sum entry; to add it: | go mod download bitbucket.org/bertimus9/systemstat | make: *** [Makefile:53: cmd/support-notifications/support-notifications] Error 1 | make: *** [Makefile:56: cmd/sys-mgmt-executor/sys-mgmt-executor] Error 1 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command.
Thanks in Advance!
Hello,
the nxp BSP don't have the proper packages to build go lenguage you have to build a tested separately or make sure that go works well in ARM processor.
Regards