Michal Seta wrote:
> 
> Hi,
> 
> I'm having trouble compiling the new powermac driver:
> 
> gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1 -I/home/mis/CVS/alsa-driver/include 
>-I/usr/src/linux/include -O2 -D__powerpc__ -fsigned-char -fno-builtin -msoft-float 
>-ffixed-r2 -Wno-uninitialized -mmultiple -mstring -DLINUX -Wall -Wstrict-prototypes 
>-fomit-frame-pointer -pipe  -DKBUILD_BASENAME=powermac   -c -o powermac.o powermac.c
> ../alsa-kernel/ppc/powermac.c:40: warning: `snd_enable' defined but not used
> gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1 -I/home/mis/CVS/alsa-driver/include 
>-I/usr/src/linux/include -O2 -D__powerpc__ -fsigned-char -fno-builtin -msoft-float 
>-ffixed-r2 -Wno-uninitialized -mmultiple -mstring -DLINUX -Wall -Wstrict-prototypes 
>-fomit-frame-pointer -pipe  -DKBUILD_BASENAME=pmac   -c -o pmac.o pmac.c
> In file included from pmac.c:1:
> ../alsa-kernel/ppc/pmac.c: In function `snd_pmac_new':
> ../alsa-kernel/ppc/pmac.c:1353: structure has no member named `mode'
> make[1]: *** [pmac.o] Error 1
> make[1]: Leaving directory `/home/mis/CVS/alsa-driver/ppc'
> make: *** [compile] Error 1

that's a typo. change "mode" to "model".

jörn

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to