WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to compile wireguard kernel module for TCL  (Read 6835 times)

Offline ramblurr

  • Newbie
  • *
  • Posts: 2
Re: how to compile wireguard kernel module for TCL
« Reply #15 on: October 21, 2020, 02:41:54 AM »
I'm trying to follow the original topic's instructions, but it seems several extensions and the kernel config are missing for the arm6 release:

ncursesw-dev
elfutils-dev

and the kernel config at http://tinycorelinux.net/11.x/armv6/releases/RPi/src/

Is it possible to compile wireguard for tinycore arm6?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10815
Re: how to compile wireguard kernel module for TCL
« Reply #16 on: October 21, 2020, 05:57:39 AM »
Hi ramblurr
Welcome to the forum.

...  the kernel config are missing for the arm6  ...
Courtesy of Paul_123:
Code: [Select]
sudo modprobe configs
zcat /proc/config.gz > <path to kernel source>/.config

Quote
... ncursesw-dev ...
The static libraries listed here and the shared objects in ncurses.tcz.list all have a  w  suffix:
http://tinycorelinux.net/11.x/armv6/tcz/ncurses-dev.tcz.list
http://tinycorelinux.net/11.x/armv6/tcz/ncurses.tcz.list

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 996
Re: how to compile wireguard kernel module for TCL
« Reply #17 on: October 21, 2020, 07:08:57 AM »
AFAIK, Wireguard did not make it into the official kernel until 5.9.y (Maybe not until 5.10.y).  And has not been officially backported.   I realize there are wireguard supported backports, but I'm not willing to deal with those.

If someone wants to take on creating the kernel modules and utils, we would gladly accept the contribution.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14310
Re: how to compile wireguard kernel module for TCL
« Reply #18 on: October 22, 2020, 01:37:03 AM »
ncursesw-dev
elfutils-dev

The piCore equivalents are ncurses-dev and libelf-dev