wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* wireguard-android build error
@ 2018-08-24 20:06 David Cowden
  2018-08-24 23:29 ` David Cowden
  2018-08-25  5:20 ` Jason A. Donenfeld
  0 siblings, 2 replies; 3+ messages in thread
From: David Cowden @ 2018-08-24 20:06 UTC (permalink / raw)
  To: wireguard

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

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; ... <many more>
ln: illegal option -- r
usage: ln [-Ffhinsv] source_file [target_file]
       ln [-Ffhinsv] source_file ... target_dir
       link source_file target_file

Thanks,
David

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: wireguard-android build error
  2018-08-24 20:06 wireguard-android build error David Cowden
@ 2018-08-24 23:29 ` David Cowden
  2018-08-25  5:20 ` Jason A. Donenfeld
  1 sibling, 0 replies; 3+ messages in thread
From: David Cowden @ 2018-08-24 23:29 UTC (permalink / raw)
  To: wireguard

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

The project builds on a linux host.

On Fri, Aug 24, 2018 at 1:06 PM David Cowden <dcow@eero.com> 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; ... <many more>
> ln: illegal option -- r
> usage: ln [-Ffhinsv] source_file [target_file]
>        ln [-Ffhinsv] source_file ... target_dir
>        link source_file target_file
>
> Thanks,
> David
>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: wireguard-android build error
  2018-08-24 20:06 wireguard-android build error David Cowden
  2018-08-24 23:29 ` David Cowden
@ 2018-08-25  5:20 ` Jason A. Donenfeld
  1 sibling, 0 replies; 3+ messages in thread
From: Jason A. Donenfeld @ 2018-08-25  5:20 UTC (permalink / raw)
  To: dcow; +Cc: WireGuard mailing list

Yes, right now I make use of insane flags of GNU coreutil's ls(1). I
can probably replace these with something BSD compatible instead, like
I did for the iOS bridge code, which does something similar.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-25  5:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-24 20:06 wireguard-android build error David Cowden
2018-08-24 23:29 ` David Cowden
2018-08-25  5:20 ` Jason A. Donenfeld

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).