[Asterisk-Users] H323 compilation Help needed
Hussain Umair
devil_dance at hotmail.com
Wed Jan 4 16:35:22 MST 2006
hi all im trying to compile h323 i have got the pwlib and openh323 working
that is simph323 is running properly but when i try to compile h323 in the
channels directory it gives me the following error can anybody please help
me with
[root at test src]# cd /usr/src/asterisk/channels/h323/
[root at test h323]# make opt
g++ -DNDEBUG -I../../include -Wmissing-prototypes -fPIC
-DP_LINUX=2.6.5-1.358 -ffunction-sections -fdata-sections -D_REENTRANT -Wall
-fPIC -DP_USE_PRAGMA -DPHAS_TEMPLATES -I/root/pwlib/include/ptlib/unix
-I/usr/include/pwlib -I/root/pwlib/include -DPTRACING
-I/root/openh323/include -DHAS_IXJ -DHAS_OSS -fPIC -DP_USE_PRAGMA -Os
-DNDEBUG -pipe -x c++ -c ast_h323.cxx -o ast_h323.o
ast_h323.cxx:1:1: warning: "_GNU_SOURCE" redefined
<command line>:4:1: warning: this is the location of the previous definition
In file included from ast_h323.cxx:51:
ast_h323.h:159: error: type specifier omitted for parameter `RTP_QOS'
ast_h323.h:159: error: syntax error before `*' token
ast_h323.cxx:957: error: type specifier omitted for parameter `RTP_QOS'
ast_h323.cxx:957: error: syntax error before `*' token
ast_h323.cxx: In member function `H323Channel*
MyH323Connection::CreateRealTimeLogicalChannel(...)':
ast_h323.cxx:959: error: `capability' undeclared (first use this function)
ast_h323.cxx:959: error: (Each undeclared identifier is reported only once
for
each function it appears in.)
ast_h323.cxx:959: error: `dir' undeclared (first use this function)
ast_h323.cxx:959: error: `sessionID' undeclared (first use this function)
make: *** [ast_h323.o] Error 1
Thanks alot in advance...
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the asterisk-users
mailing list