Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac m1 执行make build报错 #14

Open
onepiecefyf opened this issue Jan 13, 2023 · 1 comment
Open

mac m1 执行make build报错 #14

onepiecefyf opened this issue Jan 13, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@onepiecefyf
Copy link

d18n % make release
Go version check ...
go version go1.16.6 darwin/arm64
Run gofmt on all source files ...
gofmt -l -s -w ...
Building ...

github.com/sijms/go-ora/v2

../../go/pkg/mod/github.com/sijms/go-ora/[email protected]/parameter.go:393:7: undefined: sql.NullByte
../../go/pkg/mod/github.com/sijms/go-ora/[email protected]/parameter.go:405:7: undefined: sql.NullInt16
../../go/pkg/mod/github.com/sijms/go-ora/[email protected]/parameter.go:465:8: undefined: sql.NullByte
../../go/pkg/mod/github.com/sijms/go-ora/[email protected]/parameter.go:482:8: undefined: sql.NullInt16
../../go/pkg/mod/github.com/sijms/go-ora/[email protected]/parameter_decode_array.go:32:9: undefined: sql.NullInt16
../../go/pkg/mod/github.com/sijms/go-ora/[email protected]/parameter_decode_array.go:45:10: undefined: sql.NullInt16
../../go/pkg/mod/github.com/sijms/go-ora/[email protected]/parameter_decode_array.go:378:9: undefined: sql.NullByte
../../go/pkg/mod/github.com/sijms/go-ora/[email protected]/parameter_decode_array.go:391:10: undefined: sql.NullByte
../../go/pkg/mod/github.com/sijms/go-ora/[email protected]/parameter_encode_array.go:76:81: undefined: sql.NullByte
../../go/pkg/mod/github.com/sijms/go-ora/[email protected]/parameter_encode_array.go:93:82: undefined: sql.NullInt16
../../go/pkg/mod/github.com/sijms/go-ora/[email protected]/parameter_decode_array.go:391:10: too many errors
note: module requires Go 1.17
make: *** [build] Error 2

@martianzhang
Copy link
Contributor

may be some mod d18n import require Go 1.17+, try to upgrade your local go env version.

image

@martianzhang martianzhang added the help wanted Extra attention is needed label Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants