From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: dcow@eero.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 8375f1d6 for ; Fri, 24 Aug 2018 23:16:24 +0000 (UTC) Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 37916cb8 for ; Fri, 24 Aug 2018 23:16:24 +0000 (UTC) Received: by mail-lf1-x134.google.com with SMTP id e23-v6so7831911lfc.13 for ; Fri, 24 Aug 2018 16:29:36 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Cowden Date: Fri, 24 Aug 2018 16:29:23 -0700 Message-ID: Subject: Re: wireguard-android build error To: wireguard@lists.zx2c4.com Content-Type: multipart/alternative; boundary="0000000000009a01b4057436bf94" List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0000000000009a01b4057436bf94 Content-Type: text/plain; charset="UTF-8" The project builds on a linux host. On Fri, Aug 24, 2018 at 1:06 PM David Cowden wrote: > When building for android, I am seeing a linker error because the build > system is trying to pass an unsupported `-r` flag. I'm trying to build on > macOS. Does wireguard-android need to be built on Linux (or with a gcc > toolchain) right now, or is this an ndk issue, or a CMAKE configuration > issue? Here's the abridged error: > > ln -sfrt ./src/git.zx2c4.com/wireguard-go/ratelimiter/ > ../wireguard-go/ratelimiter/ratelimiter.go; ... > ln: illegal option -- r > usage: ln [-Ffhinsv] source_file [target_file] > ln [-Ffhinsv] source_file ... target_dir > link source_file target_file > > Thanks, > David > --0000000000009a01b4057436bf94 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The project builds on a linux host.

On Fri, Aug 24, 2018 at 1:06 PM David Co= wden <dcow@eero.com> wrote:
<= /div>
When building for= android, I am seeing a linker error because the build system is trying to = pass an unsupported `-r` flag. I'm trying to build on macOS. Does wireg= uard-android need to be built on Linux (or with a gcc toolchain) right now,= or is this an ndk issue, or a CMAKE configuration issue? Here's the ab= ridged error:

=

Thanks,
David
--0000000000009a01b4057436bf94--