At Tue, 14 May 2002 10:49:22 +0200, Clemens Ladisch wrote: > > I tried to use the RTC callback timer with my 2.4.12 kernel. > Patching the kernel went fine, but then ALSA wouldn't compile the > snd-rtctimer.o module, although configure said: > | checking for RTC callback support in kernel ... "yes" > > A glance at alsa-kernel/core/Makefile shows that both CONFIG_RTC and > CONFIG_SND_RTCTIMER need to be defined: > > ifeq ($(subst m,y,$(CONFIG_RTC)),y) > obj-$(CONFIG_SND_RTCTIMER) += snd-timer.o > obj-$(CONFIG_SND_RTCTIMER) += snd-rtctimer.o > endif > > ... but neither appears in alsa-driver/Makefile.conf, apparently > because configure thinks it should define CONFIG_SND_RTC instead: > > alsa-driver/configure.in: > ... > rtcsup="0" > ... > AC_MSG_RESULT("yes");rtcsup="m", > AC_MSG_RESULT("no");rtcsup="n", > AC_MSG_RESULT("unknown");rtcsup="n" > ... > CONFIG_SND_RTC=$rtcsup > AC_SUBST(CONFIG_SND_RTC) > if test "$CONFIG_SND_RTC" = "1"; then > AC_DEFINE(CONFIG_SND_RTC) > fi > > Additionally, it's unclear whether the value of CONFIG_SND_RTC should > be 0/1 or n/m.
they are ruines from the old alsa-driver package. all should be CONFIG_SND_RTCTIMER and take m/n/y. fixed now on cvs. thanks. Takashi _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel