[opensuse] /lib/modules/`uname -r`/build

Where does /lib/modules/`uname -r`/build come from? Or alternately, what should its value be? It is apparently needed to build kernel modules, but is not present on my system in /lib/modules/4.4.138-59-default/ I do have kernel-default-devel, kernel-devel, kernel-source and kernel-syms installed. I see various suggestions on the web but the answer appears to depend on the distro and version (which is 42.3). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On 07/14/2018 11:48 AM, Dave Howorth wrote:
Where does /lib/modules/`uname -r`/build come from? Or alternately, what should its value be?
It is apparently needed to build kernel modules, but is not present on my system in /lib/modules/4.4.138-59-default/
I do have kernel-default-devel, kernel-devel, kernel-source and kernel-syms installed.
I see various suggestions on the web but the answer appears to depend on the distro and version (which is 42.3).
The "/build/ portion on my system is a link to /usr/src/linux-4.17.4-1-obj/x86_64/default run: ll /lib/modules/`uname -r`/ to see what you have. I have the kernel macros package installed as well. Also I run TW -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Sat, 14 Jul 2018 12:04:02 -0400 Ken Schneider - openSUSE <suse-list3@bout-tyme.net> wrote:
On 07/14/2018 11:48 AM, Dave Howorth wrote:
Where does /lib/modules/`uname -r`/build come from? Or alternately, what should its value be?
It is apparently needed to build kernel modules, but is not present on my system in /lib/modules/4.4.138-59-default/
I do have kernel-default-devel, kernel-devel, kernel-source and kernel-syms installed.
I see various suggestions on the web but the answer appears to depend on the distro and version (which is 42.3).
The "/build/ portion on my system is a link to
/usr/src/linux-4.17.4-1-obj/x86_64/default
run: ll /lib/modules/`uname -r`/
to see what you have. I have the kernel macros package installed as well.
Ah, it's there now. One of the packages I just installed must include it and I must have forgotten to check again. Sorry for the noise. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Dave Howorth
-
Ken Schneider - openSUSE