Hello:
I am a linux / alsa / c programming
newbie.
I just got Redhat Advanced Server installed on a
compaq deskpro/en pc. I now need to enable sound for the system.
I extracted the full source for the Redhat
installation, and for the alsa drivers.
I ran the configure script for the alsa drivers
with the following options:
--with-cards=all --with-seq=yes --with-oss=yes
--with-debug=all
When I ran the make file, I got an error with
hwdep.o (see debug trace below).
----
make[1]: Entering directory
`/usr/src/alsa/alsa-driver-0.9.0rc6/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa/alsa-driver-0.9.0rc6/include -I/usr/src/redhat/include -O2 -mpreferred-stack-boundary=2 -march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DALSA_BUILD -DEXPORT_SYMTAB -c hwdep.c In file included from /usr/src/alsa/alsa-driver-0.9.0rc6/include/adriver.h:40, from /usr/src/alsa/alsa-driver-0.9.0rc6/include/sound/driver.h:43, from ../alsa-kernel/core/hwdep.c:22, from hwdep.c:1: /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 rather headers from an appropriate kernel-source package. /usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to /usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include /usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel. make[1]: *** [hwdep.o] Error 1 make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.0rc6/acore' make: *** [compile] Error 1 ----
Any suggestions on how to resolve this problem
would be greatly appreciated.
Cheers,
Don Raikes
home office (520) 579=-9481 HQ office (650) 506-9704 |
- Re: [Alsa-user] driver 0.9.0rc6 compilation error Don Raikes
- Re: [Alsa-user] driver 0.9.0rc6 compilation error Georgi Georgiev