Chances are you've already got a kernel source tree in /usr/src. Just create a symlink to it like so:
If your kernel source is "/usr/src/linux-2.4.22-your-os-i386-etc", then type:
(as root)
cd /usr/src
ln -s linux-2.4.22-your-os-i386-etc linux
and that will create a symlink, /usr/src/linux, that points to your kernel source tree.
The directions they give indicate that the kernel must have been "make config'd" -- but chances are it's already like that without even touching it.
What's left is to go to your unpacked source, do 'make' then 'make install'. The make install part must be done as root, as it will probably try to copy a kernel module to /lib/modules/2.4.XX-your-kernel-version.
Once installed, you can run 'make devs' as root to create the appropriate device files in /dev.
Then you'll need to insert the module you just built. You'll use 'modprobe' for this, as root. So, for example, if the 'make install' copied over "joystick.o" into your modules dir, then run 'modprobe joystick'. If there's no output, that's probably good. Run 'dmesg' to see that your joystick initialized properly.
Hope this helps some.
|