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

Re: Problem building h263/4 for asterisk from source



On (23/03/14 11:49), Chris Bannister <cbannister@slingshot.co.nz> put forth the proposition:
On Fri, Mar 21, 2014 at 05:05:32PM +0000, David Woodfall wrote:
I tried installing ptlib and openh323 from source but make in ptlib
errored out with something that I couldn't fathom out.

I'm new to Debian and apt so any help on getting the latest asterisk
working with all video codecs would be useful.

http://www.catb.org/~esr/faqs/smart-questions.html

Here is the make error from ptlib_v1_12_0:

g++ -D_REENTRANT -fno-exceptions  -Wall  -fPIC -DPIC -DNDEBUG -I/usr/src/ptlib_v1_12_0/include -Os   -felide-constructors -Wreorder  -c ../../ptclib/pils.cxx -o /usr/src/ptlib_v1_12_0/lib/obj_linux_x86_r/pils.o
In file included from /usr/src/ptlib_v1_12_0/include/ptlib/contain.h:804:0,
                from /usr/src/ptlib_v1_12_0/include/ptlib.h:161,
                from ../../ptclib/pils.cxx:52:
/usr/src/ptlib_v1_12_0/include/ptlib/array.h: In instantiation of ‘void PScalarArray<T>::ReadElementFrom(std::istream&, PINDEX) [with T = short unsigned int; std::istream = std::basic_istream<char>; PINDEX = int]’:
../../ptclib/pils.cxx:166:1:   required from here
/usr/src/ptlib_v1_12_0/include/ptlib/array.h:647:9: error: ‘SetAt’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/usr/src/ptlib_v1_12_0/include/ptlib/array.h:647:9: note: declarations in dependent base ‘PBaseArray<short unsigned int>’ are not found by unqualified lookup
/usr/src/ptlib_v1_12_0/include/ptlib/array.h:647:9: note: use ‘this->SetAt’ instead
make[2]: *** [/usr/src/ptlib_v1_12_0/lib/obj_linux_x86_r/pils.o] Error 1
make[2]: Leaving directory `/usr/src/ptlib_v1_12_0/src/ptlib/unix'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/usr/src/ptlib_v1_12_0'
make: *** [optshared] Error 2

-Dave


Reply to: