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

go 1.22.10 kaia v1.0.3 build error #196

Closed
ly283660766 opened this issue Jan 1, 2025 · 1 comment
Closed

go 1.22.10 kaia v1.0.3 build error #196

ly283660766 opened this issue Jan 1, 2025 · 1 comment

Comments

@ly283660766
Copy link

Freely describe your questions or issues here.
i met a problem when docker building on mac, "CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build", errors as follows:

110.2 go: downloading github.com/klauspost/cpuid v1.2.1
155.0 # github.com/supranational/blst/bindings/go
155.0 /go/pkg/mod/github.com/supranational/[email protected]/bindings/go/rb_tree.go:130:18: undefined: Message
157.0 # github.com/kaiachain/kaia/crypto/secp256k1
157.0 /go/pkg/mod/github.com/kaiachain/[email protected]/crypto/secp256k1/scalar_mult_nocgo.go:12:17: undefined: BitCurve
157.0 /go/pkg/mod/github.com/kaiachain/[email protected]/crypto/secp256k1/schnorr.go:27:27: undefined: BitCurve
157.0 /go/pkg/mod/github.com/kaiachain/[email protected]/crypto/secp256k1/schnorr.go:63:8: undefined: ScMul
157.0 /go/pkg/mod/github.com/kaiachain/[email protected]/crypto/secp256k1/schnorr.go:64:7: undefined: ScSub
157.0 /go/pkg/mod/github.com/kaiachain/[email protected]/crypto/secp256k1/schnorr.go:71:23: undefined: BitCurve
157.0 /go/pkg/mod/github.com/kaiachain/[email protected]/crypto/secp256k1/schnorr.go:164:35: undefined: BitCurve
157.0 /go/pkg/mod/github.com/kaiachain/[email protected]/crypto/secp256k1/schnorr.go:172:6: undefined: ScMul
157.0 /go/pkg/mod/github.com/kaiachain/[email protected]/crypto/secp256k1/schnorr.go:187:9: undefined: ScSub
157.0 /go/pkg/mod/github.com/kaiachain/[email protected]/crypto/secp256k1/schnorr.go:187:18: undefined: ScMul

@ly283660766
Copy link
Author

solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant