[Home]

Summary:ASTERISK-14893: chan_h323 and asterisk-1.6.2 compile issue
Reporter:Balgansuren Batsukh (balgaa)Labels:
Date Opened:2009-09-26 07:35:25Date Closed:2009-09-28 09:28:17
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_h323
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I am trying to compile chan_h323 with Asterisk-1.6.2 and H323Plus 1.21.0 and Ptlib-2.4.5, but get following error:

pbx:~/asterisk-1.6.2/channels/h323# make opt
make DEBUG= default_target
make[1]: Entering directory `/root/asterisk-1.6.2/channels/h323'
g++ -DNDEBUG -I../../include -include ../../include/asterisk/autoconfig.h -fPIC  -DPTRACING=1 -D_REENTRANT     -fno-exceptions  -Wall  -fPIC -DPIC -DNDEBUG -I/root/ptlib-2.4.5/include -DPTRACING -I/root/h323plus/include -Os  -pipe -felide-constructors -Wreorder  -c ast_h323.cxx -o ast_h323.o
ast_h323.h:104: error: âBOOLâ has not been declared
ast_h323.h:156: error: âBOOLâ does not name a type
ast_h323.h:157: error: âBOOLâ does not name a type
ast_h323.h:159: error: âBOOLâ does not name a type
ast_h323.cxx:2103: error: prototype for âvoid MyH323Connection::MyHoldCall(PBoolean)â does not match any in class âMyH323Connectionâ
ast_h323.h:104: error: candidate is: void MyH323Connection::MyHoldCall(int)
ast_h323.cxx:2371: error: âBOOLâ does not name a type
ast_h323.cxx:2377: error: âBOOLâ does not name a type
ast_h323.cxx:2388: error: âBOOLâ does not name a type
make[1]: *** [ast_h323.o] Error 1
make[1]: Leaving directory `/root/asterisk-1.6.2/channels/h323'
make: *** [opt] Error 2
pbx:~/asterisk-1.6.2/channels/h323#
Comments:By: Balgansuren Batsukh (balgaa) 2009-09-27 22:13:27

I added patch from 0015912 issue and got fixed

By: Leif Madsen (lmadsen) 2009-09-28 09:28:17

Fixed by patch in ASTERISK-14845 per reporter.