[digiKam-users] digikam git compilation failed

leoutation at gmx.fr leoutation at gmx.fr
Fri Oct 19 17:17:45 BST 2018


Hi
I tried to compile last digikam git, I get errors (it's rare! :) )
Arch Linux system

  Scanning dependencies of target digikamdatabase
[ 98%] Building CXX object 
core/libs/database/CMakeFiles/digikamdatabase.dir/digikamdatabase_autogen/mocs_compilation.cpp.o
[ 98%] Linking CXX shared library libdigikamdatabase.so
[ 98%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview_column_photo.cpp.o
/usr/bin/ld: 
CMakeFiles/digikamdatabase_src.dir/item/imagequerybuilder.cpp.o: in 
function `Digikam::FieldQueryBuilder::addPosition()':
imagequerybuilder.cpp:(.text._ZN7Digikam17FieldQueryBuilder11addPositionEv[_ZN7Digikam17FieldQueryBuilder11addPositionEv]+0x40b): 
undefined reference to `Digikam::Ellipsoid::WGS84()'
/usr/bin/ld: 
imagequerybuilder.cpp:(.text._ZN7Digikam17FieldQueryBuilder11addPositionEv[_ZN7Digikam17FieldQueryBuilder11addPositionEv]+0x417): 
undefined reference to 
`Digikam::GeodeticCalculator::GeodeticCalculator(Digikam::Ellipsoid const&)'
/usr/bin/ld: 
imagequerybuilder.cpp:(.text._ZN7Digikam17FieldQueryBuilder11addPositionEv[_ZN7Digikam17FieldQueryBuilder11addPositionEv]+0x434): 
undefined reference to 
`Digikam::GeodeticCalculator::setStartingGeographicPoint(double, double)'
/usr/bin/ld: 
imagequerybuilder.cpp:(.text._ZN7Digikam17FieldQueryBuilder11addPositionEv[_ZN7Digikam17FieldQueryBuilder11addPositionEv]+0x44a): 
undefined reference to 
`Digikam::GeodeticCalculator::setDirection(double, double)'
/usr/bin/ld: 
imagequerybuilder.cpp:(.text._ZN7Digikam17FieldQueryBuilder11addPositionEv[_ZN7Digikam17FieldQueryBuilder11addPositionEv]+0x453): 
undefined reference to 
`Digikam::GeodeticCalculator::destinationGeographicPoint()'
/usr/bin/ld: 
imagequerybuilder.cpp:(.text._ZN7Digikam17FieldQueryBuilder11addPositionEv[_ZN7Digikam17FieldQueryBuilder11addPositionEv]+0x473): 
undefined reference to 
`Digikam::GeodeticCalculator::setDirection(double, double)'
/usr/bin/ld: 
imagequerybuilder.cpp:(.text._ZN7Digikam17FieldQueryBuilder11addPositionEv[_ZN7Digikam17FieldQueryBuilder11addPositionEv]+0x47c): 
undefined reference to 
`Digikam::GeodeticCalculator::destinationGeographicPoint()'
/usr/bin/ld: 
imagequerybuilder.cpp:(.text._ZN7Digikam17FieldQueryBuilder11addPositionEv[_ZN7Digikam17FieldQueryBuilder11addPositionEv]+0x4a0): 
undefined reference to 
`Digikam::GeodeticCalculator::setDirection(double, double)'
/usr/bin/ld: 
imagequerybuilder.cpp:(.text._ZN7Digikam17FieldQueryBuilder11addPositionEv[_ZN7Digikam17FieldQueryBuilder11addPositionEv]+0x4a9): 
undefined reference to 
`Digikam::GeodeticCalculator::destinationGeographicPoint()'
/usr/bin/ld: 
imagequerybuilder.cpp:(.text._ZN7Digikam17FieldQueryBuilder11addPositionEv[_ZN7Digikam17FieldQueryBuilder11addPositionEv]+0x4cf): 
undefined reference to 
`Digikam::GeodeticCalculator::setDirection(double, double)'
/usr/bin/ld: 
imagequerybuilder.cpp:(.text._ZN7Digikam17FieldQueryBuilder11addPositionEv[_ZN7Digikam17FieldQueryBuilder11addPositionEv]+0x4d8): 
undefined reference to 
`Digikam::GeodeticCalculator::destinationGeographicPoint()'
/usr/bin/ld: 
imagequerybuilder.cpp:(.text._ZN7Digikam17FieldQueryBuilder11addPositionEv[_ZN7Digikam17FieldQueryBuilder11addPositionEv]+0x51b): 
undefined reference to `Digikam::GeodeticCalculator::ellipsoid() const'
/usr/bin/ld: 
imagequerybuilder.cpp:(.text._ZN7Digikam17FieldQueryBuilder11addPositionEv[_ZN7Digikam17FieldQueryBuilder11addPositionEv]+0x52a): 
undefined reference to `Digikam::Ellipsoid::radiusOfCurvature(double)'
collect2: error: ld returned 1 exit status
make[2]: *** 
[core/libs/database/CMakeFiles/digikamdatabase.dir/build.make:249: 
core/libs/database/libdigikamdatabase.so.6.0.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:2225: 
core/libs/database/CMakeFiles/digikamdatabase.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview_column_thumbnail.cpp.o
[ 98%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview_columnfactory.cpp.o
[ 98%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview_selection_model_syncer.cpp.o
[ 98%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/imagepreviewviewitem.cpp.o
[ 98%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/imagepreviewview.cpp.o
[ 99%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/welcomepageview.cpp.o
[ 99%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/leftsidebarwidgets.cpp.o
[ 99%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/digikamview.cpp.o
[ 99%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/trashview.cpp.o
[ 99%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/stackedview.cpp.o
[ 99%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/sidebarwidget.cpp.o
[ 99%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/digikammodelcollection.cpp.o
[ 99%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/slideshowbuilder.cpp.o
[ 99%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/digikamadaptor.cpp.o
[ 99%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/digikamgui_src_autogen/mocs_compilation.cpp.o
[ 99%] Built target digikamgui_src
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().



More information about the Digikam-users mailing list