Hello

i'm trying to compile alsa 0.9beta12 on a powerbook g4 rev A
with.kernel: 2.4.19-pre3-ben0 (rsyned the kernel today).

i configure like this:

./configure --with-oss=yes --with-cards=powermac

then make barfs like this:

....

gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1
-I/lib/modules/2.4.19-pre3-ben0/build/include
-I/usr/src/audio/alsa/alsa-driver-0.9.0beta12/include -O2 -D__powerpc__
-fsigned-char -fno-builtin -msoft-float -ffixed-r2 -Wno-uninitialized
-mmultiple -mstring -DLINUX -Wall -Wstrict-prototypes
-fomit-frame-pointer -pipe   -c -o pmac.o pmac.c
In file included from pmac.c:1:
../alsa-kernel/ppc/pmac.c: In function `snd_pmac_suspend':
../alsa-kernel/ppc/pmac.c:1310: too many arguments to function
`snd_power_lock'
../alsa-kernel/ppc/pmac.c:1321: warning: implicit declaration of
function `disable_irq_R3ce4ca6f'
../alsa-kernel/ppc/pmac.c: In function `snd_pmac_resume':
../alsa-kernel/ppc/pmac.c:1334: too many arguments to function
`snd_power_lock'
../alsa-kernel/ppc/pmac.c:1350: warning: implicit declaration of
function `enable_irq_Rfcec0987'
make[1]: *** [pmac.o] Error 1
make[1]: Leaving directory
`/usr/src/audio/alsa/alsa-driver-0.9.0beta12/ppc'
make: *** [compile] Error 1

.....

looks like the code for suspending and restoring isn't happy. anyone got
any ideas how to fix it? i tried hacking the c file and got it to
compile but commenting out the malfunctioning statements seemed to upset
the kernel when i tried to modprobe snd-powermac, not surprisingly... 

cheers

matthew



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

Reply via email to