We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
autossh-1.1.0在Windows平台编译出错,错误信息如下:
C:\go\Project\src>go build -o autossh -ldflags "-X main.Version=v1.1.0 -X main.Build=201909092119" autossh/src/main/main.go
autossh\src\app\server.go:367:29: undefined: syscall.SIGWINCH autossh\src\app\show_cp.go:301:34: not enough arguments in call to syscall.Syscall autossh\src\app\show_cp.go:301:35: undefined: syscall.SYS_IOCTL autossh\src\app\show_cp.go:303:11: undefined: syscall.TIOCGWINSZ
C:\go\Project\src>go version go version go1.12.9 windows/amd64
The text was updated successfully, but these errors were encountered:
同样的报错,差了下资料,貌似syscall这样的函数不支持Windows,除非代码重写,否则无解。
Sorry, something went wrong.
No branches or pull requests
autossh-1.1.0在Windows平台编译出错,错误信息如下:
C:\go\Project\src>go build -o autossh -ldflags "-X main.Version=v1.1.0 -X main.Build=201909092119" autossh/src/main/main.go
autossh/src/app
autossh\src\app\server.go:367:29: undefined: syscall.SIGWINCH
autossh\src\app\show_cp.go:301:34: not enough arguments in call to syscall.Syscall
autossh\src\app\show_cp.go:301:35: undefined: syscall.SYS_IOCTL
autossh\src\app\show_cp.go:303:11: undefined: syscall.TIOCGWINSZ
C:\go\Project\src>go version
go version go1.12.9 windows/amd64
The text was updated successfully, but these errors were encountered: