View Full Version : fc5: kernel source install

25th May 2006, 11:03 PM

I need to install my modem driver
on FC5, and the build is asking me
to install the kernel source.

In the past (FC3), I did "yum install kernel-devel".

Will this work on FC5 as well?

By the way, would this be the general
case in most distros where I need to
install kernel source?

And, what is the difference between
kernel headers and kernel source?


26th May 2006, 04:48 AM
Often you don't need the source (all the code for rebuilding) just the headers (include files and various bits for building modules for, not necessarily all the kernel code).

Yes kernel-devel is what you want.

Fedora's kernel sources are in source rpms, other distros may differ.

Read the Fedora release notes for more.

26th May 2006, 05:29 AM
Hi Jman,

Thanks for your feedback.

Well, I did the kernel-devel on yum but didn't
work for the build.

The build returns the following error:

Module precompile check
Current running kernel is: 2.6.16-1.2111_FC5
/lib/modules... autoconf.h does not exist
please install kernel source
make: *** [check] Error 1

What should I do now?

27th May 2006, 03:13 AM
Odd, running
yum provides autoconf.h returns kernel-devel.

rpm -q kernel to
rpm -q kernel-devel Do you have the latest kernel-devel installed?

27th May 2006, 11:28 PM
Hi Jman,

I think there was a version mismatch
between the kernel and kernel-devel.