Results 1 to 7 of 7
I need kernel sources to install a program and Im using fedora 6 it says I need sources for my 2.6.16 kernel....
- 08-21-2007 #1Just Joined!
- Join Date
- May 2007
- Posts
- 32
I need kernel sources
I need kernel sources to install a program and Im using fedora 6 it says I need sources for my 2.6.16 kernel.
- 08-21-2007 #2Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
Hi,
Here you can find how to install the kernel-source:
Personal Fedora Core 5 Installation Guide
Be aware to install the right version.
Regards
- 08-21-2007 #3
You need to install the kernel-devel package that matches the kernel you are running using yum.
- 08-21-2007 #4Just Joined!
- Join Date
- May 2007
- Posts
- 32
I did yum install kernel-devel and when I do the make it gives me this error now
ke[1]: Entering directory `/usr/src/kernels/2.6.22.2-42.fc6-i686'
CC [M] /home/a/cdemu-0.8/cdemu_mod.o
/home/a/cdemu-0.8/cdemu_mod.c: In function ‘cdemu_exit’:
/home/a/cdemu-0.8/cdemu_mod.c:198: error: too many arguments to function ‘invalidate_bdev’
make[2]: *** [/home/a/cdemu-0.8/cdemu_mod.o] Error 1
make[1]: *** [_module_/home/a/cdemu-0.8] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.22.2-42.fc6-i686'
make: *** [default] Error 2
- 08-22-2007 #5Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
As mentioned above you must install the kernel source that matches with your kernel version.
It seems that you are trying to install the wrong version. You can check your version with:
uname -r
Regards
- 08-22-2007 #6Just Joined!
- Join Date
- May 2007
- Posts
- 32
I installed kernel-2.6.22.2-42.fc6.src.rpm and I get this error now
make[1]: Entering directory `/usr/src/kernels/2.6.22.2-42.fc6-i686'
Building modules, stage 2.
MODPOST 1 modules
WARNING: "generic_file_read" [/home/a/cdemu-0.8/cdemu.ko] undefined!
make[1]: Leaving directory `/usr/src/kernels/2.6.22.2-42.fc6-i686'
- 08-28-2007 #7Banned
- Join Date
- Aug 2007
- Posts
- 4
Check the /usr/src folder for the kernel source installed with the Fedora OS installation. Or else, you can install the rpm ***kernel***.rpm found in your Fedora DVD/CD. I've tried with my FC4-distro it worked

Regards,
Kiran. KLast edited by oz; 05-17-2010 at 08:09 PM. Reason: SPAM removal


Reply With Quote