Boris Breidenbach wrote:
> 
> Hi!
> 
> I've got a problem compiling the alsa driver (version 0.5.11). Make quits
> with the following error message:
> 
> gcc   -DALSA_BUILD -D__KERNEL__ -O2 -m486 -malign-loops=2 -malign-jumps=2
> -malign-functions=2 -DCPU=686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer 
>-pipe -I/usr/include
> -I.. -DEXPORT_SYMTAB -c sound.c
> In file included from ../include/driver.h:66,
>                  from sound.c:23:
> /usr/include/linux/modversions.h:1:2: #error Modules should never use
> kernel-headers system headers,
> /usr/include/linux/modversions.h:2:2: #error but headers from an
> appropriate kernel-source
> make[1]: *** [sound.o] Fehler 1
> make[1]: Verlassen des Verzeichnisses Verzeichnis
> /root/alsa-driver-0.5.11/kernel
> make: *** [compile] Fehler 1
> 
> Why that? I looked at /usr/include/linux/modversions.h, it only contains
> two lines:
> 
> #error Modules should never use kernel-headers system headers,
> #error but headers from an appropriate kernel-source
> 
> I am running RedHat 7.1 with kernel 2.4.2. Do I need a newer version?

Uhhmm, didn't you get a complaint when running the configure script?
In RH7.0 you got some error configuring when the kernel source wasn't 
installed. Someone tried making some symlink to make that error go away.
Then he got the same error you get in make. I suggest installing the
kernel source (there is a .rpm package for that). HTH,

    -Frans

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

Reply via email to