[x265] [PATCH RFC] cpu-a: remove unused safe_intel_cpu_indicator_init routine
Derek Buitenhuis
derek.buitenhuis at gmail.com
Sat Oct 5 20:00:16 CEST 2013
On 10/4/2013 12:22 AM, Derek Buitenhuis wrote:
> Queued to test tomorrow morn.
Findings:
t
Lib links via:
/usr/bin/c++ -fPIC -fPIC -O3 -DNDEBUG -shared -Wl,-soname,libx265.so -o libx265.so CMakeFiles/x265.dir/dllmain.cpp.o common/libcommon.a encoder/libencoder.a common/vec/libPrimitivesVec.a common/x86/libPrimitivesASM.a -lpthread -lm -lrt
x265 links via:
/usr/bin/c++ -fPIC -O3 -DNDEBUG -fPIC CMakeFiles/cli.dir/input/input.cpp.o CMakeFiles/cli.dir/input/y4m.cpp.o CMakeFiles/cli.dir/input/yuv.cpp.o CMakeFiles/cli.dir/output/output.cpp.o CMakeFiles/cli.dir/output/y4m.cpp.o CMakeFiles/cli.dir/output/yuv.cpp.o CMakeFiles/cli.dir/x265.cpp.o CMakeFiles/cli.dir/compat/msvc/getopt.c.o -o x265 -rdynamic libx265.so -lpthread -lm -lrt common/libcommon.a encoder/libencoder.a common/vec/libPrimitivesVec.a common/x86/libPrimitivesASM.a -Wl,-rpath,/mnt/tc/dev/b
Obviously wrong, since it includes the .a files.
Also libx265.so doesn't link to third party libs properly.
I tested with my patch to Libav and got:
check_func x265_encoder_encode -lx265 -lstdc++
check_ld -lx265 -lstdc++
check_cc
BEGIN /tmp/ffconf.TrwduATY.c
1 extern int x265_encoder_encode();
2 int main(void){ x265_encoder_encode(); }
END /tmp/ffconf.TrwduATY.c
clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.eeq38c5j.o /tmp/ffconf.TrwduATY.c
clang -Wl,--as-needed -o /tmp/ffconf.nF7C6wIq /tmp/ffconf.eeq38c5j.o -lx265 -lstdc++ -lm -pthread -lbz2 -lz
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::m_numClass'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setLumaIntraDirSubParts(unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSlice::getWpAcDcParam(x265::wpACDCParam*&)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setTransformSkipSubParts(unsigned int, x265::TextType, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getCoefScanIdx(unsigned int, unsigned int, bool, bool)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComYuv::copyToPicYuv(x265::TComPicYuv*, unsigned int, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComTrQuant::invtransformNxN(bool, unsigned int, short*, unsigned int, int*, unsigned int, unsigned int, int, bool, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::ThreadPool::getThreadPool()'
/usr/local/lib/libx265.so: undefined reference to `x265::TShortYUV::copyPartToPartChroma(x265::TComYuv*, unsigned int, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPicYuv::clearReferences()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setDepthSubParts(unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getQuadtreeTULog2MinSizeInCU(unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::processSaoUnitAll(x265::_SaoLcuParam*, bool, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComTrQuant::setQPforQuant(int, x265::TextType, int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComScalingList::TComScalingList()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSlice::getRapPicFlag()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPrediction::predIntraLumaAng(unsigned int, unsigned char*, unsigned int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSlice::setRefPOCList()'
/usr/local/lib/libx265.so: undefined reference to `x265::TShortYUV::clear()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPattern::initAdiPatternChroma(x265::TComDataCU*, unsigned int, unsigned int, unsigned char*, int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::PCMLFDisableProcess(x265::TComPic*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSPS::~TComSPS()'
/usr/local/lib/libx265.so: undefined reference to `x265::JobProvider::flush()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSPS::setHrdParameters(unsigned int, unsigned int, unsigned int, bool)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::copyToPic(unsigned char, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setPartSizeSubParts(x265::PartSize, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::Thread::start()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComTrQuant::~TComTrQuant()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPic::TComPic()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::create(unsigned int, unsigned int, unsigned int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComOutputBitstream::TComOutputBitstream()'
/usr/local/lib/libx265.so: undefined reference to `x265::WaveFront::~WaveFront()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::isLosslessCoded(unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPicYuv::copyFromPicture(x265_picture_t const&)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::initCU(x265::TComPic*, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::JobProvider::dequeue()'
/usr/local/lib/libx265.so: undefined reference to `x265::xPCMCURestoration(x265::TComDataCU*, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComYuv::copyPartToPartChroma(x265::TShortYUV*, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::JobProvider::enqueue()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPic::create(int, int, unsigned int, unsigned int, unsigned int, x265::Window&, x265::Window&, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::destroy()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComReferencePictureSet::getRefIdc(int) const'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPrediction::predIntraChromaAng(unsigned char*, unsigned int, unsigned char*, unsigned int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComYuv::copyPartToPartChroma(x265::TShortYUV*, unsigned int, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setCUTransquantBypassSubParts(bool, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setCbfSubParts(unsigned int, x265::TextType, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::PartitionFromSizes(int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComLoopFilter::~TComLoopFilter()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComOutputBitstream::~TComOutputBitstream()'
/usr/local/lib/libx265.so: undefined reference to `typeinfo for x265::WaveFront'
/usr/local/lib/libx265.so: undefined reference to `x265::TComRPSList::getNumberOfReferencePictureSets() const'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::destroy()'
/usr/local/lib/libx265.so: undefined reference to `x265::Thread::stop()'
/usr/local/lib/libx265.so: undefined reference to `x265::WaveFront::enableRow(int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setSkipFlagSubParts(bool, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::fillMvpCand(unsigned int, unsigned int, x265::RefPicList, int, x265::_AMVPInfo*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TShortYUV::copyPartToPartChroma(x265::TShortYUV*, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setIPCMFlagSubParts(bool, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComRPSList::getReferencePictureSet(int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComLoopFilter::setCfg(bool)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComYuv::copyToPartYuv(x265::TComYuv*, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPattern::getAdiCrBuf(int, int, unsigned char*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComYuv::TComYuv()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::m_numCulPartsLevel'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getCtxInterDir(unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setMergeFlagSubParts(bool, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getCtxSkipFlag(unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComTrQuant::getSigCoeffGroupCtxInc(unsigned int const*, unsigned int, unsigned int, int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComOutputBitstream::write(unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::copyPartFrom(x265::TComDataCU*, unsigned int, unsigned int, bool)'
/usr/local/lib/libx265.so: undefined reference to `x265::Event::s_incr'
/usr/local/lib/libx265.so: undefined reference to `x265::TComYuv::copyFromPicYuv(x265::TComPicYuv*, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComVPS::~TComVPS()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComVPS::TComVPS()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComTrQuant::transformNxN(x265::TComDataCU*, short*, unsigned int, int*, unsigned int, unsigned int, x265::TextType, unsigned int, int*, bool)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::getPicYuvAddr(x265::TComPicYuv*, int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPattern::getAdiCbBuf(int, int, unsigned char*)'
/usr/local/lib/libx265.so: undefined reference to `x265::Thread::Thread()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setInterDirSubParts(unsigned int, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComOutputBitstream::getByteStream() const'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSlice::setRefPicList(x265::TComList<x265::TComPic*>&, bool)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComYuv::create(unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::resetSAOParam(x265::SAOParam*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComCUMvField::setAllMvField(x265::TComMvField const&, x265::PartSize, int, unsigned int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComCUMvField::setAllMv(x265::MV const&, x265::PartSize, int, unsigned int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPic::destroyNonDBFilterInfo()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComReferencePictureSet::setDeltaPOC(int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPPS::TComPPS()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getInterMergeCandidates(unsigned int, unsigned int, x265::TComMvField*, unsigned char*, int&, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPic::createNonDBFilterInfo(int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComYuv::clear()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComReferencePictureSet::getCheckLTMSBPresent(int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComScalingList::~TComScalingList()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPattern::initAdiPattern(x265::TComDataCU*, unsigned int, unsigned int, unsigned char*, int, int, unsigned char*, unsigned char*, unsigned char*, unsigned char*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setMVPIdxSubParts(int, x265::RefPicList, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::WaveFront::clearEnabledRowMask()'
/usr/local/lib/libx265.so: undefined reference to `x265::ContextModel::s_nextStateMPS'
/usr/local/lib/libx265.so: undefined reference to `x265::TComReferencePictureSet::sortDeltaPOC()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::resetSaoUnit(x265::_SaoLcuParam*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getNumPartInter()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComTrQuant::setScalingList(x265::TComScalingList*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getSCUAddr()'
/usr/local/lib/libx265.so: undefined reference to `x265::calcChecksum(x265::TComPicYuv&, unsigned char (*) [16])'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setPredModeSubParts(x265::PredMode, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setMergeIndexSubParts(unsigned int, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setMVPNumSubParts(int, x265::RefPicList, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComOutputBitstream::addSubstream(x265::TComOutputBitstream*)'
/usr/local/lib/libx265.so: undefined reference to `typeinfo for x265::Thread'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getCtxQtCbf(x265::TextType, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TShortYUV::TShortYUV()'
/usr/local/lib/libx265.so: undefined reference to `x265::TShortYUV::copyPartToPartLuma(x265::TComYuv*, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComTrQuant::TComTrQuant()'
/usr/local/lib/libx265.so: undefined reference to `x265::Thread::~Thread()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSPS::TComSPS()'
/usr/local/lib/libx265.so: undefined reference to `x265::TShortYUV::copyPartToPartLuma(x265::TShortYUV*, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265_setup_primitives'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSlice::allocSubstreamSizes(unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getIntraDirLumaPredictor(unsigned int, int*, int*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TShortYUV::copyPartToPartChroma(x265::TComYuv*, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSlice::initSlice()'
/usr/local/lib/libx265.so: undefined reference to `x265::primitives'
/usr/local/lib/libx265.so: undefined reference to `x265::TComOutputBitstream::clear()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::initEstData(unsigned int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setTrIdxSubParts(unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::ContextModel::s_nextStateLPS'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPrediction::initTempBuff()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::isSkipped(unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::~TComSampleAdaptiveOffset()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getIntraSizeIdx(unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComTrQuant::setFlatScalingList()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComCUMvField::setAllMvd(x265::MV const&, x265::PartSize, int, unsigned int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::ContextModel3DBuffer::initBuffer(x265::SliceType, int, unsigned char*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPrediction::motionCompensation(x265::TComDataCU*, x265::TComYuv*, x265::RefPicList, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComReferencePictureSet::setUsed(int, bool)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComScalingList::getScalingListDefaultAddress(unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComYuv::copyToPicLuma(x265::TComPicYuv*, unsigned int, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::create(unsigned int, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setQPSubParts(int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getMvField(x265::TComDataCU*, unsigned int, x265::RefPicList, x265::TComMvField&)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPicYuv::generateMotionReference(x265::WpScalingParam*)'
/usr/local/lib/libx265.so: undefined reference to `x265::Lowres::init(x265::TComPicYuv*, int, int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::WaveFront::init(int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSlice::initWpScaling()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPicSym::allocSaoParam(x265::TComSampleAdaptiveOffset*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComOutputBitstream::writeByteAlignment()'
/usr/local/lib/libx265.so: undefined reference to `x265::TShortYUV::destroy()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSlice::getWpScaling(x265::RefPicList, int, x265::WpScalingParam*&)'
/usr/local/lib/libx265.so: undefined reference to `vtable for x265::WaveFront'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPrediction::TComPrediction()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComLoopFilter::destroy()'
/usr/local/lib/libx265.so: undefined reference to `x265::ContextModel3DBuffer::ContextModel3DBuffer(unsigned int, unsigned int, unsigned int, x265::ContextModel*, int&)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComTrQuant::getSigCtxInc(int, unsigned int, int, int, int, x265::TextType)'
/usr/local/lib/libx265.so: undefined reference to `x265::WaveFront::findJob()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComYuv::~TComYuv()'
/usr/local/lib/libx265.so: undefined reference to `x265::WaveFront::enqueueRow(int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComOutputBitstream::countStartCodeEmulations()'
/usr/local/lib/libx265.so: undefined reference to `x265::ContextModel::s_entropyBits'
/usr/local/lib/libx265.so: undefined reference to `x265::TComReferencePictureSet::getUsed(int) const'
/usr/local/lib/libx265.so: undefined reference to `x265::TComYuv::copyPartToPartLuma(x265::TShortYUV*, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::clipMv(x265::MV&)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComReferencePictureSet::getDeltaPOC(int) const'
/usr/local/lib/libx265.so: undefined reference to `x265::TComReferencePictureSet::getNumberOfPictures() const'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getRefQP(unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::ThreadPool::allocThreadPool(int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComLoopFilter::create(unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::convertQT2SaoUnit(x265::SAOParam*, unsigned int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComTrQuant::init(unsigned int, int, int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::m_eoTable'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::processSaoUnitRow(x265::_SaoLcuParam*, int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getCtxSplitFlag(unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::isBipredRestriction(unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComTrQuant::calcPatternSigCtx(unsigned int const*, unsigned int, unsigned int, int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPattern::initPattern(x265::TComDataCU*, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComReferencePictureSet::setPOC(int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TShortYUV::subtract(x265::TComYuv*, x265::TComYuv*, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::createPicSaoInfo(x265::TComPic*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::copyToPic(unsigned char)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setTransformSkipSubParts(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `typeinfo for x265::TComSampleAdaptiveOffset'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getPartIndexAndSize(unsigned int, unsigned int&, int&, int&)'
/usr/local/lib/libx265.so: undefined reference to `typeinfo for x265::TComPrediction'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::getAllowedChromaDir(unsigned int, unsigned int*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setQPSubCUs(int, x265::TComDataCU*, unsigned int, unsigned int, bool&)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComCUMvField::setAllRefIdx(int, x265::PartSize, int, unsigned int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPrediction::~TComPrediction()'
/usr/local/lib/libx265.so: undefined reference to `x265::calcMD5(x265::TComPicYuv&, unsigned char (*) [16])'
/usr/local/lib/libx265.so: undefined reference to `x265::ContextModel3DBuffer::calcCost(x265::SliceType, int, unsigned char*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComLoopFilter::TComLoopFilter()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setCbfSubParts(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComOutputBitstream::getByteStreamLength()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::initSubCU(x265::TComDataCU*, unsigned int, unsigned int, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::destroyPicSaoInfo()'
/usr/local/lib/libx265.so: undefined reference to `x265::ContextModel::m_nextState'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::TComSampleAdaptiveOffset()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComReferencePictureSet::getPOC(int) const'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSlice::setList1IdxToList0Idx()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSlice::getNumRpsCurrTempList()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::TComDataCU()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPrediction::xPredInterLumaBlk(x265::TComDataCU*, x265::MotionReference*, unsigned int, x265::MV*, int, int, x265::TComYuv*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComLoopFilter::loopFilterCU(x265::TComDataCU*, int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComYuv::destroy()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComDataCU::setChromIntraDirSubParts(unsigned int, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::TComPPS::~TComPPS()'
/usr/local/lib/libx265.so: undefined reference to `x265::TComYuv::addClip(x265::TComYuv*, x265::TShortYUV*, unsigned int, unsigned int)'
/usr/local/lib/libx265.so: undefined reference to `x265::calcCRC(x265::TComPicYuv&, unsigned char (*) [16])'
/usr/local/lib/libx265.so: undefined reference to `x265::TComSampleAdaptiveOffset::copySaoUnit(x265::_SaoLcuParam*, x265::_SaoLcuParam*)'
/usr/local/lib/libx265.so: undefined reference to `x265::TShortYUV::create(unsigned int, unsigned int)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: libx265 not found
- Derek
More information about the x265-devel
mailing list