Wireguard install...
Posted: Sun Feb 23, 2020 6:33 am
I'm wanting to install Wireguard on the NanoPC-T3 and the difficulty is finding the build directory for for the installed kernel. It appears from
# uname -a
Linux matrix 4.4.49-s5p6818 #1 SMP PREEMPT Fri Mar 23 15:29:14 HKT 2018 aarch64 aarch64 aarch64 GNU/Linux
that I'm running the 4.4.49 kernel. There is a link in /lib/modules/4.4.49-s5p6818 that points build to /opt/FriendlyARM/nanopi3/linux-4.4.y but the link is dangling and there points at nothing. My question is where to download that build directory, or at least the part of the build directory needed to build the Wireguard kernel module.
The error from Wireguard is
$ make
make[1]: *** /lib/modules/4.4.49-s5p6818/build: No such file or directory. Stop.
Makefile:25: recipe for target 'module' failed
make: *** [module] Error 2
Note that I've successfully build Wireguard on x86 PCs running Artix linux and successfully on the Raspberry Pi 4 running Raspbian as well as Gentoo. The only difficulty with the T3 is that I'm missing the build directory that is needed to build out-of-tree kernel modules.
Before I try to rebuild the entire kernel over from scratch, is there someplace I can download the necessary directory for the vendor supplied kernel I already have installed?
Sorry, it seems I put this in the wrong forum. Could you please move to the T3?
# uname -a
Linux matrix 4.4.49-s5p6818 #1 SMP PREEMPT Fri Mar 23 15:29:14 HKT 2018 aarch64 aarch64 aarch64 GNU/Linux
that I'm running the 4.4.49 kernel. There is a link in /lib/modules/4.4.49-s5p6818 that points build to /opt/FriendlyARM/nanopi3/linux-4.4.y but the link is dangling and there points at nothing. My question is where to download that build directory, or at least the part of the build directory needed to build the Wireguard kernel module.
The error from Wireguard is
$ make
make[1]: *** /lib/modules/4.4.49-s5p6818/build: No such file or directory. Stop.
Makefile:25: recipe for target 'module' failed
make: *** [module] Error 2
Note that I've successfully build Wireguard on x86 PCs running Artix linux and successfully on the Raspberry Pi 4 running Raspbian as well as Gentoo. The only difficulty with the T3 is that I'm missing the build directory that is needed to build out-of-tree kernel modules.
Before I try to rebuild the entire kernel over from scratch, is there someplace I can download the necessary directory for the vendor supplied kernel I already have installed?
Sorry, it seems I put this in the wrong forum. Could you please move to the T3?