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

"Unknown thread yield implementation" on OmniOS (and likely solaris & illumos based distros) #2664

Open
MosakujiHokuto opened this issue Mar 19, 2020 · 1 comment

Comments

@MosakujiHokuto
Copy link

What version of shadowsocks-libev are you using?

master branch from git repo

What operating system are you using?

OmniOS 5.11 (r151032-19f7bd2ae5)

What did you do?

build shadowsocks-libev by running ./autogen.sh && ./configure && make

What did you expect to see?

build finish successfully

What did you see instead?

compilation failed with the following error:

src/libcork/posix/subprocess.c:467:2: error: #error "Unknown thread yield implementation"

What is your config in detail (with all sensitive info masked)?

Although I believe it is irrelevant, below is commands I executed:

$ ./autogen.sh
$ ./configure --prefix=/usr --disable-documentation
$ make

This seems to be yet another missing condition as in #1178. I've created a pull request (shadowsocks/libcork#9) which provides a naive fix. If there's anything more you would like me to do, please do not hesitate to ask.

@madeye
Copy link

madeye commented Apr 3, 2020

Thanks, please also submit a pull request here to update the submodule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants