[Asterisk-Users] Re: say.c compilation error
Juan J. Sierralta P.
juanjo at linacom.com
Sun May 16 20:13:17 MST 2004
On Sun, 2004-05-16 at 22:20, Yap Teong Eng wrote:
> Hi All,
>
> I am using PWLIB-1.6.6-1 and Openh323 1.13.5-1 and running a RH7.3
> machine
> and I am unable to compile asterisk due to these errors.
>
> say.c: In function `powiedz':
> say.c:1633: parse error before `int'
> say.c:1636: `i1000E6' undeclared (first use in this function)
> say.c:1636: (Each undeclared identifier is reported only once
> say.c:1636: for each function it appears in.)
> say.c:1638: parse error before `int'
> say.c:1641: `i1000E3' undeclared (first use in this function)
> say.c:1643: parse error before `int'
> say.c:1646: `i1000' undeclared (first use in this function)
> say.c:1648: parse error before `int'
> say.c:1651: `i100' undeclared (first use in this function)
> say.c:1654: `m100' undeclared (first use in this function)
> say.c:1655: `m1000' undeclared (first use in this function)
> say.c: In function `ast_say_number_full_pl':
> say.c:1725: parse error before `*'
> say.c:1729: `o' undeclared (first use in this function)
> make: *** [say.o] Error 1
Happens the same to me with last CVS head on a Debian Woody I fixed the
code moving the variables declarations to the start of the corresponding
functions (as it should ;) and it compiles, maybe is related to GCC
2.95. BTW I'm to using H323 so it shouldn't be related to oh323 or
pwlib.
More information about the asterisk-users
mailing list