Adrian Spilca writes:
> Hi,
>
> I managed to install alsa a few weeks ago, on my previous RedHat 7.1,
> now I have problems trying to make the same thing on my new 7.2.
>
> The difference was that on 7.1 I recompiled a more recent kernel than
> the one shipped with the distro. I had a few problems on 7.1, the usual
> message that "Modules should never use kernel-headers..." and I make
> some symbolic links in /usr/include to points to my new kernel headers
> (probably I used --with-kernel option in ./configure).
>
> Now, when I installed 7.2 I had this in mind and I explicitly included
> the kernel sources and headers packages. But I was unpleasantly
> surprised to get the same nasty error message after make install. And
> playing with ./configure options or symlinks doesn' work the same way.
>
> So, my question is: do I have to compile my own kernel to install alsa?
> Because I thought that the cleanest way is to use the kernel shipped
> with the distro and workarounds like those symbolic links are only
> patches.
>
> TIA,
> Adrian
The following configures your Redhat kernel source to the flavor of
Redhat kernel you're currently running, if you choose the '???'
appropriately:
cd /usr/src/linux
cp configs/kernel-2.4.9-???.config .config
make oldconfig
The final step is to edit /usr/src/linux/Makefile and change the
definition of EXTRAVERSION to match the version of the running kernel,
I can't remember if you need to run
make depend
too, maybe that makes the needed version.h
-- rec --
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user