Page MenuHomeSolus

make errors (kernel headers issue?)
Closed, ResolvedPublic



After the latest two kernels (both lts and current) I cannot make kernel modules for WireGuard. This might incidentally be the same issue as the VirtualBox one ( Note that linux-current-headers and linux-lts-headers are installed. Reverting to previous kernels solves this issue.

anon@t450s-solus ~/bin/WireGuard-0.0.20171017/src $ make

  WARNING: Symbol version dump ./Module.symvers
           is missing; modules will have no dependencies and modversions.

grep: ./include/crypto/algapi.h: No such file or directory
  CC [M]  /home/anon/bin/WireGuard-0.0.20171017/src/main.o
cc1: fatal error: ./include/linux/kconfig.h: No such file or directory
compilation terminated.
make[2]: *** [scripts/ /home/anon/bin/WireGuard-0.0.20171017/src/main.o] Error 1
make[1]: *** [Makefile:1512: _module_/home/anon/bin/WireGuard-0.0.20171017/src] Error 2
make: *** [Makefile:32: module] Error 2

Event Timeline

anaknaga created this task.Oct 22 2017, 5:54 AM
anaknaga updated the task description. (Show Details)Oct 22 2017, 5:55 AM

What's the output of this on the latest kernel?

uname -a
du /usr/src/linux-headers-`uname -r` | tail -n1
eopkg check linux-current-headers


anon@t450s-solus ~ $ uname -a
Linux t450s-solus 4.13.8-28.current #1 SMP Wed Oct 18 15:53:04 UTC 2017 x86_64 GNU/Linux

anon@t450s-solus ~ $ du /usr/src/linux-headers-`uname -r` | tail -n1
168396	/usr/src/linux-headers-4.13.8-28.current

Out put of the last command gave a huge list with missing files. Upon removing and reinstalling the header packages I was able to make and make install again. I was thinking: perhaps this happened because I ran clr-boot-manager update when it was borked?

In any case, this fixed it, thanks :).

sunnyflunk closed this task as Resolved.Oct 22 2017, 7:00 AM
sunnyflunk claimed this task.