Bug 344484 - digiKam 4.8.0 compilation error : undefined reference to `cv::Exception::Exception
Summary: digiKam 4.8.0 compilation error : undefined reference to `cv::Exception::Exce...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 4.8.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-23 12:23 UTC by nucleo
Modified: 2017-08-19 20:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nucleo 2015-02-23 12:23:38 UTC
[ 47%] Building CXX object extra/kipi-plugins/dlnaexport/extra/hupnp_av/CMakeFiles/HUpnpAv.dir/src/transport/htransportaction.cpp.o
cd extra/kipi-plugins/dlnaexport/extra/hupnp_av && /usr/bin/c++   -DAREA_CODE_GENERAL=51000 -DAREA_CODE_LOADING=51001 -DH_BUILD_UPNP_AV_LIB -DH_BUILD_UPNP_CORE_LIB -DH_BUILD_UPNP_LIGHTING_LIB -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=21 -DKDE_DEFAULT_DEBUG_AREA=51000 -DKDE_DEPRECATED_WARNINGS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_STL -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -I. -I../../../../../../extra/kipi-plugins/dlnaexport/extra/hupnp_av -I../../../../../../extra/kipi-plugins/common/libkipiplugins -I../../../common/libkipiplugins -I../../../../../../extra/kipi-plugins/common/libkipiplugins/dialogs -I../../../../../../extra/kipi-plugins/common/libkipiplugins/widgets -I../../../../../../extra/kipi-plugins/common/libkipiplugins/tools -I../../../../../../extra/kipi-plugins/common/libkipiplugins/tools/imageio -I../../../../../../extra/kipi-plugins/dlnaexport/extra/hupnp/include -I../../../../../../extra/kipi-plugins/dlnaexport/extra/hupnp_av/include -Isrc -I../../../../../../extra/kipi-plugins/dlnaexport/extra/hupnp_av/src -I../../../../../../extra/kipi-plugins/dlnaexport/extra/hupnp_av/../hupnp/include -I../hupnp/include -Iinclude -I/usr/include/opencv -I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/phonon -I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDeclarative -I/usr/include/QtDBus -I/usr/include/Qt3Support -isystem /usr/include/QtGui -isystem /usr/include/QtCore -I/usr/include/Qt -I/usr/lib64/qt4/mkspecs/default    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -fPIC -fPIC -o CMakeFiles/HUpnpAv.dir/src/transport/htransportaction.cpp.o -c ../../../../../../extra/kipi-plugins/dlnaexport/extra/hupnp_av/src/transport/htransportaction.cpp
CMakeFiles/kface.dir/detection/opencvfacedetector.cpp.o: In function `KFaceIface::Cascade::Cascade(QStringList const&, QString const&)':
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/detection/opencvfacedetector.cpp:130: undefined reference to `cv::CascadeClassifier::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/kface.dir/recognition-opencv-lbph/lbphfacemodel.cpp.o: In function `void cv::Mat::push_back<int>(int const&)':
/usr/include/opencv2/core/mat.hpp:689: undefined reference to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o: In function `LBPHFaceRecognizer_info':
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::AlgorithmInfo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cv::Algorithm* (*)())'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o: In function `KFaceIface::LBPHFaceRecognizer::info() const':
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, int&, bool, int (cv::Algorithm::*)(), void (cv::Algorithm::*)(int), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, int&, bool, int (cv::Algorithm::*)(), void (cv::Algorithm::*)(int), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, int&, bool, int (cv::Algorithm::*)(), void (cv::Algorithm::*)(int), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, int&, bool, int (cv::Algorithm::*)(), void (cv::Algorithm::*)(int), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, double&, bool, double (cv::Algorithm::*)(), void (cv::Algorithm::*)(double), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, std::vector<cv::Mat, std::allocator<cv::Mat> >&, bool, std::vector<cv::Mat, std::allocator<cv::Mat> > (cv::Algorithm::*)(), void (cv::Algorithm::*)(std::vector<cv::Mat, std::allocator<cv::Mat> > const&), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, cv::Mat&, bool, cv::Mat (cv::Algorithm::*)(), void (cv::Algorithm::*)(cv::Mat const&), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, int&, bool, int (cv::Algorithm::*)(), void (cv::Algorithm::*)(int), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o: In function `histc':
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:217: undefined reference to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o: In function `elbp':
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:165: undefined reference to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o: In function `KFaceIface::LBPHFaceRecognizer::train(cv::_InputArray const&, cv::_InputArray const&, bool)':
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:320: undefined reference to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:326: undefined reference to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
/builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:345: undefined reference to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o:/usr/include/opencv2/core/mat.hpp:689: more undefined references to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)' follow
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o:(.data.rel.ro._ZTVN10KFaceIface18LBPHFaceRecognizerE[_ZTVN10KFaceIface18LBPHFaceRecognizerE]+0x50): undefined reference to `cv::FaceRecognizer::save(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o:(.data.rel.ro._ZTVN10KFaceIface18LBPHFaceRecognizerE[_ZTVN10KFaceIface18LBPHFaceRecognizerE]+0x58): undefined reference to `cv::FaceRecognizer::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/digikam-4.8.0/x86_64-redhat-linux-gnu/CMakeFiles 
[ 47%] Building CXX object extra/kipi-plugins/dlnaexport/extra/hupnp_av/CMakeFiles/HUpnpAv.dir/src/transport/htransportsettings.cpp.o
cd extra/kipi-plugins/dlnaexport/extra/hupnp_av && /usr/bin/c++   -DAREA_CODE_GENERAL=51000 -DAREA_CODE_LOADING=51001 -DH_BUILD_UPNP_AV_LIB -DH_BUILD_UPNP_CORE_LIB -DH_BUILD_UPNP_LIGHTING_LIB -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=21 -DKDE_DEFAULT_DEBUG_AREA=51000 -DKDE_DEPRECATED_WARNINGS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_STL -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -I. -I../../../../../../extra/kipi-plugins/dlnaexport/extra/hupnp_av -I../../../../../../extra/kipi-plugins/common/libkipiplugins -I../../../common/libkipiplugins -I../../../../../../extra/kipi-plugins/common/libkipiplugins/dialogs -I../../../../../../extra/kipi-plugins/common/libkipiplugins/widgets -I../../../../../../extra/kipi-plugins/common/libkipiplugins/tools -I../../../../../../extra/kipi-plugins/common/libkipiplugins/tools/imageio -I../../../../../../extra/kipi-plugins/dlnaexport/extra/hupnp/include -I../../../../../../extra/kipi-plugins/dlnaexport/extra/hupnp_av/include -Isrc -I../../../../../../extra/kipi-plugins/dlnaexport/extra/hupnp_av/src -I../../../../../../extra/kipi-plugins/dlnaexport/extra/hupnp_av/../hupnp/include -I../hupnp/include -Iinclude -I/usr/include/opencv -I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/phonon -I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDeclarative -I/usr/include/QtDBus -I/usr/include/Qt3Support -isystem /usr/include/QtGui -isystem /usr/include/QtCore -I/usr/include/Qt -I/usr/lib64/qt4/mkspecs/default    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -fPIC -fPIC -o CMakeFiles/HUpnpAv.dir/src/transport/htransportsettings.cpp.o -c ../../../../../../extra/kipi-plugins/dlnaexport/extra/hupnp_av/src/transport/htransportsettings.cpp
collect2: error: ld returned 1 exit status


Reproducible: Always




Maybe problem similar to https://bugs.kde.org/show_bug.cgi?id=338037
Comment 1 nucleo 2015-02-23 13:38:05 UTC
Looks like this problem related with new gcc 5.0.0 used in Fedora Rawhide (23).
digiKam 4.7.0 compilation also failed with gcc 5.0.0 but both digKam 4.7.0 and 4.8.0 compiled fine with gcc 4.9.2.

[ 47%] Building CXX object extra/kipi-plugins/common/libkipiplugins/CMakeFiles/kipiplugins.dir/dialogs/kpwizardpage.cpp.o
cd extra/kipi-plugins/common/libkipiplugins && /usr/bin/c++   -DAREA_CODE_GENERAL=51000 -DAREA_CODE_LOADING=51001 -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=21 -DKDE_DEFAULT_DEBUG_AREA=51000 -DKDE_DEPRECATED_WARNINGS -DMAKE_KIPIPLUGINS_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I. -I../../../../../extra/kipi-plugins/common/libkipiplugins -I../../../../../extra/kipi-
plugins/common/libkipiplugins/dialogs -I../../../../../extra/kipi-plugins/common/libkipiplugins/widgets -I../../../../../extra/kipi-plugins/common/libkipiplugins/tools -I../../../../../extra/kipi-plugins/common/libkipiplugins/tools/imageio -I/usr/include/opencv -I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/phonon -I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDeclarative -I/usr/include/QtDBus -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/lib64/qt4/mkspecs/default    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kipiplugins.dir/dialogs/kpwizardpage.cpp.o -c ../../../../../extra/kipi-plugins/common/libkipiplugins/dialogs/
kpwizardpage.cpp
CMakeFiles/kface.dir/detection/opencvfacedetector.cpp.o: In function `KFaceIface::Cascade::Cascade(QStringList const&, QString const&)':
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/detection/opencvfacedetector.cpp:130: undefined reference to `cv::CascadeClassifier::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/kface.dir/recognition-opencv-lbph/lbphfacemodel.cpp.o: In function `void cv::Mat::push_back<int>(int const&)':
/usr/include/opencv2/core/mat.hpp:689: undefined reference to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o: In function `LBPHFaceRecognizer_info':
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::AlgorithmInfo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cv::Algorithm* (*)())'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o: In function `KFaceIface::LBPHFaceRecognizer::info() const':
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, int&, bool, int (cv::Algorithm::*)(), void (cv::Algorithm::*)(int), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, int&, bool, int (cv::Algorithm::*)(), void (cv::Algorithm::*)(int), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, int&, bool, int (cv::Algorithm::*)(), void (cv::Algorithm::*)(int), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, int&, bool, int (cv::Algorithm::*)(), void (cv::Algorithm::*)(int), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, double&, bool, double (cv::Algorithm::*)(), void (cv::Algorithm::*)(double), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, std::vector<cv::Mat, std::allocator<cv::Mat> >&, bool, std::vector<cv::Mat, std::allocator<cv::Mat> > (cv::Algorithm::*)(), void (cv::Algorithm::*)(std::vector<cv::Mat, std::allocator<cv::Mat> > const&), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, cv::Mat&, bool, cv::Mat (cv::Algorithm::*)(), void (cv::Algorithm::*)(cv::Mat const&), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:534: undefined reference to `cv::AlgorithmInfo::addParam(cv::Algorithm&, char const*, int&, bool, int (cv::Algorithm::*)(), void (cv::Algorithm::*)(int), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o: In function `histc':
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:217: undefined reference to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o: In function `elbp':
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:165: undefined reference to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o: In function `KFaceIface::LBPHFaceRecognizer::train(cv::_InputArray const&, cv::_InputArray const&, bool)':
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:320: undefined reference to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:326: undefined reference to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
/builddir/build/BUILD/digikam-4.7.0/x86_64-redhat-linux-gnu/extra/libkface/libkface/../../../../extra/libkface/libkface/recognition-opencv-lbph/facerec_borrowed.cpp:345: undefined reference to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o:/usr/include/opencv2/core/mat.hpp:689: more undefined references to `cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)' follow
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o:(.data.rel.ro._ZTVN10KFaceIface18LBPHFaceRecognizerE[_ZTVN10KFaceIface18LBPHFaceRecognizerE]+0x50): undefined reference to `cv::FaceRecognizer::save(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
CMakeFiles/kface.dir/recognition-opencv-lbph/facerec_borrowed.cpp.o:(.data.rel.ro._ZTVN10KFaceIface18LBPHFaceRecognizerE[_ZTVN10KFaceIface18LBPHFaceRecognizerE]+0x58): undefined reference to `cv::FaceRecognizer::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
extra/libkface/libkface/CMakeFiles/kface.dir/build.make:582: recipe for target 'lib/libkface.so' failed
Comment 2 Rex Dieter 2015-02-23 13:44:56 UTC
Pretty sure this is a downstream/distro issue (where an ABI incompatible gcc5 was just introduced, so all dependencies need to be rebuilt in order)