[digiKam-users] digikam git compilation failed

leoutation at gmx.fr leoutation at gmx.fr
Sun Oct 28 10:18:58 GMT 2018


On 10/27/18 4:05 PM, Gilles Caulier wrote:
> This is no reason for this linking stage failure.
> Please update code from git/master and clean-upthe build directory. 
> Reconfigure and recompile all from scratch, this must fix the problem.
> 
Hi
Error again with last git
  Updated version: digikam-git r40982.0746170a26-1

[ 97%] Built target showfoto_autogen
Scanning dependencies of target digikamdatabase
[ 97%] Building CXX object 
core/libs/database/CMakeFiles/digikamdatabase.dir/digikamdatabase_autogen/mocs_compilation.cpp.o
[ 97%] Linking CXX shared library libdigikamdatabase.so
/usr/bin/ld: 
CMakeFiles/digikamdatabase_src.dir/item/query/fieldquerybuilder.cpp.o: 
in function `Digikam::FieldQueryBuilder::addPosition()':
fieldquerybuilder.cpp:(.text+0xb8b): undefined reference to 
`Digikam::Ellipsoid::WGS84()'
/usr/bin/ld: fieldquerybuilder.cpp:(.text+0xb9f): undefined reference to 
`Digikam::GeodeticCalculator::GeodeticCalculator(Digikam::Ellipsoid const&)'
/usr/bin/ld: fieldquerybuilder.cpp:(.text+0xbd7): undefined reference to 
`Digikam::GeodeticCalculator::setStartingGeographicPoint(double, double)'
/usr/bin/ld: fieldquerybuilder.cpp:(.text+0xbed): undefined reference to 
`Digikam::GeodeticCalculator::setDirection(double, double)'
/usr/bin/ld: fieldquerybuilder.cpp:(.text+0xbf6): undefined reference to 
`Digikam::GeodeticCalculator::destinationGeographicPoint()'
/usr/bin/ld: fieldquerybuilder.cpp:(.text+0xc16): undefined reference to 
`Digikam::GeodeticCalculator::setDirection(double, double)'
/usr/bin/ld: fieldquerybuilder.cpp:(.text+0xc1f): undefined reference to 
`Digikam::GeodeticCalculator::destinationGeographicPoint()'
/usr/bin/ld: fieldquerybuilder.cpp:(.text+0xc43): undefined reference to 
`Digikam::GeodeticCalculator::setDirection(double, double)'
/usr/bin/ld: fieldquerybuilder.cpp:(.text+0xc4c): undefined reference to 
`Digikam::GeodeticCalculator::destinationGeographicPoint()'
/usr/bin/ld: fieldquerybuilder.cpp:(.text+0xc72): undefined reference to 
`Digikam::GeodeticCalculator::setDirection(double, double)'
/usr/bin/ld: fieldquerybuilder.cpp:(.text+0xc7b): undefined reference to 
`Digikam::GeodeticCalculator::destinationGeographicPoint()'
/usr/bin/ld: fieldquerybuilder.cpp:(.text+0xcbe): undefined reference to 
`Digikam::GeodeticCalculator::ellipsoid() const'
/usr/bin/ld: fieldquerybuilder.cpp:(.text+0xccd): undefined reference to 
`Digikam::Ellipsoid::radiusOfCurvature(double)'
collect2: error: ld returned 1 exit status
make[2]: *** 
[core/libs/database/CMakeFiles/digikamdatabase.dir/build.make:291: 
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....
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview_column_audiovideo.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview_column_file.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview_column_geo.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview_column_digikam.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview_column_item.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview_column_photo.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview_column_thumbnail.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview_columnfactory.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview_selection_model_syncer.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/imagepreviewviewitem.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/imagepreviewview.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/welcomepageview.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/leftsidebarwidgets.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/digikamview.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/trashview.cpp.o
[ 97%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/stackedview.cpp.o
[ 98%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/sidebarwidget.cpp.o
[ 98%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/digikammodelcollection.cpp.o
[ 98%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/views/slideshowbuilder.cpp.o
[ 98%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/digikamadaptor.cpp.o
[ 98%] Building CXX object 
core/app/CMakeFiles/digikamgui_src.dir/digikamgui_src_autogen/mocs_compilation.cpp.o
[ 98%] Built target digikamgui_src
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().



More information about the Digikam-users mailing list