Building module on Mint on 5.4 kernels: fatal 'make' errors

Nicholas Joll najoll at
Fri Feb 7 13:13:24 CET 2020

On 07/02/2020 11:25, Jason A. Donenfeld wrote:

> Seems to be a Mint DKMS problem maybe? Are they shipping clang but building kernels with gcc, or vice versa?

    I don't know. But I found a working solution, on the web
(, which was this:

  sudo add-apt-repository ppa:ubuntu-toolchain-r/test
  sudo add-apt-repository ppa:savoury1/gcc-defaults-9
  sudo apt-get update
  sudo apt-get upgrade && sudo apt-get dist-upgrade

I notice also that - after I'd done that - Wireguard has been updated
recently to build without a 'dev' package; perhaps that would fix the
problem too.



PS: at present I do not read email from this list; I send this message
to the list only because requested (via my private email address) so to do.

More information about the WireGuard mailing list