ALSA drivers on PPC
Bernard mentink
yellowdog-general@lists.terrasoftsolutions.com
Thu Oct 10 17:46:01 2002
Hi All,
Has anyone managed to get ALSA sound drivers compiled/installed on a PPC
platform with the latest code.
(version 0.9.0-pre3)
I have the following error when compiling the driver (alsa-driver-0.9.0rc3):
-----------------------------------------------------
make[1]: Entering directory
`/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/acore'
gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1
-I/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/include
-I/lib/modules/2.4.20-pre9-ben0/build/include -O2 -D__powerpc__
-fsigned-char -fno-builtin -msoft-float -ffixed-r2 -Wno-uninitialized
-mmultiple -mstring -DLINUX -Wall -Wstrict-prototypes
-fomit-frame-pointer -pipe -DEXPORT_SYMTAB -c sound.c
In file included from
/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
from ../alsa-kernel/core/sound.c:22,
from sound.c:2:
/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/include/adriver.h:181: parse
error before `*'
/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/include/adriver.h:182:
warning: return-type defaults to `int'
/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/include/adriver.h: In
function `usb_alloc_urb_wrapper':
/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/include/adriver.h:183:
warning: return from incompatible pointer type
/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/include/adriver.h: At top level:
/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/include/adriver.h:185: parse
error before `*'
/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/include/adriver.h:186:
warning: function declaration isn't a prototype
/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/include/adriver.h: In
function `usb_submit_urb_wrapper':
/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/include/adriver.h:187: `urb'
undeclared (first use in this function)
/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/include/adriver.h:187: (Each
undeclared identifier is reported only once
/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/include/adriver.h:187: for
each function it appears in.)
make[1]: *** [sound.o] Error 1
make[1]: Leaving directory
`/home/Bernie/src/alsa/alsa-driver-0.9.0rc3/acore'
make: *** [compile] Error 1
-----------------------------
Appreciate any help.
Cheers,
Bernie