Beta11 Release - PM Required?
I downloaded the beta11 tarball and attempted to compile. The compile
quitted with errors from alsa-kernel/core/pcm_native.c, stating that the macros snd_power_lock' and snd_power_wait' had two arguments, and pcm_native.c was passing only one. I didn't completely search out the problem, but I did notice that core.h defines snd_power_* as either functions or macros, depending on whether the kernel had been compiled with power management support (CONFIG_PM). I enabled power management and recompiled my kernel, and alsa-driver built without further problems.
(I think there may have been other macros affected, but I haven't reverted to a non PM-enabled kernel to check.)
RedHat 7.2
Kernel 2.4.17
gcc 2.96
-- Peter Heatwole
"Murphy was just a well known pessimist."
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Hi,
At Tue, 19 Feb 2002 13:53:52 -0800,
Quoted 10 lines · Peter Heatwole
I downloaded the beta11 tarball and attempted to compile. The compile
quitted with errors fromalsa-kernel/core/pcm_native.c, stating that the macrossnd_power_lock' andsnd_power_wait' had two arguments, andpcm_native.cwas passing only one. I didn't completely search out the problem, but I did notice thatcore.hdefines snd_power_* as either functions or macros, depending on whether the kernel had been compiled with power management support (CONFIG_PM). I enabled power management and recompiled my kernel, and alsa-driver built without further problems.
there was a bug in beta11 and already fixed on cvs. please check out cvs version.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel