Hello everyone,
While building the MAVSDK server in NAVQ, I am having a build error after I run
cmake --build build/default
the error is as follows:
Building CXX object src/mavsdk_server/src/CMakeFiles/mavsdk_server.dir/mavsdk_server_api.cpp.o
/usr/bin/cmake: /usr/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 94%] Building CXX object src/mavsdk_server/src/CMakeFiles/mavsdk_server.dir/mavsdk_server.cpp.o
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h: In constructor ‘mavsdk::mavsdk_server::GRPCServer::GRPCServer(mavsdk::Mavsdk&)’:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:56:32: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
56 | _action(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:58:37: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
58 | _calibration(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:60:32: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
60 | _camera(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:62:33: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
62 | _failure(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:64:35: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
64 | _follow_me(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:66:29: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
66 | _ftp(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:68:34: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
68 | _geofence(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:70:32: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
70 | _gimbal(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:72:30: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
72 | _info(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:74:35: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
74 | _log_files(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:76:40: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
76 | _manual_control(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:78:33: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
78 | _mission(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:80:37: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
80 | _mission_raw(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:82:31: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
82 | _mocap(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:84:34: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
84 | _offboard(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:86:31: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
86 | _param(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:88:31: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
88 | _shell(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:90:35: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
90 | _telemetry(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:7:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:92:30: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
92 | _tune(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/mavsdk_server.cpp:6:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning-option’
/usr/bin/cmake: /usr/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 94%] Building CXX object src/mavsdk_server/src/CMakeFiles/mavsdk_server.dir/grpc_server.cpp.o
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h: In constructor ‘mavsdk::mavsdk_server::GRPCServer::GRPCServer(mavsdk::Mavsdk&)’:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:56:32: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
56 | _action(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:58:37: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
58 | _calibration(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:60:32: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
60 | _camera(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:62:33: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
62 | _failure(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:64:35: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
64 | _follow_me(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:66:29: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
66 | _ftp(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:68:34: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
68 | _geofence(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:70:32: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
70 | _gimbal(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:72:30: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
72 | _info(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:74:35: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
74 | _log_files(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:76:40: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
76 | _manual_control(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:78:33: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
78 | _mission(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:80:37: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
80 | _mission_raw(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:82:31: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
82 | _mocap(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:84:34: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
84 | _offboard(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:86:31: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
86 | _param(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:88:31: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
88 | _shell(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:90:35: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
90 | _telemetry(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:92:30: warning: ‘mavsdk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-declarations]
92 | _tune(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.cpp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning-option’
/usr/bin/cmake: /usr/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 94%] Linking CXX shared library libmavsdk_server.so
/usr/bin/cmake: /usr/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/ld: …/…/…/third_party/install/lib/libcrypto.a(sha1-armv8.o): relocation R_AARCH64_PREL64 against symbol OPENSSL_armcap_P' which may bind externally can not be used when making a shared object; recompile with -fPIC ../../../third_party/install/lib/libcrypto.a(sha1-armv8.o): in function sha1_block_armv8’:
(.text+0x1240): dangerous relocation: unsupported relocation
/usr/bin/ld: …/…/…/third_party/install/lib/libcrypto.a(chacha-armv8.o): relocation R_AARCH64_PREL64 against symbol OPENSSL_armcap_P' which may bind externally can not be used when making a shared object; recompile with -fPIC ../../../third_party/install/lib/libcrypto.a(chacha-armv8.o):(.text+0x20): dangerous relocation: unsupported relocation /usr/bin/ld: ../../../third_party/install/lib/libcrypto.a(poly1305-armv8.o): relocation R_AARCH64_ADR_PREL_LO21 against symbol poly1305_blocks’ which may bind externally can not be used when making a shared object; recompile with -fPIC
…/…/…/third_party/install/lib/libcrypto.a(poly1305-armv8.o): in function poly1305_init': (.text+0x40): dangerous relocation: unsupported relocation /usr/bin/ld: ../../../third_party/install/lib/libcrypto.a(poly1305-armv8.o): relocation R_AARCH64_ADR_PREL_LO21 against symbol poly1305_emit’ which may bind externally can not be used when making a shared object; recompile with -fPIC
(.text+0x48): dangerous relocation: unsupported relocation
/usr/bin/ld: …/…/…/third_party/install/lib/libcrypto.a(poly1305-armv8.o): relocation R_AARCH64_PREL64 against symbol OPENSSL_armcap_P' which may bind externally can not be used when making a shared object; recompile with -fPIC ../../../third_party/install/lib/libcrypto.a(poly1305-armv8.o): in function poly1305_emit_neon’:
(.text+0x9a0): dangerous relocation: unsupported relocation
/usr/bin/ld: …/…/…/third_party/install/lib/libcrypto.a(sha256-armv8.o): relocation R_AARCH64_PREL64 against symbol OPENSSL_armcap_P' which may bind externally can not be used when making a shared object; recompile with -fPIC ../../../third_party/install/lib/libcrypto.a(sha256-armv8.o): in function sha256_block_data_order’:
(.text+0xf88): dangerous relocation: unsupported relocation
/usr/bin/ld: …/…/…/third_party/install/lib/libcrypto.a(sha512-armv8.o): relocation R_AARCH64_PREL64 against symbol OPENSSL_armcap_P' which may bind externally can not be used when making a shared object; recompile with -fPIC ../../../third_party/install/lib/libcrypto.a(sha512-armv8.o): in function sha512_block_data_order’:
(.text+0x1108): dangerous relocation: unsupported relocation
collect2: error: ld returned 1 exit status
make[2]: *** [src/mavsdk_server/src/CMakeFiles/mavsdk_server.dir/build.make:194: src/mavsdk_server/src/libmavsdk_server.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:1579: src/mavsdk_server/src/CMakeFiles/mavsdk_server.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
I appreciate any help that anyone can provide
Thanks in advance.
Got the same error as above with third attempt
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h :6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.c pp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.c pp:1:
/home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h:92:30: warning: ‘mavs dk::System& mavsdk::Mavsdk::system() const’ is deprecated [-Wdeprecated-dec larations]
92 | _tune(_mavsdk.system()),
| ^
In file included from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.h :6,
from /home/navq/MAVSDK/src/mavsdk_server/src/grpc_server.c pp:1:
/home/navq/MAVSDK/src/core/mavsdk.h:263:24: note: declared here
263 | DEPRECATED System& system() const;
| ^~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-unknown-warning-op tion’
/usr/bin/cmake: /usr/lib/libcurl.so.4: no version information available (re quired by /usr/bin/cmake)
[ 94%] Linking CXX shared library libmavsdk_server.so
/usr/bin/cmake: /usr/lib/libcurl.so.4: no version information available (re quired by /usr/bin/cmake)
/usr/bin/ld: ../../../third_party/install/lib/libcrypto.a(sha1-armv8.o): re location R_AARCH64_PREL64 against symbol `OPENSSL_armcap_P' which may bind externally can not be used when making a shared object; recompile with -fPI C
../../../third_party/install/lib/libcrypto.a(sha1-armv8.o): in function `sh a1_block_armv8':
(.text+0x1240): dangerous relocation: unsupported relocation
/usr/bin/ld: ../../../third_party/install/lib/libcrypto.a(chacha-armv8.o): relocation R_AARCH64_PREL64 against symbol `OPENSSL_armcap_P' which may bin d externally can not be used when making a shared object; recompile with -f PIC
../../../third_party/install/lib/libcrypto.a(chacha-armv8.o):(.text+0x20): dangerous relocation: unsupported relocation
/usr/bin/ld: ../../../third_party/install/lib/libcrypto.a(poly1305-armv8.o) : relocation R_AARCH64_ADR_PREL_LO21 against symbol `poly1305_blocks' which may bind externally can not be used when making a shared object; recompile with -fPIC
../../../third_party/install/lib/libcrypto.a(poly1305-armv8.o): in function `poly1305_init':
(.text+0x40): dangerous relocation: unsupported relocation
/usr/bin/ld: ../../../third_party/install/lib/libcrypto.a(poly1305-armv8.o) : relocation R_AARCH64_ADR_PREL_LO21 against symbol `poly1305_emit' which m ay bind externally can not be used when making a shared object; recompile w ith -fPIC
(.text+0x48): dangerous relocation: unsupported relocation
/usr/bin/ld: ../../../third_party/install/lib/libcrypto.a(poly1305-armv8.o) : relocation R_AARCH64_PREL64 against symbol `OPENSSL_armcap_P' which may b ind externally can not be used when making a shared object; recompile with -fPIC
../../../third_party/install/lib/libcrypto.a(poly1305-armv8.o): in function `poly1305_emit_neon':
(.text+0x9a0): dangerous relocation: unsupported relocation
/usr/bin/ld: ../../../third_party/install/lib/libcrypto.a(sha256-armv8.o): relocation R_AARCH64_PREL64 against symbol `OPENSSL_armcap_P' which may bin d externally can not be used when making a shared object; recompile with -f PIC
../../../third_party/install/lib/libcrypto.a(sha256-armv8.o): in function ` sha256_block_data_order':
(.text+0xf88): dangerous relocation: unsupported relocation
/usr/bin/ld: ../../../third_party/install/lib/libcrypto.a(sha512-armv8.o): relocation R_AARCH64_PREL64 against symbol `OPENSSL_armcap_P' which may bin d externally can not be used when making a shared object; recompile with -f PIC
../../../third_party/install/lib/libcrypto.a(sha512-armv8.o): in function ` sha512_block_data_order':
(.text+0x1108): dangerous relocation: unsupported relocation
collect2: error: ld returned 1 exit status
make[2]: *** [src/mavsdk_server/src/CMakeFiles/mavsdk_server.dir/build.make :194: src/mavsdk_server/src/libmavsdk_server.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:1579: src/mavsdk_server/src/CMakeFiles/m avsdk_server.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Hi nilz,
It looks like you may be missing libcurl. Maybe try installing it with `sudo apt install libcurl-dev` and trying the build again. If this doesn't work, let us know!
I used the command as you have suggested:
navq@imx8mmnavq:~$sudo apt-get install libcurl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libcurl-dev is a virtual package provided by:
libcurl4-openssl-dev 7.68.0-1ubuntu2.4
libcurl4-nss-dev 7.68.0-1ubuntu2.4
libcurl4-gnutls-dev 7.68.0-1ubuntu2.4
You should explicitly select one to install.
E: Package 'libcurl-dev' has no installation candidate
navq@imx8mmnavq:~$ sudo apt-get install libcurl4-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libcurl4-dev is a virtual package provided by:
libcurl4-openssl-dev 7.68.0-1ubuntu2.4
libcurl4-nss-dev 7.68.0-1ubuntu2.4
libcurl4-gnutls-dev 7.68.0-1ubuntu2.4
You should explicitly select one to install.
E: Package 'libcurl4-dev' has no installation candidate
navq@imx8mmnavq:~$ sudo apt-get install libcurl4
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcurl4 is already the newest version (7.68.0-1ubuntu2.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Please suggest..
It looks like you're getting lots of "deprecated" warnings. I don't believe your issue is tied to the NavQ itself, rather it's a MAVSDK issue. Maybe try creating an issue on the MAVSDK GitHub. And possibly try recloning and starting fresh.
EDIT: Also, the compiler errors state to try compiling with -fPIC, maybe try that? Looks like the linker is having some problems.
Are you using python for your scripting? If so, use mavsdk-python instead of mavsdk. mavsdk builds the binary for it to work, which is where the issue you saw seems to come from. mavsdk-python comes with the binary so you can bypass the issue and work with python directly.
You can view their github page for more info: github.com/mavlink/MAVSDK-Python
Would you be able to give a bit more detail about your build environment?
Thanks
I am using the HoverGames-Demo Linux Image ( https://www.hovergames.com/EULA) as my build environment.