script icon indicating copy to clipboard operation
script copied to clipboard

kcptun-server 编译失败

Open lukashen opened this issue 6 years ago • 1 comments

Install kcptun plugin
# github.com/shadowsocks/kcptun/server
/root/go/src/github.com/shadowsocks/kcptun/server/main.go:133:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
/root/go/src/github.com/shadowsocks/kcptun/server/main.go:138:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
/root/go/src/github.com/shadowsocks/kcptun/server/main.go:143:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
/root/go/src/github.com/shadowsocks/kcptun/server/main.go:147:4: unknown field 'EnvVar' in struct literal of type cli.StringFlag
/root/go/src/github.com/shadowsocks/kcptun/server/main.go:149:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
/root/go/src/github.com/shadowsocks/kcptun/server/main.go:154:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
/root/go/src/github.com/shadowsocks/kcptun/server/main.go:159:14: cannot use cli.IntFlag literal (type cli.IntFlag) as type cli.Flag in array or slice literal:
        cli.IntFlag does not implement cli.Flag (Apply method has pointer receiver)
/root/go/src/github.com/shadowsocks/kcptun/server/main.go:164:14: cannot use cli.IntFlag literal (type cli.IntFlag) as type cli.Flag in array or slice literal:
        cli.IntFlag does not implement cli.Flag (Apply method has pointer receiver)
/root/go/src/github.com/shadowsocks/kcptun/server/main.go:169:14: cannot use cli.IntFlag literal (type cli.IntFlag) as type cli.Flag in array or slice literal:
        cli.IntFlag does not implement cli.Flag (Apply method has pointer receiver)
/root/go/src/github.com/shadowsocks/kcptun/server/main.go:174:14: cannot use cli.IntFlag literal (type cli.IntFlag) as type cli.Flag in array or slice literal:
        cli.IntFlag does not implement cli.Flag (Apply method has pointer receiver)
/root/go/src/github.com/shadowsocks/kcptun/server/main.go:174:14: too many errors

lukashen avatar Dec 19 '19 23:12 lukashen

上游bug get

lrinQVQ avatar Dec 20 '19 11:12 lrinQVQ