WireGuard Archive on lore.kernel.org
 help / color / 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 --]

<div dir="ltr"><div>When building for android, I am seeing a linker error because the build system is trying to pass an unsupported `-r` flag. I&#39;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&#39;s the abridged error:<br></div><div><br></div><div><span style="font-family:monospace,monospace">ln -sfrt ./src/<a href="http://git.zx2c4.com/wireguard-go/ratelimiter/">git.zx2c4.com/wireguard-go/ratelimiter/</a> ../wireguard-go/ratelimiter/ratelimiter.go; ... &lt;many more&gt;<br>ln: illegal option -- r<br>usage: ln [-Ffhinsv] source_file [target_file]<br>       ln [-Ffhinsv] source_file ... target_dir<br>       link source_file target_file</span></div><div><span style="font-family:monospace,monospace"></span></div><div><br></div><div>Thanks,</div><div>David</div></div>

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

end of thread, back to index

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

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/ public-inbox