Skip to contentSkip to conversation

Beta11 Release - PM Required?

DISCUSSION Peter Heatwole 2 participants 2 messages Feb 19, 2002 – Feb 20, 2002

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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 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.

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