shadowsocks-libuv icon indicating copy to clipboard operation
shadowsocks-libuv copied to clipboard

Build error by mac ox 10.12.3

Open xiaohunsdt opened this issue 8 years ago • 1 comments

when I use make to build this project in mac. I get a unknow error. $ make cc -Wall -O2 -DNDEBUG -I libuv/include -std=gnu99 -L/usr/local/opt/openssl/lib -I/usr/local/opt/openssl/include -o
server server.c utils.c encrypt.c md5.c rc4.c
libuv/libuv.a -lpthread -lcrypto -lm -framework CoreServices Undefined symbols for architecture x86_64: "_GetCurrentProcess", referenced from: _uv__set_process_title in libuv.a(darwin-proctitle.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [all] Error 1

How to solve that?!!Please

xiaohunsdt avatar Mar 28 '17 11:03 xiaohunsdt

this project is based on libuv 0.10, which is out of date. you can use https://github.com/zhou0/mysocks which is based on libuv 1.0 .

zhou0 avatar Apr 17 '17 14:04 zhou0