Stephen Stocker | 31 Jul 2004 10:39

Re: Prelease 1 of SoX 12.17.5

On Fri, 30 Jul 2004, Jimen Ching wrote:

> On Fri, 30 Jul 2004, Kevin Cosgrove wrote:
>> I'm running Mandrake 9.0 with ALSA 0.9rc2, and I see the compile
>> problem too.  It isn't new in SoX 12.17.5 though.
>
> Actually, the API has changed since then too.  I've just compiled cvs sox
> with ALSA 1.0.4 and it worked fine.  Has anyone else tried 1.0+?

   Yeah, I'm running 1.0.5a, but it wouldn't compile. Here's the error:

gcc -g -O2 -Wall -I. -I.   -c -o alsa.o alsa.c
In file included from alsa.c:32:
/usr/include/sound/asound.h:138: warning: no semicolon at end of struct or union
/usr/include/sound/asound.h:138: parse error before `*'
/usr/include/sound/asound.h:141: parse error before `}'
/usr/include/sound/asound.h:147: sizeof applied to an incomplete type
/usr/include/sound/asound.h:450: variable or field `__user' declared void
/usr/include/sound/asound.h:450: warning: no semicolon at end of struct or union
/usr/include/sound/asound.h:450: parse error before `*'
/usr/include/sound/asound.h:452: parse error before `}'
/usr/include/sound/asound.h:456: variable or field `__user' declared void
/usr/include/sound/asound.h:456: warning: no semicolon at end of struct or union
/usr/include/sound/asound.h:456: parse error before `*'
/usr/include/sound/asound.h:458: parse error before `}'
/usr/include/sound/asound.h:483: sizeof applied to an incomplete type
/usr/include/sound/asound.h:484: sizeof applied to an incomplete type
/usr/include/sound/asound.h:485: sizeof applied to an incomplete type
/usr/include/sound/asound.h:486: sizeof applied to an incomplete type
/usr/include/sound/asound.h:780: warning: no semicolon at end of struct or union
/usr/include/sound/asound.h:780: parse error before `*'
/usr/include/sound/asound.h:782: parse error before `}'
/usr/include/sound/asound.h:844: sizeof applied to an incomplete type
make: *** [alsa.o] Error 1

   This is using gcc 2.95.3, with Slackware.

 	Take care,
 	Steve

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com

Gmane