On Sat, 23 Nov 2002 15:56:40 -0500 (EST)
[EMAIL PROTECTED] (Ken Arromdee) wrote:
> I just installed Mandrake 9 on a new hard drive. This includes Alsa 0.9.0rc2.
> I'm getting sound problems when playing DVDs through Xine (whenever the drive
> light is on, the sound wobbles) and I want to compile the same version of Alsa
> I used to have (0.9.0 beta 10) to see whether that fixes the problem.
>
> Since Alsa's in the kernel, I have various header files and such lying
> around, that aren't for the version I want to compile. What do I have to do
> to make a different version? I moved /usr/src/linux/include/sound away, and
> I fixed a configure problem (configure wasn't testing the kernel version
> properly), but that doesn't seem to be enough; I get lots of variations on the
> following:
I succesfully compiled 0.9.0rc6 under LM9.0 previously but had problems today.
It seems Mandrake related. I configured and compiled succesfully today having:
[frans@dolphin alsa-driver-0.9.0rc6]$ rpm -q kernel-source
kernel-source-2.4.19-16mdk
[frans@dolphin alsa-driver-0.9.0rc6]$ urpmf autoconf.h | grep kernel-source
kernel-source:/usr/src/linux-2.4.19-16mdk/include/linux/autoconf.h
[frans@dolphin alsa-driver-0.9.0rc6]$ ls -l
/usr/src/linux-2.4.19-16mdk/include/linux/autoconf.h
-rw-r--r-- 1 root root 93742 Sep 20 19:11
/usr/src/linux-2.4.19-16mdk/include/linux/autoconf.h
[frans@dolphin alsa-driver-0.9.0rc6]$
When I had a configure problem today it turned out
/usr/src/linux-2.4.19-16mdk/include/linux/autoconf.h was missing resulting in
not testing the kernel version properly (something with ...mdkcustom IIRC) and
not recognizing PCI support in the kernel etc. I'm pretty sure _I_ didn't
remove that file ......
Uninstalling and reinstalling the kernel-source RPM gave me back
/usr/src/linux-2.4.19-16mdk/include/linux/autoconf.h and configure and
make worked fine (although with lots of warnings).
> /usr/src/linux/include/linux/modules/util_mem.ver:40:1: warning: this is the
>location of the previous definition
> In file included from ../../sound/sndversions.h:32,
> from ../../sound/driver.h:67,
> from ../../sound/opl3.h:54,
> from opl3_voice.h:22,
> from opl3_seq.c:26:
> ../../sound/modules/util_mem.ver:11:1: warning: "__ver___snd_util_mem_alloc"
>redefined
> In file included from /usr/src/linux/include/linux/modversions.h:345,
> from ../../sound/driver.h:66,
> from ../../sound/opl3.h:54,
> from opl3_voice.h:22,
> from opl3_seq.c:26:
>
> It's usually just warnings, but when I get to opl3_seq I get a lot of error
> messages about missing structure members. The documentation on the Alsa web
> site is worthless.
HTH,
-Frans
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user