Sorry, I didnt know that compilers can get angry with []. Use the attached patch.
What compiler version are you using ? Markus. -----Original Message----- From: Martin Langer [mailto:[EMAIL PROTECTED] Sent: Sun 7/27/2003 11:36 AM To: [EMAIL PROTECTED] Cc: Subject: [Alsa-devel] CVS doesn't compile Sorry to say, but CVS doesn't compile! Building the mixart driver fails: make[3]: Entering directory /usr/local/src/alsa-cvs/alsa-driver/pci/mixart' gcc -D__KERNEL__ -DMODULE=1 -I/usr/local/src/alsa-cvs/alsa-driver/include -I/lib/modules/2.4.19-rc1/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DKBUILD_BASENAME=mixart -c -o mixart.o mixart.c In file included from mixart.c:35: mixart_core.h:292: field streams' has incomplete type make[3]: *** [mixart.o] Error 1 make[3]: Leaving directory /usr/local/src/alsa-cvs/alsa-driver/pci/mixart' make[2]: *** [_modsubdir_mixart] Error 2 make[2]: Leaving directory /usr/local/src/alsa-cvs/alsa-driver/pci' make[1]: *** [compile] Error 1 martin ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel
--- pci/mixart-cvs/mixart_core.h 2003-07-22 15:39:10.000000000 +0200 +++ pci/mixart/mixart_core.h 2003-07-28 09:30:19.000000000 +0200 @@ -289,7 +289,7 @@ struct mixart_timer_notify { u32 stream_count; - mixart_sample_pos_t streams[]; + mixart_sample_pos_t streams[MIXART_MAX_STREAM_PER_CARD * MIXART_MAX_CARDS]; } __attribute__((packed));