Re: modversions.h
On Thu, 1 May 2003 10:52:18 +0100
Tim Gunning <TimG@profero.com> wrote:
> I have a look around and cant seem to find an answer to this wee problem.
> I'm trying to compile the Alsa drivers, ran into a few problems, got the
> kernel image (2.2.19) uncompressed it and put it in /usr/src/ sym-linked
> to it, copied a couple of files about (version.h) and everything seemed to
> be fine, but when I go to make, it complains about not finding
> modversions.h.
I'm guessing you really meant something like this:
"I'm running the Debian pre-compiled kernel 2.2.19, and now I'm trying to
add alsa. I installed kernel-source-2.2.19, uncompressed the source tarball
and made a /usr/src/linux symlink to the source tree."
>From there, you need to copy the config for the kernel you're running:
bash:~/usr/src/linux$ cp /boot/config-2.2.19-<whatever> .config
Then you need to run "make oldconfig" and "make dep". Then modversions.h
will be found, and you'll live happily ever after.
(Well, maybe not the last) :)
Go here for more about building kernels and modules:
http://newbiedoc.sourceforge.net/system/kernel-pkg.html
Kevin
Reply to: