wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* about wireguard-go
@ 2018-10-09  9:14 nicolas prochazka
  2018-10-09  9:17 ` KeXianbin(http://diyism.com)
  0 siblings, 1 reply; 5+ messages in thread
From: nicolas prochazka @ 2018-10-09  9:14 UTC (permalink / raw)
  To: WireGuard mailing list


[-- Attachment #1.1: Type: text/plain, Size: 223 bytes --]

Hello,
We need to compile wireguard-go on linux, because we are using a closed
linux, under we cannot compile module,
how can we do ? make on wireguard-go tells us that is not recommend on linux

Regards,
Nicolas Prochazka

[-- Attachment #1.2: Type: text/html, Size: 329 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: about wireguard-go
  2018-10-09  9:14 about wireguard-go nicolas prochazka
@ 2018-10-09  9:17 ` KeXianbin(http://diyism.com)
  2018-10-09  9:24   ` nicolas prochazka
  0 siblings, 1 reply; 5+ messages in thread
From: KeXianbin(http://diyism.com) @ 2018-10-09  9:17 UTC (permalink / raw)
  To: nicolas prochazka; +Cc: WireGuard mailing list


[-- Attachment #1.1: Type: text/plain, Size: 603 bytes --]

Some hint here:
https://gist.github.com/diyism/60aa6ca24df772a4928f1aced65e72ee#file-bargeos-on-digitalocean-L40

On Tue, Oct 9, 2018 at 5:14 PM, nicolas prochazka <
prochazka.nicolas@gmail.com> wrote:

> Hello,
> We need to compile wireguard-go on linux, because we are using a closed
> linux, under we cannot compile module,
> how can we do ? make on wireguard-go tells us that is not recommend on
> linux
>
> Regards,
> Nicolas Prochazka
>
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>
>

[-- Attachment #1.2: Type: text/html, Size: 1300 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: about wireguard-go
  2018-10-09  9:17 ` KeXianbin(http://diyism.com)
@ 2018-10-09  9:24   ` nicolas prochazka
  2018-10-09  9:27     ` nicolas prochazka
  0 siblings, 1 reply; 5+ messages in thread
From: nicolas prochazka @ 2018-10-09  9:24 UTC (permalink / raw)
  To: kexianbin; +Cc: WireGuard mailing list


[-- Attachment #1.1: Type: text/plain, Size: 794 bytes --]

thanks a lot
Regards
NIcolas Prochazka

Le mar. 9 oct. 2018 à 11:17, KeXianbin(http://diyism.com) <
kexianbin@diyism.com> a écrit :

> Some hint here:
> https://gist.github.com/diyism/60aa6ca24df772a4928f1aced65e72ee#file-bargeos-on-digitalocean-L40
>
> On Tue, Oct 9, 2018 at 5:14 PM, nicolas prochazka <
> prochazka.nicolas@gmail.com> wrote:
>
>> Hello,
>> We need to compile wireguard-go on linux, because we are using a closed
>> linux, under we cannot compile module,
>> how can we do ? make on wireguard-go tells us that is not recommend on
>> linux
>>
>> Regards,
>> Nicolas Prochazka
>>
>> _______________________________________________
>> WireGuard mailing list
>> WireGuard@lists.zx2c4.com
>> https://lists.zx2c4.com/mailman/listinfo/wireguard
>>
>>
>

[-- Attachment #1.2: Type: text/html, Size: 1773 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: about wireguard-go
  2018-10-09  9:24   ` nicolas prochazka
@ 2018-10-09  9:27     ` nicolas prochazka
  0 siblings, 0 replies; 5+ messages in thread
From: nicolas prochazka @ 2018-10-09  9:27 UTC (permalink / raw)
  To: kexianbin; +Cc: WireGuard mailing list


[-- Attachment #1.1: Type: text/plain, Size: 1267 bytes --]

In fact :

[nicolas@linux wireguard-go-0.0.20180613]$ printf 'package main\nconst
UseTheKernelModuleInstead = 0xdeadbabe\n' > ireallywantobuildon_linux.go
[nicolas@linux wireguard-go-0.0.20180613]$ make
Makefile:7: *** Do not build this for Linux. Instead use the Linux kernel
module. See wireguard.com/install/ for more info..  Stop.


Le mar. 9 oct. 2018 à 11:24, nicolas prochazka <prochazka.nicolas@gmail.com>
a écrit :

> thanks a lot
> Regards
> NIcolas Prochazka
>
> Le mar. 9 oct. 2018 à 11:17, KeXianbin(http://diyism.com) <
> kexianbin@diyism.com> a écrit :
>
>> Some hint here:
>> https://gist.github.com/diyism/60aa6ca24df772a4928f1aced65e72ee#file-bargeos-on-digitalocean-L40
>>
>> On Tue, Oct 9, 2018 at 5:14 PM, nicolas prochazka <
>> prochazka.nicolas@gmail.com> wrote:
>>
>>> Hello,
>>> We need to compile wireguard-go on linux, because we are using a closed
>>> linux, under we cannot compile module,
>>> how can we do ? make on wireguard-go tells us that is not recommend on
>>> linux
>>>
>>> Regards,
>>> Nicolas Prochazka
>>>
>>> _______________________________________________
>>> WireGuard mailing list
>>> WireGuard@lists.zx2c4.com
>>> https://lists.zx2c4.com/mailman/listinfo/wireguard
>>>
>>>
>>

[-- Attachment #1.2: Type: text/html, Size: 2603 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: about wireguard-go
       [not found] <mailman.1.1539079201.20756.wireguard@lists.zx2c4.com>
@ 2018-10-09 10:23 ` Brian Candler
  0 siblings, 0 replies; 5+ messages in thread
From: Brian Candler @ 2018-10-09 10:23 UTC (permalink / raw)
  To: wireguard


[-- Attachment #1.1: Type: text/plain, Size: 1118 bytes --]

On 09/10/2018 11:00, wireguard-request@lists.zx2c4.com wrote:
> In fact :
>
> [nicolas@linux wireguard-go-0.0.20180613]$ printf 'package main\nconst
> UseTheKernelModuleInstead = 0xdeadbabe\n' > ireallywantobuildon_linux.go
> [nicolas@linux wireguard-go-0.0.20180613]$ make
> Makefile:7: *** Do not build this for Linux. Instead use the Linux kernel
> module. See wireguard.com/install/ for more info..  Stop.

Look in the Makefile 
<https://github.com/WireGuard/wireguard-go/blob/master/Makefile>:

ifeq ($(shell go env GOOS),linux)
ifeq ($(wildcard .git),)
$(error Do not build this for Linux. Instead use the Linux kernel 
module. See wireguard.com/install/ for more info.)
else
$(shell printf 'package main\nconst UseTheKernelModuleInstead = 
0xdeadbabe\n' > ireallywantobuildon_linux.go)
endif
endif

Also see 
https://www.gnu.org/software/make/manual/html_node/Wildcard-Function.html

It looks like you need to move the .git directory out of the way before 
you build - or just modify the Makefile. And you shouldn't need to 
manually create ireallywantobuildon_linux.go, because the Makefile does 
it for you.


[-- Attachment #1.2: Type: text/html, Size: 1845 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

end of thread, other threads:[~2018-10-09 10:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-09  9:14 about wireguard-go nicolas prochazka
2018-10-09  9:17 ` KeXianbin(http://diyism.com)
2018-10-09  9:24   ` nicolas prochazka
2018-10-09  9:27     ` nicolas prochazka
     [not found] <mailman.1.1539079201.20756.wireguard@lists.zx2c4.com>
2018-10-09 10:23 ` Brian Candler

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