[PlanetCCRMA] More ALSA driver building, HDSP9652 patch

Kjetil S. Matheussen k.s.matheussen@notam02.no
Sat Oct 4 13:03:01 2003


On Fri, 3 Oct 2003, Fernando Pablo Lopez-Lezcano wrote:

>
> gcc -D__KERNEL__ -DMODULE=1 -D__BOOT_KERNEL_H_ -D__MODULE_KERNEL_i386=1
> -D__BOOT_KERNEL_SMP=1 -I/usr/src/redhat/BUILD/alsa-driver-0.9.6/include
> -I/usr/src/linux-2.4.22-6.ll.rh90/include -O2
> -mpreferred-stack-boundary=2 -march=i686 -D__SMP__ -DCONFIG_SMP -DLINUX
> -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2
> -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD
> -DKBUILD_BASENAME=trident_synth   -c -o trident_synth.o trident_synth.c
> ../../alsa-kernel/pci/rme9652/hdsp.c:3855: structure has no member named
> `output_rms'
> ../../alsa-kernel/pci/rme9652/hdsp.c:3855: structure has no member named
> `output_rms'
> ../../alsa-kernel/pci/rme9652/hdsp.c:3857: structure has no member named
> `output_rms'
> ../../alsa-kernel/pci/rme9652/hdsp.c:3857: structure has no member named
> `output_rms'
> make[2]: *** [hdsp.o] Error 1
>

This had an obvious solution, I remember when trying patch. Go to the
hdsp.h (or possible rme.h) file, and find the structure, and rename the
obvious variable that needs to have the name "output_rms".

--