[Asterisk-video] Installing H324 gateway

anurag agarwal anurag_agarwaljan at yahoo.co.in
Fri Sep 17 00:34:01 CDT 2010


Thanks Klaus ,

You are right, I am facing the same error as you said. Now I have successfully 
install Ptlib-2.8.2 and now the error is:



[root at localhost libh324m]# make
g++ -g -O3 -fPIC -DPIC -D_REENTRANT -fno-exceptions    -c -o h324m.o h324m.cpp
src/H245.h:67: error: âBOOLâ does not name a type
src/H245.h:217: error: âBOOLâ does not name a type
src/H245.h:439: error: âBOOLâ does not name a type
src/H245.h:565: error: âBOOLâ does not name a type
src/H245.h:779: error: âBOOLâ does not name a type
src/H245.h:828: error: âBOOLâ does not name a type
src/H245.h:849: error: âBOOLâ does not name a type
src/H245.h:873: error: âBOOLâ does not name a type
src/H245.h:953: error: âBOOLâ does not name a type
src/H245.h:977: error: âBOOLâ does not name a type
src/H245.h:1151: error: âBOOLâ does not name a type
src/H245.h:1221: error: âBOOLâ does not name a type
src/H245.h:1258: error: âBOOLâ does not name a type
src/H245.h:1283: error: âBOOLâ does not name a type
src/H245.h:1310: error: âBOOLâ does not name a type
src/H245.h:1335: error: âBOOLâ does not name a type
src/H245.h:1374: error: âBOOLâ does not name a type
src/H245.h:1398: error: âBOOLâ does not name a type
src/H245.h:1395: error: cannot declare field 
âH245_MediaChannelCapability::m_mediaTransportâ to be of abstract type 
âH245_MediaTransportTypeâ
src/H245.h:1352: note:   because the following virtual functions are pure within 
âH245_MediaTransportTypeâ:
/usr/local/include/ptclib/asner.h:742: note:    virtual PBoolean 
PASN_Choice::CreateObject()
src/H245.h:1442: error: âBOOLâ does not name a type
src/H245.h:1520: error: âBOOLâ does not name a type
src/H245.h:1551: error: âBOOLâ does not name a type
src/H245.h:1602: error: âBOOLâ does not name a type
src/H245.h:1631: error: âBOOLâ does not name a type
src/H245.h:1670: error: âBOOLâ does not name a type
src/H245.h:1702: error: âBOOLâ does not name a type
src/H245.h:1744: error: âBOOLâ does not name a type
src/H245.h:1874: error: âBOOLâ does not name a type
src/H245.h:1905: error: âBOOLâ does not name a type
src/H245.h:1938: error: âBOOLâ does not name a type
src/H245.h:1983: error: âBOOLâ does not name a type
src/H245.h:2010: error: âBOOLâ does not name a type
src/H245.h:2035: error: âBOOLâ does not name a type
src/H245.h:2032: error: cannot declare field âH245_VBDCapability::m_typeâ to be 
of abstract type âH245_AudioCapabilityâ
src/H245.h:1771: note:   because the following virtual functions are pure within 
âH245_AudioCapabilityâ:
/usr/local/include/ptclib/asner.h:742: note:    virtual PBoolean 
PASN_Choice::CreateObject()
src/H245.h:2090: error: âBOOLâ does not name a type
src/H245.h:2120: error: âBOOLâ does not name a type
src/H245.h:2141: error: âBOOLâ does not name a type
src/H245.h:2177: error: âBOOLâ does not name a type
src/H245.h:2199: error: âBOOLâ does not name a type
src/H245.h:2219: error: âBOOLâ does not name a type
src/H245.h:2275: error: âBOOLâ does not name a type
src/H245.h:2315: error: âBOOLâ does not name a type
src/H245.h:2348: error: âBOOLâ does not name a type
src/H245.h:2381: error: âBOOLâ does not name a type
src/H245.h:2418: error: âBOOLâ does not name a type
src/H245.h:2464: error: âBOOLâ does not name a type
src/H245.h:2485: error: âBOOLâ does not name a type
src/H245.h:2510: error: âBOOLâ does not name a type
src/H245.h:2535: error: âBOOLâ does not name a type
src/H245.h:2559: error: âBOOLâ does not name a type
src/H245.h:2593: error: âBOOLâ does not name a type
src/H245.h:2649: error: âBOOLâ does not name a type
src/H245.h:2766: error: âBOOLâ does not name a type
src/H245.h:2787: error: âBOOLâ does not name a type
src/H245.h:2783: error: cannot declare field 
âH245_MultiplexedStreamParameter::m_multiplexFormatâ to be of abstract type 
âH245_MultiplexFormatâ
src/H245.h:2432: note:   because the following virtual functions are pure within 
âH245_MultiplexFormatâ:
/usr/local/include/ptclib/asner.h:742: note:    virtual PBoolean 
PASN_Choice::CreateObject()
src/H245.h:2822: error: âBOOLâ does not name a type
src/H245.h:2850: error: âBOOLâ does not name a type
src/H245.h:2875: error: âBOOLâ does not name a type
src/H245.h:2871: error: cannot declare field 
âH245_RedundancyEncodingElement::m_dataTypeâ to be of abstract type 
âH245_DataTypeâ
src/H245.h:2676: note:   because the following virtual functions are pure within 
âH245_DataTypeâ:
/usr/local/include/ptclib/asner.h:742: note:    virtual PBoolean 
PASN_Choice::CreateObject()
src/H245.h:2905: error: âBOOLâ does not name a type
src/H245.h:2901: error: cannot declare field 
âH245_MultiplePayloadStreamElement::m_dataTypeâ to be of abstract type 
âH245_DataTypeâ
src/H245.h:2676: note:   since type âH245_DataTypeâ has pure virtual functions
src/H245.h:2940: error: âBOOLâ does not name a type
src/H245.h:2970: error: âBOOLâ does not name a type
src/H245.h:3008: error: âBOOLâ does not name a type
src/H245.h:3072: error: âBOOLâ does not name a type
src/H245.h:3119: error: âBOOLâ does not name a type
src/H245.h:3140: error: âBOOLâ does  



Please help me to install it..


Regds

Anurag



________________________________
From: Klaus Darilion <klaus.mailinglists at pernau.at>
To: anurag agarwal <anurag_agarwaljan at yahoo.co.in>
Cc: Development discussion of video media support in Asterisk 
<asterisk-video at lists.digium.com>
Sent: Wed, 15 September, 2010 3:29:44 PM
Subject: Re: [Asterisk-video] Installing H324 gateway



Am 15.09.2010 10:57, schrieb anurag agarwal:
> Hi Klaus,
> 
> I have install asterisk 1.4 and after that try to install it. This is
> comes in very first time, not any error msg shown before this...

That's not true. There are lots of other errors before - maybe the scrollback 
buffer of your console is too small.


libh324m$ make
g++ -g -O3 -fPIC -DPIC -D_REENTRANT -fno-exceptions    -c -o h324m.o h324m.cpp
In file included from src/H223MuxTable.h:3,
                 from src/H245ChannelsFactory.h:4,
                 from src/H324MSession.h:4,
                 from h324m.cpp:6:
src/H245.h:15:19: error: ptlib.h: No such file or directory
src/H245.h:16:26: error: ptclib/asner.h: No such file or directory
In file included from src/H324MAL1.h:6,
                 from src/H324MMediaChannel.h:4,
                 from src/H245ChannelsFactory.h:7,
                 from src/H324MSession.h:4,
                 from h324m.cpp:6:
src/H324pdu.h:5:27: error: ptlib/sockets.h: No such file or directory
In file included from src/H223MuxTable.h:3,
                 from src/H245ChannelsFactory.h:4,
                 from src/H324MSession.h:4,
                 from h324m.cpp:6:


especially this line is important:

ptlib.h: No such file or directory


So - where is ptlib.h from? In such cases I prefer Debian's package search 
engine:

http://packages.debian.org/search?searchon=contents&keywords=ptlib.h&mode=path&suite=stable&arch=any


So, you see it belongs to libpt (part of pwlib). Thus, install it. Either using 
the packages of your Linux distribution or install it manually.

regards
klaus


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20100917/e8fb7c4c/attachment.htm 


More information about the asterisk-video mailing list