Hi Jason,
Ive been getting into helping out a little with the android app however when i 
run the build on a mac im getting the following.Are you able to point me in the 
right direction to fix this?
Thanks
Bens-MacBook-Air:wireguard-android ben$ ./gradlew assembleRelease

Starting a Gradle Daemon, 2 stopped Daemons could not be reused, use --status 
for details




> Task :app:externalNativeBuildRelease FAILED

Build libwg.so x86_64

[1/19] Building wireguard-go

FAILED: cd /Users/ben/Documents/GitHub/wireguard-android/app/tools/libwg-go && 
make ANDROID_ARCH_NAME=x86_64 
ANDROID_C_COMPILER=/Users/ben/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
 
ANDROID_TOOLCHAIN_ROOT=/Users/ben/Library/Android/sdk/ndk-bundle/toolchains/x86_64-4.9/prebuilt/darwin-x86_64
 ANDROID_LLVM_TRIPLE=x86_64-none-linux-android 
ANDROID_SYSROOT=/Users/ben/Library/Android/sdk/ndk-bundle/sysroot 
"CFLAGS=-isystem 
/Users/ben/Library/Android/sdk/ndk-bundle/sysroot/usr/include/x86_64-linux-android
 -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables 
-fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat 
-Werror=format-security  -Wno-unused-command-line-argument" 
"LDFLAGS=-Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -nostdlib++ 
--sysroot 
/Users/ben/Library/Android/sdk/ndk-bundle/platforms/android-21/arch-x86_64 
-Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings 
-L/Users/ben/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/libs/x86_64
 -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro 
-Wl,-z,now  -fuse-ld=gold" 
DESTDIR=/Users/ben/Documents/GitHub/wireguard-android/app/build/intermediates/cmake/release/obj/x86_64

Using system Go

find . -name '*.go' -type l -delete

find . -type d -empty -delete

mkdir -p ./src/git.zx2c4.com/wireguard-go/ratelimiter/ 
./src/git.zx2c4.com/wireguard-go/ratelimiter/ 
./src/git.zx2c4.com/wireguard-go/replay/ 
./src/git.zx2c4.com/wireguard-go/replay/ 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
./src/git.zx2c4.com/wireguard-go/tai64n/ 
./src/git.zx2c4.com/wireguard-go/tai64n/ ./src/git.zx2c4.com/wireguard-go/tun/ 
./src/git.zx2c4.com/wireguard-go/tun/ ./src/git.zx2c4.com/wireguard-go/tun/ 
./src/git.zx2c4.com/wireguard-go/tun/ ./src/git.zx2c4.com/wireguard-go/tun/ 
./src/git.zx2c4.com/wireguard-go/xchacha20poly1305/ 
./src/git.zx2c4.com/wireguard-go/xchacha20poly1305/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/

ln -sfrt ./src/git.zx2c4.com/wireguard-go/ratelimiter/ 
../wireguard-go/ratelimiter/ratelimiter.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ratelimiter/ 
../wireguard-go/ratelimiter/ratelimiter_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/replay/ ../wireguard-go/replay/replay.go; ln 
-sfrt ./src/git.zx2c4.com/wireguard-go/replay/ 
../wireguard-go/replay/replay_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
../wireguard-go/rwcancel/fdset_default.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
../wireguard-go/rwcancel/fdset_freebsd.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
../wireguard-go/rwcancel/rwcancel.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
../wireguard-go/rwcancel/select_default.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
../wireguard-go/rwcancel/select_linux.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/tai64n/ ../wireguard-go/tai64n/tai64n.go; ln 
-sfrt ./src/git.zx2c4.com/wireguard-go/tai64n/ 
../wireguard-go/tai64n/tai64n_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/tun/ ../wireguard-go/tun/tun.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/tun/ ../wireguard-go/tun/tun_darwin.go; ln 
-sfrt ./src/git.zx2c4.com/wireguard-go/tun/ ../wireguard-go/tun/tun_freebsd.go; 
ln -sfrt ./src/git.zx2c4.com/wireguard-go/tun/ 
../wireguard-go/tun/tun_linux.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/tun/ ../wireguard-go/tun/tun_openbsd.go; ln 
-sfrt ./src/git.zx2c4.com/wireguard-go/xchacha20poly1305/ 
../wireguard-go/xchacha20poly1305/xchacha20.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/xchacha20poly1305/ 
../wireguard-go/xchacha20poly1305/xchacha20_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/allowedips.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/allowedips_rand_test.go; ln 
-sfrt ./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/allowedips_test.go; ln 
-sfrt ./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/bind_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/conn.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/conn_default.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/conn_linux.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/constants.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/cookie.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/cookie_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/device.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/device_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/donotuseon_linux.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/endpoint_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/helper_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/indextable.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/ip.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/kdf_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/keypair.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/logger.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/misc.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/noise-helpers.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/noise-protocol.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/noise-types.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/noise_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/peer.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/receive.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/send.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/timers.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/tun.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/uapi.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/uapi_bsd.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/uapi_linux.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/version.go;

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

ln: illegal option -- r

usage: ln [-Ffhinsv] source_file [target_file]

       ln [-Ffhinsv] source_file ... target_dir

       link source_file target_file

make: *** 
[/Users/ben/Documents/GitHub/wireguard-android/app/build/intermediates/cmake/release/obj/x86_64/libwg-go.so]
 Error 1

ninja: build stopped: subcommand failed.







FAILURE: Build failed with an exception.




* What went wrong:

Execution failed for task ':app:externalNativeBuildRelease'.

> Build command failed.

  Error while executing process 
/Users/ben/Library/Android/sdk/cmake/3.6.4111459/bin/cmake with arguments 
{--build 
/Users/ben/Documents/GitHub/wireguard-android/app/.externalNativeBuild/cmake/release/x86_64
 --target libwg.so}

  [1/19] Building wireguard-go

  FAILED: cd /Users/ben/Documents/GitHub/wireguard-android/app/tools/libwg-go 
&& make ANDROID_ARCH_NAME=x86_64 
ANDROID_C_COMPILER=/Users/ben/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
 
ANDROID_TOOLCHAIN_ROOT=/Users/ben/Library/Android/sdk/ndk-bundle/toolchains/x86_64-4.9/prebuilt/darwin-x86_64
 ANDROID_LLVM_TRIPLE=x86_64-none-linux-android 
ANDROID_SYSROOT=/Users/ben/Library/Android/sdk/ndk-bundle/sysroot 
"CFLAGS=-isystem 
/Users/ben/Library/Android/sdk/ndk-bundle/sysroot/usr/include/x86_64-linux-android
 -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables 
-fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat 
-Werror=format-security  -Wno-unused-command-line-argument" 
"LDFLAGS=-Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -nostdlib++ 
--sysroot 
/Users/ben/Library/Android/sdk/ndk-bundle/platforms/android-21/arch-x86_64 
-Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings 
-L/Users/ben/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/libs/x86_64
 -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro 
-Wl,-z,now  -fuse-ld=gold" 
DESTDIR=/Users/ben/Documents/GitHub/wireguard-android/app/build/intermediates/cmake/release/obj/x86_64

  Using system Go

  find . -name '*.go' -type l -delete

  find . -type d -empty -delete

  mkdir -p ./src/git.zx2c4.com/wireguard-go/ratelimiter/ 
./src/git.zx2c4.com/wireguard-go/ratelimiter/ 
./src/git.zx2c4.com/wireguard-go/replay/ 
./src/git.zx2c4.com/wireguard-go/replay/ 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
./src/git.zx2c4.com/wireguard-go/tai64n/ 
./src/git.zx2c4.com/wireguard-go/tai64n/ ./src/git.zx2c4.com/wireguard-go/tun/ 
./src/git.zx2c4.com/wireguard-go/tun/ ./src/git.zx2c4.com/wireguard-go/tun/ 
./src/git.zx2c4.com/wireguard-go/tun/ ./src/git.zx2c4.com/wireguard-go/tun/ 
./src/git.zx2c4.com/wireguard-go/xchacha20poly1305/ 
./src/git.zx2c4.com/wireguard-go/xchacha20poly1305/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/ 
./src/git.zx2c4.com/wireguard-go/ ./src/git.zx2c4.com/wireguard-go/

  ln -sfrt ./src/git.zx2c4.com/wireguard-go/ratelimiter/ 
../wireguard-go/ratelimiter/ratelimiter.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ratelimiter/ 
../wireguard-go/ratelimiter/ratelimiter_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/replay/ ../wireguard-go/replay/replay.go; ln 
-sfrt ./src/git.zx2c4.com/wireguard-go/replay/ 
../wireguard-go/replay/replay_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
../wireguard-go/rwcancel/fdset_default.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
../wireguard-go/rwcancel/fdset_freebsd.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
../wireguard-go/rwcancel/rwcancel.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
../wireguard-go/rwcancel/select_default.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/rwcancel/ 
../wireguard-go/rwcancel/select_linux.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/tai64n/ ../wireguard-go/tai64n/tai64n.go; ln 
-sfrt ./src/git.zx2c4.com/wireguard-go/tai64n/ 
../wireguard-go/tai64n/tai64n_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/tun/ ../wireguard-go/tun/tun.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/tun/ ../wireguard-go/tun/tun_darwin.go; ln 
-sfrt ./src/git.zx2c4.com/wireguard-go/tun/ ../wireguard-go/tun/tun_freebsd.go; 
ln -sfrt ./src/git.zx2c4.com/wireguard-go/tun/ 
../wireguard-go/tun/tun_linux.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/tun/ ../wireguard-go/tun/tun_openbsd.go; ln 
-sfrt ./src/git.zx2c4.com/wireguard-go/xchacha20poly1305/ 
../wireguard-go/xchacha20poly1305/xchacha20.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/xchacha20poly1305/ 
../wireguard-go/xchacha20poly1305/xchacha20_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/allowedips.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/allowedips_rand_test.go; ln 
-sfrt ./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/allowedips_test.go; ln 
-sfrt ./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/bind_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/conn.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/conn_default.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/conn_linux.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/constants.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/cookie.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/cookie_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/device.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/device_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/donotuseon_linux.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/endpoint_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/helper_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/indextable.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/ip.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/kdf_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/keypair.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/logger.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/misc.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/noise-helpers.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/noise-protocol.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/noise-types.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/noise_test.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/peer.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/receive.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/send.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/timers.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/tun.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/uapi.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/uapi_bsd.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/uapi_linux.go; ln -sfrt 
./src/git.zx2c4.com/wireguard-go/ ../wireguard-go/version.go;

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  ln: illegal option -- r

  usage: ln [-Ffhinsv] source_file [target_file]

         ln [-Ffhinsv] source_file ... target_dir

         link source_file target_file

  make: *** 
[/Users/ben/Documents/GitHub/wireguard-android/app/build/intermediates/cmake/release/obj/x86_64/libwg-go.so]
 Error 1

  ninja: build stopped: subcommand failed.







* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output. Run with --scan to get full insights.




* Get more help at https://help.gradle.org




BUILD FAILED in 12s

21 actionable tasks: 1 executed, 20 up-to-date

_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

Reply via email to