Originally Posted by joelunch
How does fedora tell programs what version of kernel (and file location) to build modules for?
When makeing the modules for video for linux (v4l) it makes them for an old kernel version (not running) and installs them in that old kernel version directory. I have compiled my own kernel totaly from source in /usr/src/linux/
as I have always done.
Should not be a problem, unless you forgot/missed a step or did not use 'make install' when done building.
when I do make or make install on the v4l is puts the files in the oldest kernel version on the system. Is there a kernel version file or something that will tell make where to look? Even make KERNEL_PATH=/usr/src/linux didn't do the job. There is no configure command for v4l.
You may be able to edit the make file to point to the correct kernel source location. Check and see if /lib/modules/<version#>/build exists and where it links to, example;
$ ls -l /lib/modules/126.96.36.199/build
lrwxrwxrwx 1 root root 23 Apr 8 08:55 /lib/modules/188.8.131.52/build -> /usr/src/linux-184.108.40.206