Project-Arda / bgls

Aggregate and Multi Signatures based on BGLS over BN256 and BLS12-381
Apache License 2.0
60 stars 17 forks source link

Error when running any test #44

Closed BjornvdLaan closed 6 years ago

BjornvdLaan commented 6 years ago

Whenever I run any of the tests, the following error is shown:

# github.com/dis2/bls12
/usr/bin/ld: $WORK/github.com/dis2/bls12/_obj/add.o: relocation R_X86_64_32S against `.data' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: $WORK/github.com/dis2/bls12/_obj/mul.o: relocation R_X86_64_32S against `.data' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: $WORK/github.com/dis2/bls12/_obj/rdc.o: relocation R_X86_64_32S against `.data' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
ValarDragon commented 6 years ago

Sorry for the late response. Can you try doing go get github.com/dis2/bls12, and then running the tests here? I haven't ran into this issue before.

BjornvdLaan commented 6 years ago

Hi ValarDragon, that indeed solved my issue. Thank you!