problem in setting HW decoder for h264

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

 



Hi,

I am using CSipSimple code from branch version 1952.
i took build_ffmpeg file from version 1991 in which HW decoder for h264
support has been added.

when i try to build video plugin using "make VideoLibs" i get the following
error:



jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `decode_thread(void*)':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:171:
undefined reference to `android::MediaBuffer::release()'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:165:
undefined reference to `android::MetaData::findInt32(unsigned int, int*)'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:166:
undefined reference to `android::MetaData::findInt32(unsigned int, int*)'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:167:
undefined reference to `android::MediaBuffer::range_length() const'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `~sp':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:379:
undefined reference to `android::RefBase::decStrong(void const*) const'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `Stagefright_decode_frame':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:427:
undefined reference to `android::MediaBuffer::data() const'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:439:
undefined reference to `android::MediaBuffer::release()'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `sp':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:360:
undefined reference to `android::RefBase::incStrong(void const*) const'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `~sp':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:379:
undefined reference to `android::RefBase::decStrong(void const*) const'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `~CustomSource':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:82:
undefined reference to `android::MediaBufferGroup::~MediaBufferGroup()'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:82:
undefined reference to `android::MediaSource::~MediaSource()'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `~sp':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:379:
undefined reference to `android::RefBase::decStrong(void const*) const'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `~CustomSource':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:82:
undefined reference to `android::MediaBufferGroup::~MediaBufferGroup()'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:82:
undefined reference to `android::MediaSource::~MediaSource()'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `CustomSource::read(android::MediaBuffer**,
android::MediaSource::ReadOptions const*)':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:119:
undefined reference to
`android::MediaBufferGroup::acquire_buffer(android::MediaBuffer**)'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:121:
undefined reference to `android::MediaBuffer::data() const'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:122:
undefined reference to `android::MediaBuffer::set_range(unsigned int,
unsigned int)'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:123:
undefined reference to `android::MediaBuffer::meta_data()'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:123:
undefined reference to `android::MetaData::clear()'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `~sp':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:379:
undefined reference to `android::RefBase::decStrong(void const*) const'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `CustomSource::read(android::MediaBuffer**,
android::MediaSource::ReadOptions const*)':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:124:
undefined reference to `android::MediaBuffer::meta_data()'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:124:
undefined reference to `android::MetaData::setInt32(unsigned int, int)'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `~sp':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:379:
undefined reference to `android::RefBase::decStrong(void const*) const'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `CustomSource::read(android::MediaBuffer**,
android::MediaSource::ReadOptions const*)':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:125:
undefined reference to `android::MediaBuffer::meta_data()'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:125:
undefined reference to `android::MetaData::setInt64(unsigned int, long
long)'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `~sp':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:379:
undefined reference to `android::RefBase::decStrong(void const*) const'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `Stagefright_close':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:458:
undefined reference to `android::MediaBuffer::release()'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:506:
undefined reference to `android::MediaBuffer::release()'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:511:
undefined reference to `android::OMXClient::disconnect()'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `~sp':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:379:
undefined reference to `android::RefBase::decStrong(void const*) const'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:379:
undefined reference to `android::RefBase::decStrong(void const*) const'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:379:
undefined reference to `android::RefBase::decStrong(void const*) const'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `Stagefright_init':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:222:
undefined reference to `android::MetaData::MetaData()'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `android::sp<android::MetaData>::operator=(android::MetaData*)':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:394:
undefined reference to `android::RefBase::incStrong(void const*) const'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:395:
undefined reference to `android::RefBase::decStrong(void const*) const'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `Stagefright_init':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:227:
undefined reference to `android::MetaData::setCString(unsigned int, char
const*)'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:228:
undefined reference to `android::MetaData::setInt32(unsigned int, int)'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:229:
undefined reference to `android::MetaData::setInt32(unsigned int, int)'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:230:
undefined reference to `android::MetaData::setData(unsigned int, unsigned
int, void const*, unsigned int)'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:232:
undefined reference to `android::ProcessState::self()'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:232:
undefined reference to `android::ProcessState::startThreadPool()'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `~sp':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:379:
undefined reference to `android::RefBase::decStrong(void const*) const'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `sp':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:360:
undefined reference to `android::RefBase::incStrong(void const*) const'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `CustomSource':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:84:
undefined reference to `android::MediaSource::MediaSource()'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:84:
undefined reference to `android::MediaBufferGroup::MediaBufferGroup()'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:88:
undefined reference to `android::MediaBuffer::MediaBuffer(unsigned int)'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/libavcodec/libstagefright.cpp:88:
undefined reference to
`android::MediaBufferGroup::add_buffer(android::MediaBuffer*)'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `operator=<CustomSource>':
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:413:
undefined reference to `android::RefBase::incStrong(void const*) const'
/home/ubuntu/workspace/6may/CSipSimple/jni/ffmpeg/ffmpeg_src/./android-source/frameworks/base/include/utils/RefBase.h:414:
undefined reference to `android::RefBase::decStrong(void const*) const'
jni/pjsip/android_toolchain/pjmedia/../../sources/pjmedia/../../../ffmpeg/build/ffmpeg/armeabi-v7a/lib/libavcodec.a(libstagefright.o):
In function `Stagefright_init':



Kindly respond if anyone has any idea about this.

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130509/a0eff905/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux