[Asterisk-Users] H323 compilation Help needed

Alejandro Kauffmann akauffma at prodigy.net.mx
Wed Jan 4 18:48:06 MST 2006


You need to run make from /usr/src/asterisk and not
/usr/src/asterisk/channels/h323.  Just make then make install.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Hussain Umair
Sent: Wednesday, January 04, 2006 5:35 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] H323 compilation Help needed


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/

_______________________________________________
--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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.13/221 - Release Date: 1/4/2006





More information about the asterisk-users mailing list