At 2 Oct 2003 20:15:04 -0400, Arcady Genkin wrote: > > The code for sscape_ctl from the 0.9.7 tarball of alsa-tools does not > compile. The problem is on line 208 in sscape_ctl.c: > > microcode.code = &_microcode; > > This produces the following (fatal) error message: > > source='sscape_ctl.c' object='sscape_ctl.o' libtool=no \ > depfile='.deps/sscape_ctl.Po' tmpdepfile='.deps/sscape_ctl.TPo' \ > depmode=gcc /bin/sh ./depcomp \ > gcc -DPACKAGE=\"sscape_ctl\" -DVERSION=\"0.1.0\" -DSTDC_HEADERS=1 > -DHAVE_LIBASOUND=1 -I. -I. -g -O2 -c `test -f sscape_ctl.c || > echo './'`sscape_ctl.c > sscape_ctl.c: In function `main': > sscape_ctl.c:208: incompatible types in assignment > make: *** [sscape_ctl.o] Error 1 > > I have also noticed that this compiles fine with the Linux headers > from 2.6.0-test6 (although with a warning), but breaks with the linux > headers from 2.4. Having looked in include/sound/sscape_ioctl.h, the > declaration of sscape_microcode has changed:
give the configure option --with-soundbase=/somewhere/alsa-driver/include so that the header files in alsa-driver tree are used in prior. Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel