-
-
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
[usage] Does Usage of this wrapper(go version) is correct ? #42
Comments
What version of Go do you use? The GitHub action runs well. |
Go version is go version go1.14.15 linux/amd64 go test -v ./bls and go run examples/sample.go runs well locally, but it use in harmony project , it shows error: could not determine kind of name for C.xxx but according to your github action , I did not use CXX=clang++(your action only use clang++), it default use g++, but it build failed when run make mkdir -p bls/lib/linux/amd64
ar r bls/lib/linux/amd64/libbls384_256.a obj/bls_c384_256.o obj/fp.o obj/base64.o src/bls/mcl/obj/static_code.o
ar: obj/base64.o: No such file or directory
Makefile:53: recipe for target 'bls/lib/linux/amd64/libbls384_256.a' failed
make: *** [bls/lib/linux/amd64/libbls384_256.a] Error 1 |
Recently, bls-eth-go-binary started treating bls and mcl as submodules, so try |
I know that, because I run with git clone --recursive https://github.com/herumi/bls-eth-go-binary just 10 minutes ago and build, it might downloaded bls and mcl as submodule. Now , I just run with git submodule update --init --recursive, it did not update anything , so build failed that I expected |
Ohh, the PR author just give me the reason why this error pops , his reply here harmony-one/harmony#3644 (comment), Thanks, I will try this way . But this repo building did not success on my ubuntu18.04 that I mentioned above |
Hum, I don't know why the error
|
I did not use CLANG++, I use g++ as default. Your github action also use CLANG++, I guess that there is different for our enviroment?. Thank you. maybe g++ does not generated base64.o |
Yes. The Makefile in bls-eth-go-binary does not support g++ to generate a static library. |
g++ is supported on the latest version. |
build failed loocally on my laptop (ubuntu 18.04)
PR: harmony-one/harmony#3644
this PR use this library to bls sign verfiy and so forth. but it shows error message related herumi when buid:
How to fix it ?
I found the problem using google, there are many root cause. I tried some way, but it did not work
The text was updated successfully, but these errors were encountered: