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 I was using PWLIB-1.5.2 and OPENH323-1.12.2 previously and there wasn't any of the above errors before when I compiled it. I am changing it to the above versions i.e 1.6.6-1 and 1.13.5-1 respectively, because I want to compile the channel_h323 code from JerJer who stated that it must be a Janus-2 version. I would appreciate any help rendered to me. Thank you. Rgds T.E.Yap -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040516/39285ed7/attachment.htm
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 1Happens 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.
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040517/698ff442/graycol.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: pic11942.gif Type: image/gif Size: 1255 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040517/698ff442/pic11942.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040517/698ff442/ecblank.gif