Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Ben Edmunds <bensammy2@yahoo.co.uk>
To: "wireguard@lists.zx2c4.com" <wireguard@lists.zx2c4.com>
Subject: Building the android apk on osx (case sensitive)
Date: Wed, 13 Jun 2018 17:47:25 +0000 (UTC)	[thread overview]
Message-ID: <193313766.8410087.1528912045317@mail.yahoo.com> (raw)
In-Reply-To: <193313766.8410087.1528912045317.ref@mail.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 35247 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 84582 bytes --]

       reply	other threads:[~2018-06-13 17:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <193313766.8410087.1528912045317.ref@mail.yahoo.com>
2018-06-13 17:47 ` Ben Edmunds [this message]
     [not found] <mailman.834.1528911815.2201.wireguard@lists.zx2c4.com>
2018-06-13 22:08 ` Jason A. Donenfeld
2018-06-13 23:13   ` Ben Edmunds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=193313766.8410087.1528912045317@mail.yahoo.com \
    --to=bensammy2@yahoo.co.uk \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).