-
Notifications
You must be signed in to change notification settings - Fork 38
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
Makefiles error when build geth #58
Comments
and gcc version is 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) |
pls refer https://github.com/bnb-chain/bsc/blob/master/README.md
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[root@192 bsc]# go version
go version go1.21.5 linux/amd64
###make geth find errors####
[root@192 bsc]# make geth
go run build/ci.go install ./cmd/geth -std=c99
github.com/supranational/blst/bindings/go
/root/go/pkg/mod/github.com/supranational/blst@v0.3.11/bindings/go/blst.go: In function 'go_pairing_init':
/root/go/pkg/mod/github.com/supranational/blst@v0.3.11/bindings/go/blst.go:44:10: error: 'for' loop initial declarations are only allowed in C99 mode
// for(size_t i = 0; i < DST_len; i++) dst[i] = DST[i];
^
/root/go/pkg/mod/github.com/supranational/blst@v0.3.11/bindings/go/blst.go:44:10: note: use option -std=c99 or -std=gnu99 to compile your code
^Csignal: interrupt
make: *** [geth] Error 1
###if not use-std=c99###
go run build/ci.go install ./cmd/geth
github.com/supranational/blst/bindings/go
/root/go/pkg/mod/github.com/supranational/blst@v0.3.11/bindings/go/blst.go: In function 'go_pairing_init':
/root/go/pkg/mod/github.com/supranational/blst@v0.3.11/bindings/go/blst.go:44:10: error: 'for' loop initial declarations are only allowed in C99 mode
// for(size_t i = 0; i < DST_len; i++) dst[i] = DST[i];
^
/root/go/pkg/mod/github.com/supranational/blst@v0.3.11/bindings/go/blst.go:44:10: note: use option -std=c99 or -std=gnu99 to compile your code
The text was updated successfully, but these errors were encountered: