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

compilation error #765

Closed
jiebanghan opened this issue Jul 2, 2019 · 2 comments
Closed

compilation error #765

jiebanghan opened this issue Jul 2, 2019 · 2 comments

Comments

@jiebanghan
Copy link

jiebanghan commented Jul 2, 2019

Hi there,

when I compile quorum with command below, it shows me some error, how can I solved it?thank you very much here.

go version
go version go1.12.5 linux/amd64
go build -o ./build/bin/geth -gcflags=all='-N -l' -v ./cmd/geth
quorum/build/_workspace/src/github.com/ethereum/go-ethereum/cmd/geth
# quorum/build/_workspace/src/github.com/ethereum/go-ethereum/cmd/geth
cmd/geth/accountcmd.go:50:34: cannot use importWallet (type func(*"quorum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error) as type func(*"github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error in argument to utils.MigrateFlags
cmd/geth/accountcmd.go:96:31: cannot use accountList (type func(*"quorum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error) as type func(*"github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error in argument to utils.MigrateFlags
cmd/geth/accountcmd.go:107:31: cannot use accountCreate (type func(*"quorum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error) as type func(*"github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error in argument to utils.MigrateFlags
cmd/geth/accountcmd.go:132:34: cannot use accountUpdate (type func(*"quorum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error) as type func(*"github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error in argument to utils.MigrateFlags
cmd/geth/accountcmd.go:161:31: cannot use accountImport (type func(*"quorum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error) as type func(*"github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error in argument to utils.MigrateFlags
cmd/geth/bugcmd.go:37:31: cannot use reportBug (type func(*"quorum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error) as type func(*"github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error in argument to utils.MigrateFlags
cmd/geth/chaincmd.go:46:32: cannot use initGenesis (type func(*"quorum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error) as type func(*"github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error in argument to utils.MigrateFlags
cmd/geth/chaincmd.go:62:32: cannot use importChain (type func(*"quorum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error) as type func(*"github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error in argument to utils.MigrateFlags
cmd/geth/chaincmd.go:83:32: cannot use exportChain (type func(*"quorum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error) as type func(*"github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error in argument to utils.MigrateFlags
cmd/geth/chaincmd.go:101:32: cannot use importPreimages (type func(*"quorum/build/_workspace/src/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error) as type func(*"github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context) error in argument to utils.MigrateFlags
cmd/geth/chaincmd.go:101:32: too many errors
@SatpalSandhu61
Copy link
Contributor

Quorum build does not yet support go v1.12. There are also some known issues with go1.12 (see #756).

I suggest you revert to 1.11.* (which is the currently supported version of Go for Quorum).

@jiebanghan
Copy link
Author

thank you

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

2 participants