Coder Social home page Coder Social logo

Comments (5)

riobard avatar riobard commented on May 4, 2024 1

This seems to be a Go problem. I've opened a new issue there golang/go#19043

from go-shadowsocks2.

riobard avatar riobard commented on May 4, 2024

Strange. Can you run go doc syscall.SYS_GETSOCKOPT and see if the output contains a line with SYS_GETSOCKOPT?

from go-shadowsocks2.

hdid avatar hdid commented on May 4, 2024

Yes that is a confusing issue. In x86 OS it gives error

# go doc syscall.SYS_GETSOCKOPT
doc: no symbol SYS_GETSOCKOPT in package syscall
exit status 1

but with x64 system it is ok:

# go doc syscall.SYS_GETSOCKOPT
const (
        SYS_READ                   = 0
        SYS_WRITE                  = 1
        SYS_OPEN                   = 2
        SYS_CLOSE                  = 3
        SYS_STAT                   = 4
        SYS_FSTAT                  = 5
        SYS_LSTAT                  = 6
        SYS_POLL                   = 7
        SYS_LSEEK                  = 8
        SYS_MMAP                   = 9
        SYS_MPROTECT               = 10
        SYS_MUNMAP                 = 11
        SYS_BRK                    = 12
        SYS_RT_SIGACTION           = 13
...

o_o !?

from go-shadowsocks2.

riobard avatar riobard commented on May 4, 2024

Please try latest https://github.com/riobard/go-shadowsocks2

Should work on Linux x86 now.

from go-shadowsocks2.

hdid avatar hdid commented on May 4, 2024

@riobard Yes thanks. I could build it successfully!

from go-shadowsocks2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.