Skip to content

compilation with module ptlib and h323plus stopped with an error #15

@cybermurz

Description

@cybermurz

Hi!
Please tell me what to do in this case?
i try install Yate with this config
debian 11
Yate 6.4.1 devel1 re0a20c4fe410dede4b40d7d42c3e8c7cde3383c2
h323plus 1.28.0
ptlib 2.10.9

according to instructions
https://docs.yate.ro/wiki/Compiling_Yate_with_H323plus_support
because PWLib and openH323 are not available at: http://yate.null.ro/tarballs/

I get this error
make trace-log

h323chan.cpp: In member function ‘virtual H323Connection::AnswerCallResponse {anonymous}::YateH323Connection::OnAnswerCall(const PString&, const H323SignalPDU&, H323SignalPDU&)’:
h323chan.cpp:1852:36: error: call of overloaded ‘setParam(const char [11], const PString&)’ is ambiguous
 1852 |     m->setParam("callername",caller);
      |                                    ^
In file included from ../yatengine.h:29,
                 from ../yatephone.h:29,
                 from h323chan.cpp:89:
../yateclass.h:6988:16: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::setParam(const TelEngine::String&, const char*)’
 6988 |     NamedList& setParam(const String& name, const char* value);
      |                ^~~~~~~~
../yateclass.h:7036:23: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::setParam(const TelEngine::String&, bool)’
 7036 |     inline NamedList& setParam(const String& name, bool value)
      |                       ^~~~~~~~
h323chan.cpp: In member function ‘virtual H323Channel* {anonymous}::YateH323Connection::CreateRealTimeLogicalChannel(const H323Capability&, H323Channel::Directions, unsigned int, const H245_H2250LogicalChannelParameters*, RTP_QOS*)’:
h323chan.cpp:2251:52: error: call of overloaded ‘addParam(const char [8], PString)’ is ambiguous
 2251 |   m.addParam("localip",externalIpAddress.AsString());
      |                                                    ^
In file included from ../yatengine.h:29,
                 from ../yatephone.h:29,
                 from h323chan.cpp:89:
../yateclass.h:6858:16: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::addParam(const char*, const char*, bool)’
 6858 |     NamedList& addParam(const char* name, const char* value, bool emptyOK = true);
      |                ^~~~~~~~
../yateclass.h:6926:23: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::addParam(const char*, bool)’
 6926 |     inline NamedList& addParam(const char* name, bool value)
      |                       ^~~~~~~~
h323chan.cpp: In member function ‘virtual PBoolean {anonymous}::YateGatekeeperServer::GetUsersPassword(const PString&, PString&) const’:
h323chan.cpp:2661:32: error: call of overloaded ‘addParam(const char [9], const PString&)’ is ambiguous
 2661 |     m.addParam("username",alias);
      |                                ^
In file included from ../yatengine.h:29,
                 from ../yatephone.h:29,
                 from h323chan.cpp:89:
../yateclass.h:6858:16: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::addParam(const char*, const char*, bool)’
 6858 |     NamedList& addParam(const char* name, const char* value, bool emptyOK = true);
      |                ^~~~~~~~
../yateclass.h:6926:23: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::addParam(const char*, bool)’
 6926 |     inline NamedList& addParam(const char* name, bool value)
      |                       ^~~~~~~~
h323chan.cpp:2663:54: error: call of overloaded ‘addParam(const char [11], const PString&)’ is ambiguous
 2663 |     m.addParam("gatekeeper",GetGatekeeperIdentifier());
      |                                                      ^
In file included from ../yatengine.h:29,
                 from ../yatephone.h:29,
                 from h323chan.cpp:89:
../yateclass.h:6858:16: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::addParam(const char*, const char*, bool)’
 6858 |     NamedList& addParam(const char* name, const char* value, bool emptyOK = true);
      |                ^~~~~~~~
../yateclass.h:6926:23: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::addParam(const char*, bool)’
 6926 |     inline NamedList& addParam(const char* name, bool value)
      |                       ^~~~~~~~
h323chan.cpp: In member function ‘virtual H323Transaction::Response {anonymous}::YateGatekeeperServer::OnRegistration(H323GatekeeperRRQ&)’:
h323chan.cpp:2699:33: error: call of overloaded ‘addParam(const char [9], PString&)’ is ambiguous
 2699 |      m.addParam("username",alias);
      |                                 ^
In file included from ../yatengine.h:29,
                 from ../yatephone.h:29,
                 from h323chan.cpp:89:
../yateclass.h:6858:16: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::addParam(const char*, const char*, bool)’
 6858 |     NamedList& addParam(const char* name, const char* value, bool emptyOK = true);
      |                ^~~~~~~~
../yateclass.h:6926:23: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::addParam(const char*, bool)’
 6926 |     inline NamedList& addParam(const char* name, bool value)
      |                       ^~~~~~~~
h323chan.cpp: In member function ‘virtual H323Transaction::Response {anonymous}::YateGatekeeperServer::OnUnregistration(H323GatekeeperURQ&)’:
h323chan.cpp:2722:33: error: call of overloaded ‘addParam(const char [9], PString&)’ is ambiguous
 2722 |      m.addParam("username",alias);
      |                                 ^
In file included from ../yatengine.h:29,
                 from ../yatephone.h:29,
                 from h323chan.cpp:89:
../yateclass.h:6858:16: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::addParam(const char*, const char*, bool)’
 6858 |     NamedList& addParam(const char* name, const char* value, bool emptyOK = true);
      |                ^~~~~~~~
[../yateclass.h:6926:23: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::addParam(const char*, bool)’
 6926 |     inline NamedList& addParam(const char* name, bool value)
      |                       ^~~~~~~~
h323chan.cpp: In member function ‘virtual PBoolean {anonymous}::YateGatekeeperServer::TranslateAliasAddressToSignalAddress(const H225_AliasAddress&, H323TransportAddress&)’:
h323chan.cpp:2734:36: error: call of overloaded ‘addParam(const char [7], PString&)’ is ambiguous
 2734 |     m.addParam("called",aliasString);
      |                                    ^
In file included from ../yatengine.h:29,
                 from ../yatephone.h:29,
                 from h323chan.cpp:89:
../yateclass.h:6858:16: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::addParam(const char*, const char*, bool)’
 6858 |     NamedList& addParam(const char* name, const char* value, bool emptyOK = true);
      |                ^~~~~~~~
../yateclass.h:6926:23: note: candidate: ‘TelEngine::NamedList& TelEngine::NamedList::addParam(const char*, bool)’
 6926 |     inline NamedList& addParam(const char* name, bool value)
      |                       ^~~~~~~~
make[1]: *** [Makefile:320: h323chan.yate] Ошибка 1
make[1]: выход из каталога «/usr/src/yate/modules»
make: *** [Makefile:191: modules] Ошибка 2]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions