I am getting the following compile error on h323. Its an old redhat 7.3 system with asterisk 1.2.14, zaptel 1.2.12 pwlib 1.5.2 and openh323 1.12.2 I have pwlib compiled and installed. I have openh323 compiled and installed. I went in the channels/h323 directory and did "make opt" What shall I do? Jerry ---------------------------------------- ../../include/asterisk/utils.h: In function `void ast_slinear_saturated_divide (short int *, short int *)': ../../include/asterisk/utils.h:199: warning: `always_inline' attribute directive ignored ../../include/asterisk/utils.h: In function `int inaddrcmp (const sockaddr_in *, const sockaddr_in *)': ../../include/asterisk/utils.h:217: warning: `always_inline' attribute directive ignored In file included from ast_h323.cxx:51: ast_h323.h: At top level: ast_h323.h:159: type specifier omitted for parameter ast_h323.h:159: parse error before `*' ast_h323.cxx:957: type specifier omitted for parameter ast_h323.cxx:957: parse error before `*' ast_h323.cxx: In method `H323Channel *MyH323Connection::CreateRealTimeLogicalChannel (...)': ast_h323.cxx:959: `capability' undeclared (first use this function) ast_h323.cxx:959: (Each undeclared identifier is reported only once for each function it appears in.) ast_h323.cxx:959: `dir' undeclared (first use this function) ast_h323.cxx:959: `sessionID' undeclared (first use this function) make: *** [ast_h323.o] Error 1
I thinik the code is too new for your compiler... I remember reading about needing > GCC 2.95 somewhere... I'm just about to post on a similar theme!>I am getting the following compile error on h323. > Its an old redhat 7.3 system with asterisk 1.2.14, zaptel 1.2.12 > pwlib 1.5.2 and openh323 1.12.2 > > I have pwlib compiled and installed. > I have openh323 compiled and installed. > > I went in the channels/h323 directory and did "make opt" > > What shall I do? > > Jerry > ---------------------------------------- > > ../../include/asterisk/utils.h: In function `void > ast_slinear_saturated_divide (short int *, short int *)': > ../../include/asterisk/utils.h:199: warning: `always_inline' attribute > directive ignored > ../../include/asterisk/utils.h: In function `int inaddrcmp (const > sockaddr_in *, const sockaddr_in *)': > ../../include/asterisk/utils.h:217: warning: `always_inline' attribute > directive ignored > In file included from ast_h323.cxx:51: > ast_h323.h: At top level: > ast_h323.h:159: type specifier omitted for parameter > ast_h323.h:159: parse error before `*' > ast_h323.cxx:957: type specifier omitted for parameter > ast_h323.cxx:957: parse error before `*' > ast_h323.cxx: In method `H323Channel > *MyH323Connection::CreateRealTimeLogicalChannel (...)': > ast_h323.cxx:959: `capability' undeclared (first use this function) > ast_h323.cxx:959: (Each undeclared identifier is reported only once for > each function it appears in.) > ast_h323.cxx:959: `dir' undeclared (first use this function) > ast_h323.cxx:959: `sessionID' undeclared (first use this function) > make: *** [ast_h323.o] Error 1 > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >