Re: [Alsa-user] how to compile on redhat 7.2
Brought to you by:
perex
From: Aaron G. <pro...@ta...> - 2002-07-07 16:11:43
|
Installing the kernel source is not enough... you need to configure the kernel. The easiest thing to do is probably to go into /usr/src/linux, copy the config from the configs directory appropriate to which version of the RH kernel you have installed to a file named .config (e.g. cp configs/kernel-2.4.7-i686.config .config) and then run 'make dep'. And lo, upon Sun, Jul 07, 2002 at 11:06:36AM +0100, Stephen Burgess spaketh= thusly: > Sorry if this is sounds like a newbie question, I have a problem=20 > compiling on RedHat 7.2. This is what I did : > 1. installed kernel-source-2.4.7-10 from the distribution rpm (and=20 > checked it matches my kernel version) > 2. downloaded alsa-driver-0.5.12a > 3. ./configure --with-kernel=3D/usr/src/linux-2.4.7-10=20 > --with-sequencer=3Dyes --with-cards=3Dens1371 > 4. make : > make[1]: Entering directory `/home/stef/dload/alsa-driver-0.5.12a/kernel' > rm -f ../include/modules/sound.ver > gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux-2.4.7-10/include -I..=20 > -E -D__GENKSYMS__ sound.c | /sbin/genksyms -k 2.4.7 >=20 > ../include/modules/sound.ver > [...] > gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux-2.4.7-10/include -I..=20 > -E -D__GENKSYMS__ mixer_oss.c | /sbin/genksyms -k 2.4.7 >=20 > ../include/modules/mixer_oss.ver > updating ../include/sndversions.h > make[1]: *** No rule to make target=20 > `/usr/src/linux/include/linux/config.h', needed by `sound.o'. Stop. > make[1]: Leaving directory `/home/stef/dload/alsa-driver-0.5.12a/kernel' > make: *** [compile] Error 1 >=20 > What am I doing wrong ? >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > We have stuff for geeks like you. > http://thinkgeek.com/sf > _______________________________________________ > Alsa-user mailing list > Als...@li... > https://lists.sourceforge.net/lists/listinfo/alsa-user --=20 Aaron Gaudio prothontar @ tarnation.dyndns.org http://tarnation.dyndns.org/~aaron ---------------- "From fullness, aspect. From aspect, being. From being, emptiness." |