lrinQVQ / script

81 stars 39 forks source link

kcptun-server 编译失败 #16

Open lukashen opened 4 years ago

lukashen commented 4 years ago
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
lrinQVQ commented 4 years ago

上游bug get