wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* Wireguard on PiZeroW
@ 2019-03-26 21:21 Robert Ross
  2019-03-27 17:47 ` Robert Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Ross @ 2019-03-26 21:21 UTC (permalink / raw)
  To: wireguard


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

Details:
PiZeroW
Linux XXX 4.14.98+ #1200 Tue Feb 12 20:11:02 GMT 2019 armv6l GNU/Linux
Latest kernel-headers
Added rpi-source

I get this error compiling on PiZeroW

~/WireGuard/src# make
  CC [M]  /root/WireGuard/src/main.o
  CC [M]  /root/WireGuard/src/noise.o
  CC [M]  /root/WireGuard/src/device.o
/root/WireGuard/src/device.c: In function 'wg_xmit':
/root/WireGuard/src/device.c:165:3: error: implicit declaration of function
'skb_mark_not_on_list' [-Werror=implicit-function-declaration]
   skb_mark_not_on_list(skb);
   ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:326: recipe for target
'/root/WireGuard/src/device.o' failed
make[2]: *** [/root/WireGuard/src/device.o] Error 1
Makefile:1535: recipe for target '_module_/root/WireGuard/src' failed
make[1]: *** [_module_/root/WireGuard/src] Error 2
Makefile:37: recipe for target 'module' failed
make: *** [module] Error 2

TIA for any insights. Robert

[-- Attachment #1.2: Type: text/html, Size: 1354 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] 3+ messages in thread

* Re: Wireguard on PiZeroW
  2019-03-26 21:21 Wireguard on PiZeroW Robert Ross
@ 2019-03-27 17:47 ` Robert Ross
  2019-04-06 12:05   ` Jason A. Donenfeld
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Ross @ 2019-03-27 17:47 UTC (permalink / raw)
  To: wireguard


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

Follow up

I reinstalled Raspian Stretch and kernel-headers for 4.14.79+ and got the
same error. I downloaded the previous release from here -->
https://git.zx2c4.com/WireGuard/snapshot/WireGuard-0.0.20190123.zip

and the error did not occur.

Robert

On Tue, Mar 26, 2019 at 4:21 PM Robert Ross <rpross3@gmail.com> wrote:

> Details:
> PiZeroW
> Linux XXX 4.14.98+ #1200 Tue Feb 12 20:11:02 GMT 2019 armv6l GNU/Linux
> Latest kernel-headers
> Added rpi-source
>
> I get this error compiling on PiZeroW
>
> ~/WireGuard/src# make
>   CC [M]  /root/WireGuard/src/main.o
>   CC [M]  /root/WireGuard/src/noise.o
>   CC [M]  /root/WireGuard/src/device.o
> /root/WireGuard/src/device.c: In function 'wg_xmit':
> /root/WireGuard/src/device.c:165:3: error: implicit declaration of
> function 'skb_mark_not_on_list' [-Werror=implicit-function-declaration]
>    skb_mark_not_on_list(skb);
>    ^~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> scripts/Makefile.build:326: recipe for target
> '/root/WireGuard/src/device.o' failed
> make[2]: *** [/root/WireGuard/src/device.o] Error 1
> Makefile:1535: recipe for target '_module_/root/WireGuard/src' failed
> make[1]: *** [_module_/root/WireGuard/src] Error 2
> Makefile:37: recipe for target 'module' failed
> make: *** [module] Error 2
>
> TIA for any insights. Robert
>

[-- Attachment #1.2: Type: text/html, Size: 2135 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] 3+ messages in thread

* Re: Wireguard on PiZeroW
  2019-03-27 17:47 ` Robert Ross
@ 2019-04-06 12:05   ` Jason A. Donenfeld
  0 siblings, 0 replies; 3+ messages in thread
From: Jason A. Donenfeld @ 2019-04-06 12:05 UTC (permalink / raw)
  To: Robert Ross; +Cc: WireGuard mailing list

I backported that 8 days ago here:
https://git.zx2c4.com/WireGuard/commit/?id=65e1f2838401bf033f3c8a8cdd718589574d9d2d

See if the latest snapshot (0.0.20190409) works for you.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

end of thread, other threads:[~2019-04-06 12:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26 21:21 Wireguard on PiZeroW Robert Ross
2019-03-27 17:47 ` Robert Ross
2019-04-06 12:05   ` 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).