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 
> compiling on RedHat 7.2. This is what I did :
> 1. installed kernel-source-2.4.7-10 from the distribution rpm (and 
> checked it matches my kernel version)
> 2. downloaded alsa-driver-0.5.12a
> 3. ./configure --with-kernel=/usr/src/linux-2.4.7-10 
> --with-sequencer=yes --with-cards=ens1371
> 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.. 
> -E -D__GENKSYMS__ sound.c | /sbin/genksyms -k 2.4.7 > 
> ../include/modules/sound.ver
> [...]
> gcc   -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux-2.4.7-10/include -I.. 
> -E -D__GENKSYMS__ mixer_oss.c | /sbin/genksyms -k 2.4.7 > 
> ../include/modules/mixer_oss.ver
> updating ../include/sndversions.h
> make[1]: *** No rule to make target 
> `/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
> 
> What am I doing wrong ?
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> We have stuff for geeks like you.
> http://thinkgeek.com/sf
> _______________________________________________
> Alsa-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/alsa-user

-- 

Aaron Gaudio                           prothontar @ tarnation.dyndns.org
                   http://tarnation.dyndns.org/~aaron
                            ----------------
  "From fullness, aspect. From aspect, being. From being, emptiness."

Attachment: msg03824/pgp00000.pgp
Description: PGP signature

Reply via email to