dndx / shadowsocks-libuv

A Lightweight and Super Fast Server for shadowsocks.
329 stars 114 forks source link

Build error by mac ox 10.12.3 #22

Open xiaohunsdt opened 7 years ago

xiaohunsdt commented 7 years ago

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

zhou0 commented 7 years ago

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 .