Skip to content
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

make error #79

Open
wadeku0920 opened this issue Jul 5, 2018 · 2 comments
Open

make error #79

wadeku0920 opened this issue Jul 5, 2018 · 2 comments

Comments

@wadeku0920
Copy link

我在ubuntu 16.04上make代碼出現以下的錯誤:

go build -ldflags "-X Elastos.ELA.SideChain/config.Version=dca0" -o side main.go

github.com/elastos/Elastos.ELA.SideChain/spv

spv/spv_module.go:24:13: not enough arguments in call to "github.com/elastos/Elastos.ELA.SideChain/vendor/github.com/elastos/Elastos.ELA.SPV/log".Init
have (uint8)
want (int, int64, int64)
spv/spv_module.go:31:44: not enough arguments in call to _interface.NewSPVService
have (uint32, uint64, []string, int, int)
want (uint32, string, uint64, []string, int, int)
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2

請協助我釐清問題,謝謝

@alexpan0610
Copy link
Contributor

You are using the dev branch which is far behind the release branch, use branch release_v0.0.1 instead.

@bocheng0000
Copy link
Collaborator

Before building, you should clear glide cache by "glide cc", and get the latest glide content by "glide update && glide install".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants