node-real / bsc-erigon

Ethereum implementation on the efficiency frontier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make erigon is not working

Parmanand0712 opened this issue · comments

I need your assistance with setting up a Binance Smart Chain (BSC) archive node on AWS. I've followed the instructions outlined in the repository at https://github.com/node-real/bsc-erigon. However, upon cloning the repository and executing the "make erigon" command, I encountered errors. I've attached logs for your reference. Could you please review it and provide guidance?

$ make erigon
Building erigon
hash/maphash
/usr/local/go/src/hash/maphash/maphash_runtime.go:14:6: runtime_fastrand64 redeclared in this block
/usr/local/go/src/hash/maphash/maphash.go:268:6: other declaration of runtime_fastrand64
/usr/local/go/src/hash/maphash/maphash_runtime.go:18:6: runtime_memhash redeclared in this block
/usr/local/go/src/hash/maphash/maphash.go:287:6: other declaration of runtime_memhash
/usr/local/go/src/hash/maphash/maphash_runtime.go:20:6: rthash redeclared in this block
/usr/local/go/src/hash/maphash/maphash.go:270:6: other declaration of rthash
/usr/local/go/src/hash/maphash/maphash_runtime.go:37:29: undefined: unsafe.StringData
internal/abi
/usr/local/go/src/internal/abi/funcpc.go:22:6: FuncPCABI0 redeclared in this block
/usr/local/go/src/internal/abi/abi.go:117:6: other declaration of FuncPCABI0
/usr/local/go/src/internal/abi/funcpc.go:31:6: FuncPCABIInternal redeclared in this block
/usr/local/go/src/internal/abi/abi.go:126:6: other declaration of FuncPCABIInternal
make: *** [Makefile:98: erigon.cmd] Error 2

You go version?

I have tried with 1.19 and 1.21 but same error is coming.

I have tried with 1.19 and 1.21 but same error is coming.

Use go 1.20

Thanks