When trying to build the binaries according to the compilation steps described in the README.md with go 1.16.6 I receive the following error message:
# make -f Makefile-CSI PLATFORM=X86
mkdir -p ./bin
go build -o ./bin/huawei-csi ./src/csi
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile-CSI:11: DIFF] Error 1
Even if I try to explicitly disable it I received another error:
# GO111MODULE=off make -f Makefile-CSI PLATFORM=X86
mkdir -p ./bin
go build -o ./bin/huawei-csi ./src/csi
src/vendor/golang.org/x/net/http2/frame.go:17:2: use of vendored package not allowed
src/vendor/google.golang.org/grpc/internal/transport/controlbuf.go:29:2: use of vendored package not allowed
src/vendor/golang.org/x/net/http2/transport.go:35:2: use of vendored package not allowed
make: *** [Makefile-CSI:11: DIFF] Error 1
Here's the output from go version for your reference:
When trying to build the binaries according to the compilation steps described in the README.md with go 1.16.6 I receive the following error message:
Even if I try to explicitly disable it I received another error:
Here's the output from
go version
for your reference: