lparam / xSocks-android

A xSocks client for Android
GNU General Public License v3.0
86 stars 38 forks source link

mac上执行build.sh报这个错,求教 #10

Closed txdywy closed 7 years ago

txdywy commented 7 years ago

[armeabi-v7a] Compile thumb : ancillary <= fd_recv.c [armeabi-v7a] Compile thumb : ancillary <= fd_send.c [armeabi-v7a] Compile thumb : proxychains4 <= version.c [armeabi-v7a] Compile thumb : proxychains4 <= core.c [armeabi-v7a] Compile thumb : proxychains4 <= common.c 4 warnings generated. [armeabi-v7a] Compile thumb : proxychains4 <= libproxychains.c [armeabi-v7a] Compile thumb : proxychains4 <= allocator_thread.c jni/proxychains/src/libproxychains.c:483:17: error: conflicting types for 'gethostbyaddr' struct hostent gethostbyaddr(const char addr, int len, int type) { ^ /usr/local/Caskroom/android-ndk/15c/android-ndk-r15c/sysroot/usr/include/netdb.h:204:17: note: previous declaration is here struct hostent gethostbyaddr(const void, socklen_t, int); ^ 1 error generated. [armeabi-v7a] Compile thumb : proxychains4 <= ip_type.c make: [obj/local/armeabi-v7a/objs/proxychains4/proxychains/src/libproxychains.o] Error 1 make: Waiting for unfinished jobs.... 7 warnings generated. 4 warnings generated. 4 warnings generated. 6 warnings generated.