Compile error on cs46xx
Anyone struck this at all? I've lost most of my archives of this list, due to a drive failure :/
Regards, Peter.
gcc -D__KERNEL__ -DMODULE=1 -I/root/alsa/alsa-driver/include -I/lib/modules/2.4.19/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DALSA_BUILD -DCONFIG_SND_CS46XX_NEW_DSP=1
-DKBUILD_BASENAME=cs46xx_lib -c -o cs46xx_lib.o cs46xx_lib.c
In file included from cs46xx_lib.c:2:../../alsa-kernel/pci/cs46xx/cs46xx_lib.c: In function `snd_cs46xx_playback_hw_params':../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1051: too many arguments to function `cs46xx_dsp_create_pcm_channel' ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1075:
`snd_cs46xx_playback_rear_ops' undeclared (first use in this function) ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1075: (Each undeclared identifier is reported only once ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1075: for each function it appears in.)../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1077:
`snd_cs46xx_playback_iec958_ops' undeclared (first use in this function) ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1100:
`snd_cs46xx_playback_indirect_rear_ops' undeclared (first use in this function)../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1102:
`snd_cs46xx_playback_indirect_iec958_ops' undeclared (first use in this function)../../alsa-kernel/pci/cs46xx/cs46xx_lib.c: In function `_cs46xx_playback_open_channel':../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1428: too many arguments to function cs46xx_dsp_create_pcm_channel' ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c: In function snd_cs46xx_playback_open_iec958':../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1470: warning: implicit declaration of function cs46xx_iec958_pre_open' ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c: In function snd_cs46xx_playback_close_iec958':../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1483: warning: implicit declaration of function `cs46xx_iec958_post_close' ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c: At top level:../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1547:
`snd_cs46xx_playback_rear_ops' used prior to declaration ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1558:
`snd_cs46xx_playback_indirect_rear_ops' used prior to declaration ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1570:
`snd_cs46xx_playback_iec958_ops' used prior to declaration ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1581:
`snd_cs46xx_playback_indirect_iec958_ops' used prior to declaration make[2]: *** [cs46xx_lib.o] Error 1
make[2]: Leaving directory `/root/alsa/alsa-driver/pci/cs46xx' make[1]: *** [_modsubdir_cs46xx] Error 2
make[1]: Leaving directory `/root/alsa/alsa-driver/pci'
make: *** [compile] Error 1
Signature · 6 lines
"I am neither especially clever nor especially gifted. I am only very, very curious." Einstein. Peter Good Pete's Internet Services GnuPG Public Key: http://www.petesinternet.net/public.gpg
At 01 Nov 2002 17:05:04 +1000,
Quoted 3 lines · Peter Good
Anyone struck this at all? I've lost most of my archives of this list, due to a drive failure :/
some patches were missing on the cvs tree. sorry. fixed now.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en