Bleagh. Looking at the source, that code is some kind of pci/memory
work-round for 2.4 kernels. I'm afraid it's out of my depth (I'm just a
programmer - I don't know anything specific about Alsa or Linux kernels). My
guess is that either you've got something messed up (ie your include files
don't match your kernel) or there's a problem with 2.4.16. FWIW, the code
does compile for me on 2.4.14 and people on alsa-dev have alsa running on
2.4.16 (I've just searched through old emails), so I doubt it is a problem
with the code.
Wild guess 1: Does /usr/include/sound/driver.h include
/*
* Here a dirty hack for 2.4 kernels.. See kernel/memory.c.
*/
#define HACK_PCI_ALLOC_CONSISTENT
void *snd_pci_hack_alloc_consistent(struct pci_dev *hwdev, size_t size,
dma_addr_t *dma_handle);
#undef pci_alloc_consistent
if not, then maybe you've got the wrong include files.
Wild guess 2: Should you have used the --with-kernel flag when you ran
configure? See the install instructions and ./configure --help
Sorry I can't be more help.
Andrew
On Friday 14 Dec 2001 12:51 pm, you wrote:
> to all
>
> ok lets see if this helps
>
> make[1]: Entering directory `/alsa-driver-0.9.0beta9/kernel'
> gcc -DALSA_BUILD -D__KERNEL__ -O2 -mpreferred-stack-boundary=2
> -march=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe
> -I/usr/src/linux/include -I.. -c -o memory.o memory.c memory.c: In function
> `snd_pci_hack_alloc_consistent':
> memory.c:463: dereferencing pointer to incomplete type
> make[1]: *** [memory.o] Error 1
> make[1]: Leaving directory `/alsa-driver-0.9.0beta9/kernel'
> make: *** [compile] Error 1
>
> this is where it stops,
> there are other warnings before that if you need them.
> let me know.
> randy
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user