-
Notifications
You must be signed in to change notification settings - Fork 262
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
Problem while building ghostunnel #89
Comments
Windows is not a supported platform. Ghostunnel depends on SO_REUSEPORT (via kavu/go_reuseport) and as such only works on Darwin, *BSD, and Linux right now. |
Is Windows still unsupported now that kavu/go_reuseport#22 has been merged? |
I don't have any Windows machines to test on, but if kavu/go_reuseport works on Windows now then ghostunnel should theoretically also work. |
I updated all the vendored deps in the v1.1.2 release, so ghostunnel should in theory run on Windows now. Please file an issue if you still encounter problems. |
Nvm that, there's other issues preventing it from working on Windows; namely that the syslog package is not available on Windows. |
Hi, I am trying to install ghostunnel on Windows 7. Can you please help me resolve this error? I am new to golang and doesnt understand what exactly it means?
C:\ghostunnel>go install github.com/square/ghostunnel
github.com/square/ghostunnel/vendor/github.com/kavu/go_reuseport
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:25: undefined: maxListenerBacklog
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:68: cannot assign syscall.Handle to fd (type int) in multiple assignment
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:74: cannot use fd (type int) as type syscall.Handle in argument to syscall.Close
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:78: cannot use fd (type int) as type syscall.Handle in argument to syscall.SetsockoptInt
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:82: undefined: reusePort
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:82: cannot use fd (type int) as type syscall.Handle in argument to syscall.SetsockoptInt
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:86: cannot use fd (type int) as type syscall.Handle in argument to syscall.Bind
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:91: cannot use fd (type int) as type syscall.Handle in argument to syscall.Listen
Cheers!
Rohit Goyal
The text was updated successfully, but these errors were encountered: