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

with_gvisor构建时在sing-tun上出错 #26

Open
CodingMoeButa opened this issue May 11, 2024 · 0 comments
Open

with_gvisor构建时在sing-tun上出错 #26

CodingMoeButa opened this issue May 11, 2024 · 0 comments

Comments

@CodingMoeButa
Copy link

执行编译命令:

go build -tags "with_quic with_grpc with_dhcp with_wireguard with_ech with_utls with_reality_server with_acme with_clash_api with_v2ray_api with_gvisor" -v -trimpath -ldflags "-X 'github.com/sagernet/sing-box/constant.Version=1.8.13' -s -w -buildid=" ./cmd/sing-box

提示:

=" ./cmd/sing-box;8c530658-2ece-4fea-94bb-09ad09070c9agithub.com/sagernet/sing-tun
# github.com/sagernet/sing-tun
C:\Users\moles\go\pkg\mod\github.com\sagernet\sing-tun@v0.2.7\stack_gvisor_filter.go:35:104: undefined: stack.PacketBufferPtr       
C:\Users\moles\go\pkg\mod\github.com\sagernet\sing-tun@v0.2.7\stack_gvisor_udp.go:45:77: undefined: stack.PacketBufferPtr
C:\Users\moles\go\pkg\mod\github.com\sagernet\sing-tun@v0.2.7\stack_gvisor_udp.go:177:58: undefined: stack.PacketBufferPtr
C:\Users\moles\go\pkg\mod\github.com\sagernet\sing-tun@v0.2.7\stack_gvisor_udp.go:200:59: undefined: stack.PacketBufferPtr
C:\Users\moles\go\pkg\mod\github.com\sagernet\sing-tun@v0.2.7\stack_gvisor_udp.go:208:59: undefined: stack.PacketBufferPtr
C:\Users\moles\go\pkg\mod\github.com\sagernet\sing-tun@v0.2.7\tun_windows_gvisor.go:102:49: undefined: stack.PacketBufferPtr        
C:\Users\moles\go\pkg\mod\github.com\sagernet\sing-tun@v0.2.7\tun_windows_gvisor.go:105:48: undefined: stack.PacketBufferPtr        
C:\Users\moles\go\pkg\mod\github.com\sagernet\sing-tun@v0.2.7\stack_gvisor.go:125:46: too many arguments in call to gonet.NewUDPConn
        have (*stack.Stack, *waiter.Queue, tcpip.Endpoint)
        want (*waiter.Queue, tcpip.Endpoint)
C:\Users\moles\go\pkg\mod\github.com\sagernet\sing-tun@v0.2.7\stack_mixed.go:59:46: too many arguments in call to gonet.NewUDPConn  
        have (*stack.Stack, *waiter.Queue, tcpip.Endpoint)
        want (*waiter.Queue, tcpip.Endpoint)
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

1 participant