Re: [Ekiga-devel-list] ekiga-3.3.2 compile error. Template declaration not found.



On 01/08/12 11:10, hohyeis eml cc wrote:
In building ekiga-3.3.2 from TAr. no declarations were found for
instantiation of 'void
Ekiga::BankImpl<AccountType>::add_account(boost::shared_ptr<T>) .
Platform is Debian unstable/Sid with GCC 4.7.1 .

Here is a full log frrom `make`:
https://paste.debian.net/hidden/66696d80/

Here is the part of main interest:

   CXX    opal-bank.lo
In file included from ../lib/engine/components/opal/opal-bank.h:42:0,
                  from ../lib/engine/components/opal/opal-bank.cpp:51:
../lib/engine/account/bank-impl.h: In instantiation of 'void
Ekiga::BankImpl<AccountType>::add_account(boost::shared_ptr<T>) [with
AccountType = Opal::Account]':
../lib/engine/components/opal/opal-bank.cpp:63:5:   required from here
../lib/engine/account/bank-impl.h:206:3: error: 'add_object' was not
declared in this scope, and no declarations were found by
argument-dependent lookup at the point of instantiation [-fpermissive]
../lib/engine/account/bank-impl.h:206:3: note: declarations in dependent
base 'Ekiga::RefLister<Opal::Account>' are not found by unqualified
lookup
../lib/engine/account/bank-impl.h:206:3: note: use 'this->add_object'
instead
In file included from /usr/include/opal/opal/mediafmt.h:47:0,
                  from /usr/include/opal/opal/mediastrm.h:43,
                  from /usr/include/opal/im/im.h:71,
                  from /usr/include/opal/opal/pres_ent.h:43,
                  from /usr/include/opal/opal/manager.h:41,
                  from /usr/include/opal/opal/endpoint.h:41,
                  from /usr/include/opal/opal/rtpep.h:38,
                  from /usr/include/opal/sip/sipep.h:48,
                  from ../lib/engine/components/opal/opal-bank.cpp:46:
/usr/include/opal/opal/mediatype.h:328:1: warning:
'PFactoryLoader::T38PseudoRTP_Handler_loader' defined but not used
[-Wunused-variable]
In file included from /usr/include/opal/opal/mediafmt.h:48:0,
                  from /usr/include/opal/opal/mediastrm.h:43,
                  from /usr/include/opal/im/im.h:71,
                  from /usr/include/opal/opal/pres_ent.h:43,
                  from /usr/include/opal/opal/manager.h:41,
                  from /usr/include/opal/opal/endpoint.h:41,
                  from /usr/include/opal/opal/rtpep.h:38,
                  from /usr/include/opal/sip/sipep.h:48,
                  from ../lib/engine/components/opal/opal-bank.cpp:46:
/usr/include/opal/rtp/rtp.h:1328:1: warning:
'PFactoryLoader::RTP_Encoding_loader' defined but not used
[-Wunused-variable]
In file included from /usr/include/opal/opal/manager.h:41:0,
                  from /usr/include/opal/opal/endpoint.h:41,
                  from /usr/include/opal/opal/rtpep.h:38,
                  from /usr/include/opal/sip/sipep.h:48,
                  from ../lib/engine/components/opal/opal-bank.cpp:46:
/usr/include/opal/opal/pres_ent.h:717:1: warning:
'PFactoryLoader::SIP_Presentity_loader' defined but not used
[-Wunused-variable]
In file included from /usr/include/opal/opal/call.h:42:0,
                  from /usr/include/opal/opal/manager.h:42,
                  from /usr/include/opal/opal/endpoint.h:41,
                  from /usr/include/opal/opal/rtpep.h:38,
                  from /usr/include/opal/sip/sipep.h:48,
                  from ../lib/engine/components/opal/opal-bank.cpp:46:
/usr/include/opal/opal/recording.h:210:1: warning:
'PFactoryLoader::OpalWAVRecordManager_loader' defined but not used
[-Wunused-variable]
make[3]: *** [opal-bank.lo] Error 1
make[3]: Leaving directory ` /ekiga-3.3.2/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory ` /ekiga-3.3.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory ` /ekiga-3.3.2'
make: *** [all] Error 2


Apply the same patch: at http://git.gnome.org/browse/ekiga/commit/?id=f81a43f2.

--
Eugen


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]