Cannot build librepilot on Debian Jessie
« on: June 08, 2016, 11:14:05 am »
[sorry, long read do to long error messages]

I tried to build librepilot on my Debian Jessie amd64 as written in https://librepilot.atlassian.net/wiki/display/LPDOC/Linux+-+Building+and+Packaging but i cannot cmplete the build due to errors I do not understand.

I installed what is needed for bulding and libc6-i386 as well.

"make all_sdk_install"

After downloading QT it had some error message:
CLEAN       tools/osg-3.5.1-linux-x64-qt-5.6.0
 VERIFY      downloads/osg-3.5.1-linux-x64-qt-5.6.0.tar.gz
 EXTRACT     tools/osg-3.5.1-linux-x64-qt-5.6.0
 CLEAN       tools/gtest-1.7.0
 VERIFY      downloads/gtest-1.7.0.zip
 EXTRACT     tools/gtest-1.7.0
replace tools/__MACOSX/gtest-1.7.0/build-aux/._.keep? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
replace tools/__MACOSX/gtest-1.7.0/._build-aux? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
replace tools/__MACOSX/gtest-1.7.0/._CHANGES? [y]es, [n]o, [A]ll, [N]one, [r]ename: y


I selected "A" since I do not know what it means and as I do not run MacOSX i supposed it may not be that important .... then it started to compile.

Next error:
Created addon/doxyapp/doxyapp.pro from addon/doxyapp/doxyapp.pro.in...
  Created addon/doxysearch/doxysearch.pro from addon/doxysearch/doxysearch.pro.in...
  Created addon/doxysearch/doxyindexer.pro from addon/doxysearch/doxyindexer.pro.in...
  Generating src/lang_cfg.h...
 BUILD       build/doxygen-1.8.3.1
vhdldocgen.cpp:3416:3: warning: anonymous type with no linkage used to declare variable ‘<anonymous struct> flowCol’ with linkage
 } flowCol =
   ^
vhdldocgen.cpp: In static member function ‘static void FlowChart::alignFuncProc(QCString&, const ArgumentList*, bool)’:
vhdldocgen.cpp:4062:8: warning: variable ‘first’ set but not used [-Wunused-but-set-variable]
   bool first=TRUE;
        ^
        ^
 INSTALL     tools/doxygen-1.8.3.1
 CLEAN       build/doxygen-1.8.3.1


No idea what it means ... it that is a significant error.


Next "make osg_install":
niehaus@ceramic:~/code/librepilot$ make osg_install
 NOTE        Use 'make all_sdk_distclean' to remove installation files
 NOTE        Use 'make all_sdk_version' to check toolchain versions
 NOTE        Add 'V=1' to make command line to diagnose make problems
 NOTE        Add 'BATCH=1' to make command line to disable progress reporting during downloads
 CLEAN       tools/osg-3.5.1-linux-x64-qt-5.6.0
 VERIFY      downloads/osg-3.5.1-linux-x64-qt-5.6.0.tar.gz
 EXTRACT     tools/osg-3.5.1-linux-x64-qt-5.6.0
niehaus@ceramic:~/code/librepilot$


looks not bad.

"make osgearth_install"
niehaus@ceramic:~/code/librepilot$ make osgearth_install
 CLEAN       tools/osgearth-2.7-linux-x64-qt-5.6.0
 VERIFY      downloads/osgearth-2.7-linux-x64-qt-5.6.0.tar.gz
 EXTRACT     tools/osgearth-2.7-linux-x64-qt-5.6.0
niehaus@ceramic:~/code/librepilot$


Looks okay for me as well.


"make -j3  V=1  package"

[...]
cp -a --no-preserve=ownership -T /home/niehaus/code/librepilot/ground/gcs/src/plugins/coreplugin/images/librepilot_logo_128.png \
        /home/niehaus/code/librepilot/debian/librepilot/usr/share/pixmaps/librepilot.png
sed -i -e 's/gcs/librepilot-gcs/g;s/GCS/LibrePilot GCS/g;s/org/librepilot/g;s/ORG/LibrePilot/g' \
        /home/niehaus/code/librepilot/debian/librepilot/usr/share/applications/librepilot.desktop
make[3]: Leaving directory '/home/niehaus/code/librepilot'
make[2]: Leaving directory '/home/niehaus/code/librepilot'
   dh_installdocs
   dh_installchangelogs
   dh_installudev
   dh_perl
   dh_link
   dh_compress
   dh_fixperms
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
dpkg-shlibdeps: Fehler: Bibliothek libosgDB.so.141 konnte nicht gefunden werden, benötigt von debian/librepilot/usr/lib/librepilot-gcs/osg/libosgShadow.so.3.5.1 (ELF-Format: »elf64-x86-64«; RPATH: »«)
dpkg-shlibdeps: Fehler: Bibliothek libosgUtil.so.141 konnte nicht gefunden werden, benötigt von debian/librepilot/usr/lib/librepilot-gcs/osg/libosgShadow.so.3.5.1 (ELF-Format: »elf64-x86-64«; RPATH: »«)
dpkg-shlibdeps: Fehler: Bibliothek libosg.so.141 konnte nicht gefunden werden, benötigt von debian/librepilot/usr/lib/librepilot-gcs/osg/libosgShadow.so.3.5.1 (ELF-Format: »elf64-x86-64«; RPATH: »«)
dpkg-shlibdeps: Fehler: Bibliothek libOpenThreads.so.20 konnte nicht gefunden werden, benötigt von debian/librepilot/usr/lib/librepilot-gcs/osg/libosgShadow.so.3.5.1 (ELF-Format: »elf64-x86-64«; RPATH: »«)



Hm ...

this translates to "dpkg-shlibdeps: Error: Library libosgDB.so.141 not found, needed by debian/librepilot/usr/lib/librepilot-gcs/osg/libosgShadow.so.3.5.1 (ELF-Format: »elf64-x86-64«; RPATH: »«)"

The file exists:

niehaus@ceramic:~/code/librepilot$ locate libosgDB.so.141
/home/niehaus/code/librepilot/build/librepilot-gcs_release/lib/librepilot-gcs/osg/libosgDB.so.141
/home/niehaus/code/librepilot/debian/librepilot/usr/lib/librepilot-gcs/osg/libosgDB.so.141
/home/niehaus/code/librepilot/tools/osg-3.5.1-linux-x64-qt-5.6.0/lib64/libosgDB.so.141



Similar errors repeat quite a lot - I stopped counting. Then:


[continued in next post]

Re: Cannot build librepilot on Debian Jessie
« Reply #1 on: June 08, 2016, 11:14:44 am »

Similar errors repeat quite a lot - I stopped counting. Then:



dpkg-shlibdeps: Warnung: Name und Version können nicht aus Bibliotheksnamen »libUAVObjects.so« entnommen werden
dpkg-shlibdeps: Warnung: Name und Version können nicht aus Bibliotheksnamen »libUAVObjects.so« entnommen werden
dpkg-shlibdeps: Warnung: Name und Version können nicht aus Bibliotheksnamen »libUAVObjects.so« entnommen werden
dpkg-shlibdeps: Warnung: Name und Version können nicht aus Bibliotheksnamen »libUAVObjects.so« entnommen werden
dpkg-shlibdeps: Warnung: Name und Version können nicht aus Bibliotheksnamen »libCore.so« entnommen werden
dpkg-shlibdeps: Warnung: Name und Version können nicht aus Bibliotheksnamen »libCore.so« entnommen werden
dpkg-shlibdeps: Warnung: Name und Version können nicht aus Bibliotheksnamen »libCore.so« entnommen werden
dpkg-shlibdeps: Warnung: Name und Version können nicht aus Bibliotheksnamen »libCore.so« entnommen werden
dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 28954 package 'librepilot':
 missing description
dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 28954 package 'librepilot':
 missing description
dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 28954 package 'librepilot':
 missing description
dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 22243 package 'texlive-latex-extra':
 EOF during value of field `Description' (missing final newline)
dpkg-shlibdeps: Fehler: Fehler-Exitstatus von dpkg-query --control-path libgl1-mesa-glx:amd64 shlibs war 2
dh_shlibdeps: dpkg-shlibdeps -Tdebian/librepilot.substvars debian/librepilot/usr/bin/librepilot-gcs debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libHITL.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libMagicWaypoint.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libConfig.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libUAVSettingsImportExport.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libUploader.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libTelemetry.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libWelcome.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libSerial.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libopHID.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libLineardialGadget.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libUAVTalk.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libGCSControl.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libEmptyGadget.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libPfdQml.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libSystemHealthGadget.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libFlightLog.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libImportExportGadget.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libOPMapGadget.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libUsageTracker.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libLoggingGadget.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libUAVObjectUtil.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libGpsDisplayGadget.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libIPconnection.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libSetupWizard.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libDialGadget.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libCore.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libUAVObjectWidgetUtils.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libDebugGadget.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libPathActionEditor.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libScopeGadget.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libStreamServicePlugin.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libUAVObjectBrowser.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libNotifyPlugin.so debian/librepilot/usr/lib/librepilot-gcs/plugins/LibrePilot/libUAVObjects.so debian/librepilot/usr/lib/librepilot-gcs/libsdlgamepad.so.1.0.0 debian/librepilot/usr/lib/librepilot-gcs/qt5/plugins/sqldrivers/libqsqlite.so debian/librepilot/usr/lib/librepilot-gcs/qt5/plugins/iconengines/libqsvgicon.so debian/librepilot/usr/lib/librepilot-gcs/qt5/plugins/mediaservice/libgstaudiodecoder.so debian/librepilot/usr/lib/librepilot-gcs/qt5/plugins/mediaservice/libgstmediaplayer.so debian/librepilot/usr/lib/librepilot-gcs/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so debian/librepilot/usr/lib/librepilot-gcs/qt5/plugins/platforms/libqxcb.so debian/librepilot/usr/lib/librepilot-gcs/qt5/plugins/imageformats/libqjpeg.so debian/librepilot/usr/lib/librepilot-gcs/qt5/plugins/imageformats/libqico.so debian/librepilot/usr/lib/librepilot-gcs/qt5/plugins/imageformats/libqgif.so debian/librepilot/usr/lib/librepilot-gcs/qt5/plugins/imageformats/libqsvg.so debian/librepilot/usr/lib/librepilot-gcs/qt5/plugins/imageformats/libqtiff.so debian/librepilot/usr/lib/librepilot-gcs/qt5/qml/QtQuick.2/libqtquick2plugin.so debian/librepilot/usr/lib/librepilot-gcs/qt5/qml/QtQuick/Dialogs/Private/libdialogsprivateplugin.so debian/librepilot/usr/lib/librepilot-gcs/qt5/qml/QtQuick/Dialogs/libdialogplugin.so debian/librepilot/usr/lib/librepilot-gcs/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so debian/librepilot/usr/lib/librepilot-gcs/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so debian/librepilot/usr/lib/librepilot-gcs/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so debian/librepilot/usr/lib/librepilot-gcs/qt5/qml/QtQuick/Controls/Styles/Flat/libqtquickextrasflatplugin.so debian/librepilot/usr/lib/librepilot-gcs/qt5/qml/QtQuick/Particles.2/libparticlesplugin.so debian/librepilot/usr/lib/librepilot-gcs/qt5/qml/QtQuick/PrivateWidgets/libwidgetsplugin.so debian/librepilot/usr/lib/librepilot-gcs/qt5/qml/QtQuick/LocalStorage/libqmllocalstorageplugin.so debian/librepilot/usr/lib/librepilot-gcs/qt5/qml/QtQuick/Window.2/libwindowplugin.so debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libicuuc.so.56 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5Quick.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libicudata.so.56 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libqgsttools_p.so.1 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5QuickParticles.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5Test.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libicui18n.so.56 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5Sql.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5X11Extras.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5Script.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5OpenGL.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5Network.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5Multimedia.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5XcbQpa.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5PrintSupport.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5Svg.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5Xml.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5Qml.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5MultimediaWidgets.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5Core.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5DBus.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5QuickWidgets.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5SerialPort.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5Gui.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5Concurrent.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5XmlPatterns.so.5 debian/librepilot/usr/lib/librepilot-gcs/qt5/lib/libQt5Widgets.so.5 debian/librepilot/usr/lib/librepilot-gcs/libVersionInfo.so.1.0.0 debian/librepilot/usr/lib/librepilot-gcs/libQtConcurrent.so.1.0.0 debian/librepilot/usr/lib/librepilot-gcs/libQwt.so.1.0.0 debian/librepilot/usr/lib/librepilot-gcs/libAggregation.so.1.0.0 debian/librepilot/usr/lib/librepilot-gcs/libQScienceSpinBox.so.1.0.0 debian/librepilot/usr/lib/librepilot-gcs/libGCSOsgEarth.so.1.0.0 debian/librepilot/usr/lib/librepilot-gcs/libopmapwidget.so.1.0.0 debian/librepilot/usr/lib/librepilot-gcs/libExtensionSystem.so.1.0.0 debian/librepilot/usr/lib/librepilot-gcs/osg/libosg.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libOpenThreads.so.3.3.0 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgUI.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgWidget.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgShadow.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgVolume.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgQt.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgPresentation.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgDB.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_jp2.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_pvr.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_lws.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_deprecated_osgviewer.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_dxf.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_3ds.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_glsl.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_deprecated_osganimation.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_pic.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_revisions.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_osgjs.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_gles.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_ply.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_trk.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_deprecated_osgsim.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osgfx.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_osgshadow.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_tga.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osgutil.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_txf.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_scale.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_vtf.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_ac.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_sdl.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_obj.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_gdal.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_jpeg.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_bsp.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_deprecated_osgwidget.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_ktx.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_ive.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_trans.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_gz.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_zip.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_osga.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_bmp.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_osc.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_logo.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_txp.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osgviewer.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_rgb.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_osg.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_hdr.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_lwo.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_mdl.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_shp.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_tgz.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_tf.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_dds.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_gif.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_pnm.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_lua.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_osgviewer.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_dw.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_deprecated_osg.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osgmanipulator.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_ogr.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_deprecated_osgfx.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_osgterrain.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osgsim.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_tiff.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osganimation.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osgterrain.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_deprecated_osgterrain.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_3dc.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_p3d.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_rot.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_openflight.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osgparticle.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osgshadow.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_x.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_md2.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_pov.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_deprecated_osgparticle.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osgui.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_bvh.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osgtext.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_cfg.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_png.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_stl.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_curl.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osgvolume.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_deprecated_osgvolume.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_normals.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_dot.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_osgtgz.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osg.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_deprecated_osgtext.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_deprecated_osgshadow.so debian/librepilot/usr/lib/librepilot-gcs/osg/osgPlugins-3.5.1/osgdb_serializers_osgga.so debian/librepilot/usr/lib/librepilot-gcs/osg/libosgSim.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgViewer.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgUtil.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgParticle.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgTerrain.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgText.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgManipulator.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgFX.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgGA.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/osg/libosgAnimation.so.3.5.1 debian/librepilot/usr/lib/librepilot-gcs/libUtils.so.1.0.0 returned exit code 2
debian/rules:12: recipe for target 'binary' failed
make[1]: *** [binary] Error 2
make[1]: Leaving directory '/home/niehaus/code/librepilot'
dpkg-buildpackage: Fehler: Fehler-Exitstatus von fakeroot debian/rules binary war 2
/home/niehaus/code/librepilot/package/linux/deb.mk:37: recipe for target 'package' failed
make: *** [package] Error 2



Stop. Finished here, no idea, what I made wrong. Is there anyone who can provide some hints?


Thanks,


Copter Crashtest
































Mateusz

  • *
  • 808
Re: Cannot build librepilot on Debian Jessie
« Reply #2 on: June 08, 2016, 11:39:44 am »
  • Don't post long log files, attach them as files into the post. Please clean-up your post by attaching files.
  • Change your locale, not many people bother to read log messages in your own language
Code: [Select]
export LOCALE=C
  • Your compile log says "warning:" yet you call them incorrectly "errors", that's not an error.
  • Don't past hundreds of new line characters into the post.

You don't need to build package to run GCS, just call make all -j8 and it will create build/librepiloc-gcs/bin/ directory with binaries. You can start it from there.