> Don Raikes wrote: > > 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). > > > > You didn't really have to start a new thread for this. Just try to make sure > you know where you kernel source tree is (/usr/src/linux or > /usr/src/linux-2.4 ...usually), then make sure the configure script knows > where you kernel sources are. Maybe you have to do > > ./configure --with-kernel=/usr/src/linux > > even, if you keep getting that error. BTW, the INSTALL file from the > alsa-driver tarball has all the info you need. Just follow the steps there. > And what is that "-I/usr/src/redhat/include" doing there? > > -- > Hello:
I decided to go back and ensure that my kernel source was fully configured. I ran linux-2.4/kernel-2.4.9/linux/make mrproper which is what the README file says to do. Next I re-extracted the alsa-driver-0.9.0rc6 tarball and ran the configure script as follows: ./configure --with-cards=all --with-seq=yes --with-oss=yes --with-debug=all --with-kernel=/usr/src/linux-2.4 I then ran "make install" as the driver INSTALL file says to do, and got the following output. ---- make[1]: Entering directory `/u01/alsa-driver-0.9.0rc6/acore' gcc -D__KERNEL__ -DMODULE=1 -I/u01/alsa-driver-0.9.0rc6/include -I/usr/src/l inux-2.4/include -O2 -mpreferred-stack-boundary=2 -march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DALSA_BUILD -DEXPORT_SYMTA B -c hwdep.c In file included from /u01/alsa-driver-0.9.0rc6/include/adriver.h:40, from /u01/alsa-driver-0.9.0rc6/include/sound/driver.h:43, from ../alsa-kernel/core/hwdep.c:22, from hwdep.c:1: /usr/src/linux-2.4/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers, /usr/src/linux-2.4/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package. /usr/src/linux-2.4/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to /usr/src/linux-2.4/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include /usr/src/linux-2.4/include/linux/modversions.h:5:2: #error to build against the currently-running kernel. make[1]: *** [hwdep.o] Error 1 make[1]: Leaving directory `/u01/alsa-driver-0.9.0rc6/acore' make: *** [compile] Error 1 ---- I must still be doing something wrong. Any ideas? ------------------------------------------------------- This SF.NET email is sponsored by: A Thawte Code Signing Certificate is essential in establishing user confidence by providing assurance of authenticity and code integrity. Download our Free Code Signing guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user