[Asterisk-Users] chan_h323 compilation

Jeremy McNamara jj at indie.org
Thu Feb 20 08:48:18 MST 2003


You need to cvs update chan_h323. I just checked out the lastest CVS and 
it compiled without any problems here.

Jeremy McNamara



Thomas Jalsovsky wrote:

>        I   would like to compile the chan_h323 module from the latest
>CVS  on  a  Debian   Woody  box  [gcc  version 2.95.4 20011002 (Debian
>prerelease)] with pwlib/openh323 from the CVS.
>
>        I  got  error  when  I  tryied  to compile. [some days earlier
>version compiles without any problem]
>        
>        Thomas
>
>I got the following:
>g++ -g -c -o ast_h323.o -pipe -Wall -fPIC -Wmissing-prototypes -Wmissing-declarations -DP_LINUX -DDO_CRASH -DDEBUG_THREADS -D_REENTRANT -D_GNU_SOURCE  -march=i586 -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS -DPHAS_TEMPLATES -DPBYTE_ORDER=PLITTLE_ENDIAN -DPTRACING -DNDEBUG -DP_USE_PRAGMA -I/DEVEL/h323/pwlib/include/ptlib/unix -I/DEVEL/h323/pwlib/include  -I/DEVEL/h323/openh323/include -Wno-missing-prototypes -Wno-missing-declarations ast_h323.cpp
>In file included from ast_h323.cpp:27:
>ast_h323.h:131: syntax error before `;'
>ast_h323.h:134: type specifier omitted for parameter
>ast_h323.h:134: parse error before `)'
>ast_h323.h:137: `t' was not declared in this scope
>ast_h323.h:137: ANSI C++ forbids declaration `listenerType' with no type
>ast_h323.h:137: ANSI C++ forbids initialization of member `listenerType'
>ast_h323.h:137: making `listenerType' static
>ast_h323.h:137: ANSI C++ forbids in-class initialization of non-const static member `listenerType'
>ast_h323.h:139: parse error before `}'
>ast_h323.cpp:668: syntax error before `;'
>ast_h323.cpp: In function `int check_lis_type(MyListener *)':
>ast_h323.cpp:672: `chkLis' undeclared (first use this function)
>ast_h323.cpp:672: (Each undeclared identifier is reported only once
>ast_h323.cpp:672: for each function it appears in.)
>ast_h323.cpp: At top level:
>ast_h323.cpp:680: syntax error before `('
>ast_h323.cpp:683: syntax error before `;'
>ast_h323.cpp:686: parse error before `if'
>ast_h323.cpp:692: ANSI C++ forbids declaration `jitter' with no type
>ast_h323.cpp:692: conflicting types for `int jitter'
>ast_h323.cpp:43: previous declaration as `WORD jitter'
>ast_h323.cpp:692: `_jitter' was not declared in this scope
>ast_h323.cpp:696: ANSI C++ forbids declaration `chkLis' with no type
>ast_h323.cpp:696: `int chkLis' used prior to declaration
>ast_h323.cpp:696: `lis' was not declared in this scope
>ast_h323.cpp:697: ANSI C++ forbids declaration `cit' with no type
>ast_h323.cpp:697: conflicting types for `int cit'
>ast_h323.cpp:684: previous declaration as `struct _List_iterator<MyListener *,MyListener *&,MyListener **> cit'
>ast_h323.cpp:697: `struct _List_iterator<MyListener *,MyListener *&,MyListener **>' used where a `int' was expected
>ast_h323.cpp:699: parse error before `if'
>ast_h323.cpp:709: `interfaceAddress' was not declared in this scope
>ast_h323.cpp:709: `listenPort' was not declared in this scope
>ast_h323.cpp:710: ANSI C++ forbids declaration `newListener' with no type
>ast_h323.cpp:710: initialization to `int' from `H323ListenerTCP *' lacks a cast
>ast_h323.cpp:711: ANSI C++ forbids declaration `listenerType' with no type
>ast_h323.cpp:711: `TCP' was not declared in this scope
>ast_h323.cpp:712: parse error before `break'
>ast_h323.cpp:728: syntax error before `<'
>ast_h323.cpp:732: syntax error before `.'
>ast_h323.cpp:743: syntax error before `('
>ast_h323.cpp:750: ANSI C++ forbids declaration `chkLis' with no type
>ast_h323.cpp:750: redefinition of `int chkLis'
>ast_h323.cpp:696: `int chkLis' previously defined here
>ast_h323.cpp:750: `lis' was not declared in this scope
>ast_h323.cpp:751: ANSI C++ forbids declaration `cit' with no type
>ast_h323.cpp:751: redefinition of `int cit'
>ast_h323.cpp:697: `int cit' previously defined here
>ast_h323.cpp:751: `bit' was not declared in this scope
>ast_h323.cpp:755: parse error before `if'
>ast_h323.cpp:761: syntax error before `->'
>ast_h323.cpp:762: syntax error before `.'
>ast_h323.cpp:903: parse error before `}'
>ast_h323.h: In function `void __static_initialization_and_destruction_0(int, int)':
>cc1plus: register name not specified for ` /* decl error */ '
>ast_h323.h:144: Internal compiler error:
>ast_h323.h:144: Internal compiler error in `make_decl_rtl', at varasm.c:742
>Please submit a full bug report.
>See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>make: *** [ast_h323.o] Error 1
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>  
>





More information about the asterisk-users mailing list