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: *** [build] Error 2 #360

Closed
etmad8 opened this issue Feb 24, 2021 · 3 comments
Closed

make: *** [build] Error 2 #360

etmad8 opened this issue Feb 24, 2021 · 3 comments

Comments

@etmad8
Copy link

etmad8 commented Feb 24, 2021

once i upgraded go version 1.16 ,show below error:

Installing go package dependencies
GOBIN=/root/go/bin go get -u modernc.org/goyacc
GOBIN=/root/go/bin go build -tags="base" -i -o /root/go/bin/cx github.com/skycoin/cx/cxgo/
go build: -i flag is deprecated

github.com/skycoin/cx/cxgo/api

cxgo/api/api.go:45:3: undefined: WriteJSON
cxgo/api/api.go:58:3: undefined: WriteJSON
cxgo/api/api.go:72:4: undefined: WriteJSON
cxgo/api/api.go:78:3: undefined: WriteJSON
make: *** [build] Error 2

@etmad8
Copy link
Author

etmad8 commented Feb 24, 2021

image

@amherag
Copy link
Collaborator

amherag commented Feb 24, 2021

@etmad8 can you git pull and try again? I think this is now fixed. If it is fixed, please close this issue.

@SkycoinSynth
Copy link
Contributor

Fixed.

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