<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body><div style="font-family:Helvetica,Arial;font-size:13px; ">Tried to install Wireguard on a newly setup Ubuntu 16.04 VPS.</div><div style="font-family:Helvetica,Arial;font-size:13px; "><br></div><div style="font-family:Helvetica,Arial;font-size:13px; ">Building initial module fails with „Error! Bad return status …“ </div><div style="font-family:Helvetica,Arial;font-size:13px; "><br></div><div style="font-family:Helvetica,Arial;font-size:13px; ">Please see log file attached.</div><div style="font-family:Helvetica,Arial;font-size:13px; "><br></div><div style="font-family:Helvetica,Arial;font-size:13px; ">Thanks & Regards,</div><div style="font-family:Helvetica,Arial;font-size:13px; ">Martin</div><div style="font-family:Helvetica,Arial;font-size:13px; "><br></div><div style="font-family:Helvetica,Arial;font-size:13px; ">##### make.log #####</div><div style="font-family:Helvetica,Arial;font-size:13px; "><br></div><div style="font-family:Helvetica,Arial;font-size:13px; "><div style="margin: 0px;">ProblemType: Package</div><div style="margin: 0px;">DKMSBuildLog:</div><div style="margin: 0px;"> DKMS make.log for wireguard-0.0.20190702 for kernel 4.4.0-161-generic (x86_64)</div><div style="margin: 0px;"> Wed 4 Sep 12:47:09 CEST 2019</div><div style="margin: 0px;"> make: Entering directory '/usr/src/linux-headers-4.4.0-161-generic'</div><div style="margin: 0px;"> LD /var/lib/dkms/wireguard/0.0.20190702/build/built-in.o</div><div style="margin: 0px;"> CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/main.o</div><div style="margin: 0px;"> CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/noise.o</div><div style="margin: 0px;"> CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/device.o</div><div style="margin: 0px;"> CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/peer.o</div><div style="margin: 0px;"> CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/timers.o</div><div style="margin: 0px;"> CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/queueing.o</div><div style="margin: 0px;"> CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/send.o</div><div style="margin: 0px;"> CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/receive.o</div><div style="margin: 0px;"> CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/socket.o</div><div style="margin: 0px;"> CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/peerlookup.o</div><div style="margin: 0px;"> CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.o</div><div style="margin: 0px;"> /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function ‘root_remove_peer_lists’:</div><div style="margin: 0px;"> /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:72:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]</div><div style="margin: 0px;"> }</div><div style="margin: 0px;"> ^</div><div style="margin: 0px;"> /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function ‘root_free_rcu’:</div><div style="margin: 0px;"> /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:59:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]</div><div style="margin: 0px;"> }</div><div style="margin: 0px;"> ^</div><div style="margin: 0px;"> /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function ‘walk_remove_by_peer.isra.3’:</div><div style="margin: 0px;"> /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:126:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]</div><div style="margin: 0px;"> }</div><div style="margin: 0px;"> ^</div><div style="margin: 0px;"> CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o</div><div style="margin: 0px;"> /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:25:8: error: unknown type name ‘hsiphash_key_t’</div><div style="margin: 0px;"> static hsiphash_key_t key;</div><div style="margin: 0px;"> ^</div><div style="margin: 0px;"> /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c: In function ‘wg_ratelimiter_allow’:</div><div style="margin: 0px;"> /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:109:22: error: implicit declaration of function ‘hsiphash_2u32’ [-Werror=implicit-function-declaration]</div><div style="margin: 0px;"> bucket = &table_v4[hsiphash_2u32(net_word, ip, &key) &</div><div style="margin: 0px;"> ^</div><div style="margin: 0px;"> /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:116:22: error: implicit declaration of function ‘hsiphash_3u32’ [-Werror=implicit-function-declaration]</div><div style="margin: 0px;"> bucket = &table_v6[hsiphash_3u32(net_word, ip >> 32, ip, &key) &</div><div style="margin: 0px;"> ^</div><div style="margin: 0px;"> cc1: some warnings being treated as errors</div><div style="margin: 0px;"> scripts/Makefile.build:285: recipe for target '/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o' failed</div><div style="margin: 0px;"> make[1]: *** [/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o] Error 1</div><div style="margin: 0px;"> Makefile:1454: recipe for target '_module_/var/lib/dkms/wireguard/0.0.20190702/build' failed</div><div style="margin: 0px;"> make: *** [_module_/var/lib/dkms/wireguard/0.0.20190702/build] Error 2</div><div style="margin: 0px;"> make: Leaving directory '/usr/src/linux-headers-4.4.0-161-generic'</div><div style="margin: 0px;">DKMSKernelVersion: 4.4.0-161-generic</div><div style="margin: 0px;">Date: Wed Sep 4 12:47:19 2019</div><div style="margin: 0px;">DuplicateSignature: dkms:wireguard-dkms:0.0.20190702-wg1~xenial:/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:25:8: error: unknown type name ‘hsiphash_key_t’</div><div style="margin: 0px;">Package: wireguard-dkms 0.0.20190702-wg1~xenial</div><div style="margin: 0px;">PackageVersion: 0.0.20190702-wg1~xenial</div><div style="margin: 0px;">SourcePackage: wireguard</div><div style="margin: 0px;">Title: wireguard-dkms 0.0.20190702-wg1~xenial: wireguard kernel module failed to build</div></div></body></html>