Open gannicusleon opened 3 years ago
I'm trying to build for arm64, but get errors like this:
make build: begin
building massminer to ./bin for current platform...
# github.com/massnetorg/mass-core/poc/chiapos
/usr/bin/ld: $WORK/b128/_x002.o: in function `_cgo_f5be96e8a71d_Cfunc_bls_AugSchemeMPL_sign_prepend':
/tmp/go-build/cgo-gcc-prolog:57: undefined reference to `bls_AugSchemeMPL_sign_prepend'
/usr/bin/ld: $WORK/b128/_x002.o: in function `_cgo_f5be96e8a71d_Cfunc_bls_G1Element':
/tmp/go-build/cgo-gcc-prolog:73: undefined reference to `bls_G1Element'
/usr/bin/ld: $WORK/b128/_x002.o: in function `_cgo_f5be96e8a71d_Cfunc_bls_G1Element_add':
/tmp/go-build/cgo-gcc-prolog:91: undefined reference to `bls_G1Element_add'
/usr/bin/ld: $WORK/b128/_x002.o: in function `_cgo_f5be96e8a71d_Cfunc_bls_G1Element_free':
/tmp/go-build/cgo-gcc-prolog:106: undefined reference to `bls_G1Element_free'
/usr/bin/ld: $WORK/b128/_x002.o: in function `_cgo_f5be96e8a71d_Cfunc_bls_G1Element_from_bytes':
/tmp/go-build/cgo-gcc-prolog:123: undefined reference to `bls_G1Element_from_bytes'
/usr/bin/ld: $WORK/b128/_x002.o: in function `_cgo_f5be96e8a71d_Cfunc_bls_G1Element_generator':
/tmp/go-build/cgo-gcc-prolog:139: undefined reference to `bls_G1Element_generator'
/usr/bin/ld: $WORK/b128/_x002.o: in function `_cgo_f5be96e8a71d_Cfunc_bls_G2Element':
/tmp/go-build/cgo-gcc-prolog:152: undefined reference to `bls_G2Element'
/usr/bin/ld: $WORK/b128/_x002.o: in function `_cgo_f5be96e8a71d_Cfunc_bls_G2Element_add':
i need the miner of ARM kernel version, tks