Patrick Shanahan wrote:
[...]
Please explain "kernel source is properly configured". I have a problem installing the nvidia driver with kernel-source-2.6.18.1-24.2.
Whenever you want to create a kernel module, certain header files of the corresponding kernel for which you want to compile a module are required. Those header files (e.g. version.h or now utsrelease.h) are created when a kernel is compiled or when you explicitly call "make modules_prepare" for the configured kernel source (you might use "make cloneconfig" or "make oldconfig" if necessary to clone a configuration). If you use a standard SuSE kernel, then you should already find those files in the build directory (usually /usr/src/linux-obj/...) after installation. If you try to build a module for the running kernel, then the link /lib/modules/`uname -r`/build should point to a subdirectory of SuSE's build directory (dependent on your architecture etc., e.g. i386/default) and the correct kernel headers should automatically be picked up. If you want to compile a kernel module for another kernel (which is not running) then you need to specify the kernel source/build directory explicitly! Unfortunately, not all third-party packages use the same mechanism to create kernel modules. In principle, they should use the mechanism that the kernel (source) itself provides. Then, you should just go to the source directory of your external kernel module and type "make -C /path/to/build/directory M=$(pwd) modules modules_install" and it should build and install the corresponding module. Of course, all of this only works if the source of the external kernel module matches somehow the kernel for which you try to create it. In other words, if certain symbols have changed in the kernel source and the NVIDIA driver is not aware of it (e.g. the NVIDIA interface compiles fine with a previous kernel release but fails to compile with the latest kernel), then you can't do much about it (unless you know a lot about the kernel and how to fix the problem) - you have to wait for NVIDIA to update the driver "source". Without a detailed description of your problem it's hard to say what might have gone wrong. Cheers, Th. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org