adrianmihalko / raspberrypiwireguard

Install and configure WireGuard on Raspberry Pi (and others)
840 stars 77 forks source link

Issues Compiling from Source on Raspberry Pi 1 Model B #43

Closed greg5678 closed 4 years ago

greg5678 commented 4 years ago

I've been having installing Wireguard for several hours at this point. I ran rpi-source and rpi-update and after redoing it a few times I got it to work, at least I believe so. I've been using the wiki and following the instructions to build from source, but I keep getting this error:

  CC [M]  /home/pi/WireGuard/src/main.o
In file included from /home/pi/WireGuard/src/main.c:9:
/home/pi/WireGuard/src/queueing.h: In function ‘wg_reset_packet’:
/home/pi/WireGuard/src/queueing.h:100:2: error: implicit declaration of function ‘skb_reset_tc’; did you mean ‘skb_reserve’? [-Werror=implicit-function-declaration]
  skb_reset_tc(skb);
  ^~~~~~~~~~~~
  skb_reserve
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:266: /home/pi/WireGuard/src/main.o] Error 1
make[1]: *** [Makefile:1702: /home/pi/WireGuard/src] Error 2
make: *** [Makefile:38: module] Error 2
adrianmihalko commented 4 years ago

Please join the Wireguard channel on IRC, somebody will help you there.