Development discussion of WireGuard
 help / color / Atom feed
* Build fails on Proxmox
@ 2020-07-22 22:19 Florent B.
  2020-07-22 23:22 ` Yadunandan Pillai
  0 siblings, 1 reply; 2+ messages in thread
From: Florent B. @ 2020-07-22 22:19 UTC (permalink / raw)
  To: wireguard

Hi,

I try to install Wireguard on Proxmox servers 5.4 (Debian Stretch),
running kernel 4.15.18-58 (pve-kernel-4.15.18-30-pve).

I use Wireguard DKMS from buster-backports, version 1.0.20200712.

Build fails on :

    /var/lib/dkms/wireguard/1.0.20200712/build/socket.c: In function
'send6':
    /var/lib/dkms/wireguard/1.0.20200712/build/socket.c:139:18: error:
'const struct ipv6_stub' has no member named 'ipv6_dst_lookup'; did you
mean       'ipv6_dst_lookup_flow'?
   dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
                  ^~
    scripts/Makefile.build:322: recipe for target
'/var/lib/dkms/wireguard/1.0.20200712/build/socket.o' failed


How can I build Wireguard on this platform ?

Thank you.

Florent


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

* Re: Build fails on Proxmox
  2020-07-22 22:19 Build fails on Proxmox Florent B.
@ 2020-07-22 23:22 ` Yadunandan Pillai
  0 siblings, 0 replies; 2+ messages in thread
From: Yadunandan Pillai @ 2020-07-22 23:22 UTC (permalink / raw)
  To: Florent B., wireguard

Not sure installing WG on Proxmox directly is a good idea. You may be better off
doing it in a VM.

But that kernel looks a bit older, perhaps upgrading to Proxmox 6.0 which comes
with a kernel from the 5 series will work better?

On 7/22/20 6:19 PM, Florent B. wrote:
> Hi,
>
> I try to install Wireguard on Proxmox servers 5.4 (Debian Stretch),
> running kernel 4.15.18-58 (pve-kernel-4.15.18-30-pve).
>
> I use Wireguard DKMS from buster-backports, version 1.0.20200712.
>
> Build fails on :
>
>      /var/lib/dkms/wireguard/1.0.20200712/build/socket.c: In function
> 'send6':
>      /var/lib/dkms/wireguard/1.0.20200712/build/socket.c:139:18: error:
> 'const struct ipv6_stub' has no member named 'ipv6_dst_lookup'; did you
> mean       'ipv6_dst_lookup_flow'?
>     dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
>                    ^~
>      scripts/Makefile.build:322: recipe for target
> '/var/lib/dkms/wireguard/1.0.20200712/build/socket.o' failed
>
>
> How can I build Wireguard on this platform ?
>
> Thank you.
>
> Florent
>


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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22 22:19 Build fails on Proxmox Florent B.
2020-07-22 23:22 ` Yadunandan Pillai

Development discussion of WireGuard

Archives are clonable: git clone --mirror http://inbox.vuxu.org/wireguard

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


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