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
(Continue reading)

Jimen Ching | 1 Aug 2004 01:36
Favicon

ALSA build failure

On Sat, 31 Jul 2004, Stephen Stocker wrote:
>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

I just downloaded 1.0.5a and took a look at asound.h.  I can't match up
the line numbers and errors.  Can you email me this asound.h file and the
version.h file (found in the same directory)?  Thanks.

--jc
(Continue reading)


Gmane