You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
golang.org/x/sys/unix/syscall_freebsd.go doesn't have socketcall.
As a result, this project https://github.com/Dreamacro/clash can't be built on FreeBSD.
===> Building for clash-0.10.1
# github.com/Dreamacro/clash/proxy/redir
proxy/redir/tcp_freebsd.go:41:12: undefined: socketcall
proxy/redir/tcp_freebsd.go:41:23: undefined: GETSOCKOPT
There are only two systems that support socketcall: linux-386 and linux-s390. And it's not an exported function anyhow. I don't know where tcp_freebsd.go expects to find socketcall, but it's not going to come from the golang.org/x/sys/unix package.
golang.org/x/sys/unix/syscall_freebsd.go
doesn't havesocketcall
.As a result, this project https://github.com/Dreamacro/clash can't be built on FreeBSD.
https://github.com/golang/sys rev.70b957f
The text was updated successfully, but these errors were encountered: