[opensuse] How to build kernel modules in 11.2?
Hello: I would like to build kernel modules in openSUSE 11.2. In 10.3 I had the followng kernel packages installed: kernel-syms-2.6.22.19-0.4 kernel-default-2.6.22.19-0.4 kernel-source-2.6.22.19-0.4 linux-kernel-headers-2.6.22-19 and the following source directories: /usr/src/linux /usr/src/linux-obj In 11.2 I have installed so far: kernel-default-2.6.31.5-0.1.1.i586 linux-kernel-headers-2.6.31-3.4.noarch kernel-source-2.6.31.5-0.1.1.noarch which resulted in the following source directorie: /usr/src/linux There is no /usr/src/linux-obj and I have not installed kernel-syms yet (since it would pull down kernel devel packages for all flavors, which I don't understand why). Could someone advise me documentaion on what are the differences compared to 10.x and how to build modules in 11.2? Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Dienstag, 24. November 2009 schrieb Istvan Gabor:
Hello:
I would like to build kernel modules in openSUSE 11.2. In 10.3 I had the followng kernel packages installed: kernel-syms-2.6.22.19-0.4 kernel-default-2.6.22.19-0.4 kernel-source-2.6.22.19-0.4 linux-kernel-headers-2.6.22-19
and the following source directories: /usr/src/linux /usr/src/linux-obj
In 11.2 I have installed so far: kernel-default-2.6.31.5-0.1.1.i586 linux-kernel-headers-2.6.31-3.4.noarch kernel-source-2.6.31.5-0.1.1.noarch
which resulted in the following source directorie: /usr/src/linux
There is no /usr/src/linux-obj and I have not installed kernel-syms yet (since it would pull down kernel devel packages for all flavors, which I don't understand why). What about installing kernel-default-devel ? If you run rpm -qi on it , it tells you about itself: This package contains files necessary for building kernel modules (and kernel module packages) against the default flavor of the kernel.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
What about installing kernel-default-devel ? If you run rpm -qi on it , it tells you about itself: This package contains files necessary for building kernel modules (and kernel module packages) against the default flavor of the kernel.
OK, I installed kernel-default-devel and did not install kernel-syms. kernel-default-devel offers /usr/src/linux-obj. It seems kernel-syms is not necessary. Thank you, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Istvan Gabor
-
Markus Koßmann