next up previous
Next: Extending the file modules.conf Up: Preparing the software Previous: Providing autoconf.h

Providing version.h

The next thing that probably has to be done is to provide a file called version.h. Again at a virtual console one could do that as follows: (Be root again, just to be sure.)

Welcome to SuSE Linux 7.2 (i386) - Kernel 2.4.9 (tty2).

athlonlinux login: root
Password:
You have new mail in /var/mail/root.
Last login: Fri Oct  5 20:57:12 on tty1
Have a lot of fun...
athlonlinux:~ # cp /boot/vmlinuz.version.h /lib/modules/2.4.4-4GB/build/include/linux/version.h
athlonlinux:~ #
The remarks within the make error message probably say, that one has to copy /boot/vmlinuz.version.h to /lib/modules/`uname -r`/build/include/linux/version.h. But `uname -r` written with such apostrophes is expanded by the shell and replaced with the output of the command uname -r. You can try entering this at the console. If I enter this, I (sometimes, when booting the standard SuSE kernel) get 2.4.4-4GB as answer. So that is what has to come into the destination of the copy command as the third directory after modules. If that is also accomplished, at least with SuSE 7.2 there shouldn't be any further preparations necessary. That means, that one can now go and compile and install the driver.



Johannes Prix
2003-06-12