Hmm...there is a bug in the current release with anything using the template pointer that in effect requires cc++/config.h to be included first. But this will be fixed in the upcoming 1.4.0. I think this is that bug.
Michel de Boer wrote: > I received reports from users who tried to built my softphone against > commoncpp2-1.3.27. They got the errors below. > > I am still running 1.3.21 and then the build works fine. > Is 1.3.27 not backwards compatible with 1.3.21? > > Regards, > Michel > > > In file included from /usr/include/ccrtp/queuebase.h:47, > from /usr/include/ccrtp/iqueue.h:47, > from /usr/include/ccrtp/ioqueue.h:47, > from /usr/include/ccrtp/cqueue.h:47, > from /usr/include/ccrtp/rtp.h:52, > from twinkle_rtp_session.h:5, > from twinkle_rtp_session.cpp:1: > /usr/include/cc++2/cc++/pointer.h:56: error: invalid function declaration > In file included from /usr/include/ccrtp/iqueue.h:47, > from /usr/include/ccrtp/ioqueue.h:47, > from /usr/include/ccrtp/cqueue.h:47, > from /usr/include/ccrtp/rtp.h:52, > from twinkle_rtp_session.h:5, > from twinkle_rtp_session.cpp:1: > /usr/include/ccrtp/queuebase.h:158: error: expected `;' before '<' token > /usr/include/ccrtp/queuebase.h: In member function `ost::PayloadType > ost::AppDataUnit::getType() const': > /usr/include/ccrtp/queuebase.h:98: error: `datablock' was not declared > in this scope > /usr/include/ccrtp/queuebase.h: In member function `const uint8* const > ost::AppDataUnit::getData() const': > /usr/include/ccrtp/queuebase.h:109: error: `datablock' was not declared > in this scope > /usr/include/ccrtp/queuebase.h: In member function `size_t > ost::AppDataUnit::getSize() const': > /usr/include/ccrtp/queuebase.h:116: error: `datablock' was not declared > in this scope > /usr/include/ccrtp/queuebase.h: In member function `bool > ost::AppDataUnit::isMarked() const': > /usr/include/ccrtp/queuebase.h:132: error: `datablock' was not declared > in this scope > /usr/include/ccrtp/queuebase.h: In member function `uint16 > ost::AppDataUnit::getSeqNum() const': > /usr/include/ccrtp/queuebase.h:139: error: `datablock' was not declared > in this scope > /usr/include/ccrtp/queuebase.h: In member function `uint8 > ost::AppDataUnit::getContributorsCount() const': > /usr/include/ccrtp/queuebase.h:146: error: `datablock' was not declared > in this scope > /usr/include/ccrtp/queuebase.h: In member function `const uint32* > ost::AppDataUnit::getContributorsID() const': > /usr/include/ccrtp/queuebase.h:155: error: `datablock' was not declared > in this scope > make[3]: *** [twinkle_rtp_session.o] Error 1 > make[3]: Leaving directory `/tmp/twinkle-0.7/src/audio' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory `/tmp/twinkle-0.7/src/audio' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/tmp/twinkle-0.7/src' > make: *** [install-recursive] Error 1 > > > _______________________________________________ > Ccrtp-devel mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/ccrtp-devel
begin:vcard fn:David Sugar n:Sugar;David org:GNU Telephony email;internet:[EMAIL PROTECTED] tel;work:+1 201 215 2609 url:http://www.gnutelephony.org version:2.1 end:vcard
_______________________________________________ Ccrtp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/ccrtp-devel
