I have a dual AMD Atlon MP system and trying to install a driver for ATI FireGL 8800 video card. I discovered since this is a SMP system I have to rebuild the module. However it looks like I dont have the correct Linux kernel source installed. I did install all from the CD, and run update using YaST. Here is my error message. Error: kernel includes at /lib/modules/2.4.19-64GB-SMP/build/include do not match current kernel. they are versioned as "2.4.19" instead of "2.4.19-64GB-SMP". you might need to adjust your symlinks: - /usr/include - /usr/src/linux deicide:/lib/modules/fglrx/build_mod # cd .. deicide:/lib/modules/fglrx # ./make_install.sh *** WARNING *** Tailored kernel module for fglrx not present in your system. You must go to /lib/modules/fglrx/build_mod subdir and execute './make.sh' to build a fully customed kernel module. Afterwards go to /lib/modules/fglrx and run './make_install.sh' in order to install the module into your kernel's module repository. (see readme.txt for more details.) Best Regards, Bruce
Bruce Harris
kernel includes at /lib/modules/2.4.19-64GB-SMP/build/include do not match current kernel. they are versioned as "2.4.19"
1) Install package kernel-source 2) cd /usr/src/linux 3) make cloneconfig 4) make dep That should make the kernel configuration match the installed kernel and should make the fireGL script happy. Philipp -- Philipp Thomas work: pthomas@suse.de private: pth@t-link.de
Thanks Philipp, but still no luck. I followed ur instructions, reinstalled the ATI using rpm -i --force and gave me this error as before(1) (good, I know from where to run the script with this error message). I did and got the later error (2) (1) *** WARNING *** Tailored kernel module for fglrx not present in your system. You must go to /lib/modules/fglrx/build_mod subdir and execute './make.sh' to build a fully customed kernel module. Afterwards go to /lib/modules/fglrx and run './make_install.sh' in order to install the module into your kernel's module repository. (see readme.txt for more details.) (2) deicide:/lib/modules/fglrx/build_mod # ./make.sh ATI module generator V 2.0 ========================== probing for VMA API version... cleaning... patching 'highmem.h'... patching 'drmP.h'... patching file drmP.h Hunk #1 succeeded at 153 (offset -102 lines). Hunk #2 succeeded at 164 (offset -102 lines). compiling 'agpgart_be.c'... In file included from agpgart_be.c:62: /lib/modules/2.4.19-64GB-SMP/build/include/linux/module.h:21:34: linux/modversions.h: No such file or directory compiling failed - object file was not generated On Monday 14 April 2003 8:11 pm, Philipp Thomas wrote:
Bruce Harris
[Sat, 12 Apr 2003 12:44:09 -0400]: kernel includes at /lib/modules/2.4.19-64GB-SMP/build/include do not match current kernel. they are versioned as "2.4.19"
1) Install package kernel-source 2) cd /usr/src/linux 3) make cloneconfig 4) make dep
That should make the kernel configuration match the installed kernel and should make the fireGL script happy.
Philipp
Bruce Harris
/lib/modules/2.4.19-64GB-SMP/build/include/linux/module.h:21:34: linux/modversions.h: No such file or directory compiling failed - object file was not generated
Try changing to /usr/src/linux and issuing a 'make kernel'. Check that /usr/src/linux/include/linux/modversions.h exists. Otherwise I'm out of ideas. Philipp -- Philipp Thomas work: pthomas@suse.de private: pth@t-link.de
On Tue, 2003-04-15 at 04:09, Philipp Thomas wrote:
Bruce Harris
[Mon, 14 Apr 2003 20:39:13 -0400]: /lib/modules/2.4.19-64GB-SMP/build/include/linux/module.h:21:34: linux/modversions.h: No such file or directory compiling failed - object file was not generated
Try changing to /usr/src/linux and issuing a 'make kernel'. Check that /usr/src/linux/include/linux/modversions.h exists. Otherwise I'm out of ideas.
You're out? Then here's one touch /usr/src/linux/include/linux/modversions.h Works for the nvidia driver, so it'll probably work here as well Since the linux kernel doesn't use module versioning the file doesn't need to contain anything, but the source file still has that #include
participants (3)
-
Anders Johansson
-
Bruce Harris
-
Philipp Thomas