On Mon, 14 Jan 2002 06:05:33 +0000
Martin Fitzpatrick <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> This is probably a configuration problem at my end, as Ive had similar irks 
> with other packages - none fixable.  When trying to install it looks for 
> Linux src/header files, no luck. I created a symbolic link once I discovered 
> they existed.. and now the configure bit works fine...
> 
> loading cache ./config.cache
> ....
> creating include/version.h
> include/version.h is unchanged
> [root@localhost alsa-driver-0.5.12a]#
> 
> Hurray.  Except then, when I try the make install
> 
> [root@localhost alsa-driver-0.5.12a]# make install
> make[1]: Entering directory `/downloads/alsa/alsa-driver-0.5.12a/kernel'
> gcc   -DALSA_BUILD -D__KERNEL__ -O2 -mpreferred-stack-boundary=2 -march=i686 
> -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe 
> -I/usr/src/linux/include -I.. -DEXPORT_SYMTAB -c sound.c
> In file included from ../include/driver.h:66,
>                  from sound.c:23:
> /usr/src/linux/include/linux/modversions.h:1:2: #error Modules should never 
> use
> kernel-headers system headers,
> /usr/src/linux/include/linux/modversions.h:2:2: #error but rather headers 
> from an appropriate kernel-source package.
> /usr/src/linux/include/linux/modversions.h:3:2: #error Change 
> -I/usr/src/linux/include (or similar) to
> /usr/src/linux/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname 
> -r)/build/include
> /usr/src/linux/include/linux/modversions.h:5:2: #error to build against the 
> currently-running kernel.
> make[1]: *** [sound.o] Error 1
> make[1]: Leaving directory `/downloads/alsa/alsa-driver-0.5.12a/kernel'
> make: *** [compile] Error 1
> [root@localhost alsa-driver-0.5.12a]#
> 
> No so great.  As mentioned, Ive had similar problems with the modversions 
> file loading other packages.  I can't find any other modversions file 
> anywhere on the computer, so it must be the right one?  But the file contents 
> are whats shown above, presumably not right for ALSA.  What is Error 1 anyway?
> 
> Is there a problem with the RedHat install?
> 
> Thanks for all your help, sorry to be the 1-in-a-million-unique-error.
> 
> Fitz
> 
> Anythin I can do to fix this?

Make sure you have the rpm('s) installed for the kernel-source and 
kernel-headers for the kernel you are running. The symbolic link is
not the solution. HTH,

    -Frans

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to