Article 4TW07 Current64: Howto build an out-of-tree module

Current64: Howto build an out-of-tree module

by
burdi01
from LinuxQuestions.org on (#4TW07)
For many years I configure, build and install my own kernels from the kernel.org sources -- at the moment that is 5.3.9.
Once installed and rebooted I then have to build two out-of-kernel module-sets -- the VirtualBox one and the rtlwifi_new-extended one (the zip from https://github.com/lwfinger/rtlwifi_new/tree/extended).
Out of curiosity I installed the testing kernel-(generic,modules,source}-5.4.0-rc6 *) and rebooted: Both the VirtualBox **) and the rtlwifi module builds failed.
First after rebuilding the kernel (make in /usr/src/linux-5.4-rc6) the rtlwifi module build succeeded. This begs the question whether this is "normal" or that I missed something. The Book does not mention building out-of-tree modules and scanning LinuxQuestions gave no definitive hints either.
Any hints would be appreciated.
Regards, Dick
:D

*) Fafaik the kernel-headers package should be the one the userland is built with, so 4.19.82 at the moment.
**) Not researched further -- see https://www.virtualbox.org/ticket/18945.latest?d=yIl2AUoC8zA latest?i=9sxZ9P34drk:524GSNpwF6Q:F7zBnMy latest?i=9sxZ9P34drk:524GSNpwF6Q:V_sGLiP latest?d=qj6IDK7rITs latest?i=9sxZ9P34drk:524GSNpwF6Q:gIN9vFw9sxZ9P34drk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments