Re: Problems with 32 bit apps on 64 bit OS using dmix and snd-ioctl32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/09/2007, James Pearson <james-p@xxxxxxxxxxxxxxxxxx> wrote:
> Takashi Iwai wrote:
> >
> > Does the patch (to alsa-driver tree) fix the problem?
> >
> >
> > Takashi
> >
> > diff -r adfe4179d670 misc/ac97_bus.c
> > --- a/misc/ac97_bus.c Fri Aug 31 12:22:35 2007 +0200
> > +++ b/misc/ac97_bus.c Wed Sep 05 18:09:42 2007 +0200
> > @@ -1,1 +1,3 @@
> > +#include <sound/driver.h>
> > +#include <sound/core.h>
> >  #include "../alsa-kernel/ac97_bus.c"
>
> Yes ... I did something similar - copied in ../alsa-kernel/ac97_bus.c
> and patched with alsa-driver-1.0.13/pci/ac97/ac97_bus.patch - which
> makes it compile

Just to follow up on this, your patch that just adds:

#include <sound/driver.h>
#include <sound/core.h>

to misc/ac97_bus.c is not enough for it to compile on RHEL4/CentOS4
... however, copying in ../alsa-kernel/ac97_bus.c and patching with
alsa-driver-1.0.13/pci/ac97/ac97_bus.patch does work. It still needs
the #ifdef CONFIG_SND_OLD_DRIVER_SUSPEND stuff

James Pearson
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux