tun2socks
tun2socks copied to clipboard
go build undefined: sleep.Waker
root@yy:/home/gopkg/src/github.com/FlowerWrong/tun2socks/cmd# go get -d github.com/FlowerWrong/tun2socks/cmd
root@yy:/home/gopkg/src/github.com/FlowerWrong/tun2socks/cmd# ls
main.go netstack shared smart surge udp
root@yy:/home/gopkg/src/github.com/FlowerWrong/tun2socks/cmd# go build
# github.com/google/netstack/tcpip/link/rawfile
../../../google/netstack/tcpip/link/rawfile/rawfile_unsafe.go:137:10: undefined: BlockingPoll
../../../google/netstack/tcpip/link/rawfile/rawfile_unsafe.go:159:10: undefined: BlockingPoll
../../../google/netstack/tcpip/link/rawfile/rawfile_unsafe.go:189:14: undefined: BlockingPoll
# github.com/google/netstack/tcpip/stack
../../../google/netstack/tcpip/stack/linkaddrcache.go:92:14: undefined: sleep.Waker
../../../google/netstack/tcpip/stack/linkaddrcache.go:125:40: undefined: sleep.Waker
../../../google/netstack/tcpip/stack/linkaddrcache.go:183:132: undefined: sleep.Waker
../../../google/netstack/tcpip/stack/linkaddrcache.go:234:65: undefined: sleep.Waker
../../../google/netstack/tcpip/stack/registration.go:460:108: undefined: sleep.Waker
../../../google/netstack/tcpip/stack/registration.go:463:60: undefined: sleep.Waker
../../../google/netstack/tcpip/stack/route.go:117:32: undefined: sleep.Waker
../../../google/netstack/tcpip/stack/route.go:142:36: undefined: sleep.Waker
../../../google/netstack/tcpip/stack/stack.go:1131:127: undefined: sleep.Waker
../../../google/netstack/tcpip/stack/stack.go:1146:75: undefined: sleep.Waker
../../../google/netstack/tcpip/stack/stack.go:1146:75: too many errors
# github.com/FlowerWrong/netstack/tcpip/stack
../../netstack/tcpip/stack/linkaddrcache.go:92:14: undefined: sleep.Waker
../../netstack/tcpip/stack/linkaddrcache.go:125:40: undefined: sleep.Waker
../../netstack/tcpip/stack/linkaddrcache.go:183:132: undefined: sleep.Waker
../../netstack/tcpip/stack/linkaddrcache.go:234:65: undefined: sleep.Waker
../../netstack/tcpip/stack/registration.go:363:108: undefined: sleep.Waker
../../netstack/tcpip/stack/registration.go:366:60: undefined: sleep.Waker
../../netstack/tcpip/stack/route.go:117:32: undefined: sleep.Waker
../../netstack/tcpip/stack/route.go:142:36: undefined: sleep.Waker
../../netstack/tcpip/stack/stack.go:1016:127: undefined: sleep.Waker
../../netstack/tcpip/stack/stack.go:1031:75: undefined: sleep.Waker
../../netstack/tcpip/stack/stack.go:1031:75: too many errors