Re: 2.6.10-mm1: ALSA ac97 compile error with CONFIG_PM=n

From: Takashi Iwai
Date: Tue Jan 04 2005 - 19:31:31 EST


At Tue, 4 Jan 2005 01:11:30 +0100,
Adrian Bunk wrote:
>
> On Mon, Jan 03, 2005 at 05:07:08PM -0600, Mark_H_Johnson@xxxxxxxxxxxx wrote:
> > I was looking to compare RT latency between this kernel and the latest from
> > Ingo and I had the following warnings / errors building 2.6.10-mm1:
> >
> > [no apparent compile / link errors]
> > *** Warning: "snd_ac97_restore_iec958" [sound/pci/ac97/snd-ac97-codec.ko]
> > undefined!
> > *** Warning: "snd_ac97_restore_status" [sound/pci/ac97/snd-ac97-codec.ko]
> > undefined!
> >...
> > To fix this, should I just add the EXPORT_SYMBOL lines for these symbols
> > snd_ac97_restore_status snd_ac97_restore_iec958
> > or is something more needed?
>
> That's not the problem, since function and definition are in the same
> module.
>
> You didn't send your .config, but looking at the code it seems
> CONFIG_PM=n was the culprit.

Yes, it's because of lack of #ifdef CONFIG_PM in ac97_patch.c.
It was already fixed in the linux-sound bk tree.


Takashi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/