Segmentation Fault after several seconds

Required Info

Camera Model
SR300

Firmware Version

Operating System & Version
Debian

Kernel Version (Linux Only)
4.11.0

Platform
ARM board

SDK Version
SDK2

I want to get depth frames and process by ARM board with Debian system. I have followed this guide and  build pyrealsense2.so in my ARM board.
Then I plug out SR300 and plug it in, then run my code. After about 300 frames, the Segmentation fault error occurs.
I have analyzed this error for a week, but still cannot solve it. My analyze is shown below. To help debug, I also show my output of 'cmake' and 'make'.
Could you please help me? @dorodnic @zivsha @RealSense-Customer-Engineering

According to this guide, this error may caused by multiple instances of the same device on Linux. But I only use one SR300. @sgorsten
According to this issue, we can use the following code to avoid this bug:
            if (
                    !ir_frame || ir_frame.get_data() == NULL ||
                    !color_frame || color_frame.get_data() == NULL ||
                    !depth_frame || depth_frame.get_data() == NULL) {

                --i;
                continue;
            }

So I write my code as following:
pipeline = rs.pipeline()
pipeline.start()

i=0
while True:
    try:
        frames = pipeline.wait_for_frames()
        depth = frames.get_depth_frame()
        depth_data = depth.as_frame().get_data()
        i=i+1
        print i
    except:
        continue

But the Segmentation fault error still occurs.
Could someone provide some guidance? Thanks in advance.

I found the following annotation in /third_party/sqlite/sqlite3.h. This information may reveal the cause of this bug. But I still don't know how to solve my problem.
**
** ^Calling sqlite3_free() with a pointer previously returned
** by sqlite3_malloc() or sqlite3_realloc() releases that memory so
** that it might be reused.  ^The sqlite3_free() routine is
** a no-op if is called with a NULL pointer.  Passing a NULL pointer
** to sqlite3_free() is harmless.  After being freed, memory
** should neither be read nor written.  Even reading previously freed
** memory might result in a segmentation fault or other severe error.
** Memory corruption, a segmentation fault, or other severe error
** might result if sqlite3_free() is called with a non-NULL pointer that
** was not obtained from sqlite3_malloc() or sqlite3_realloc().
**

To analyze this error, I show my 'cmake' and 'make' output as follow:
When I run cmake ../ -DFORCE_LIBUVC=true -DBUILD_PYTHON_BINDINGS=true, I get:
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Info: REALSENSE_VERSION_STRING=2.11.1
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
CMake Warning at CMakeLists.txt:576 (message):
  Using libuvc!

-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Checking for one of the modules 'libusb-1.0'
CMake Warning (dev) at /usr/share/cmake-3.11/Modules/FindOpenGL.cmake:270 (message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  FindOpenGL found both a legacy GL library:

    OPENGL_gl_LIBRARY: /usr/lib/aarch64-linux-gnu/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /usr/lib/aarch64-linux-gnu/libOpenGL.so
    OPENGL_glx_LIBRARY: /usr/lib/aarch64-linux-gnu/libGLX.so

  OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
  compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
  examples/CMakeLists.txt:21 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenGL: /usr/lib/aarch64-linux-gnu/libOpenGL.so
CMake Warning (dev) at /usr/share/cmake-3.11/Modules/FindOpenGL.cmake:270 (message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  FindOpenGL found both a legacy GL library:

    OPENGL_gl_LIBRARY: /usr/lib/aarch64-linux-gnu/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /usr/lib/aarch64-linux-gnu/libOpenGL.so
    OPENGL_glx_LIBRARY: /usr/lib/aarch64-linux-gnu/libGLX.so

  OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
  compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
  tools/CMakeLists.txt:26 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.22.29
-- Found PythonInterp: /usr/bin/python3.6 (found version "3.6.5")
-- Found PythonLibs: python3.6m
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- pybind11 v2.2.1
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- LTO enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /home/linaro/kcheng/librealsense/build

When I run make -j4 -i, I get:
Scanning dependencies of target pybackend2
[  1%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/backend.cpp.o
[  1%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/win/win-helpers.cpp.o
[  1%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/win/win-uvc.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  2%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/pybackend_extras.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  2%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/pybackend.cpp.o
Scanning dependencies of target realsense-file
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  2%] Building C object third-party/realsense-file/CMakeFiles/realsense-file.dir/lz4/lz4.c.o
In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/aarch64-linux-gnu/7/include/stdint.h:9,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/lz4/lz4.h:339,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/lz4/lz4.c:91:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
[  3%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/console_bridge/src/console.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  4%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/win/win-usb.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  5%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/cpp_common/src/debug.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  5%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/win/win-backend.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  6%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/linux/backend-v4l2.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  6%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/linux/backend-hid.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  7%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/types.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  7%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/cpp_common/src/header.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  8%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/bag.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  9%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/win/win-hid.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  9%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/archive.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[  9%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/bag_player.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
In file included from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:1:0:
/home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag_player.h:81:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   BagPlayer(const std::string &filename) throw(BagException);
                                          ^~~~~
/home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:8:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 BagPlayer::BagPlayer(const std::string &fname) throw(BagException) {
                                                ^~~~~
In file included from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/maybe_include.hpp:18:0,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/function_iterate.hpp:14,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function.hpp:64,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag_player.h:40,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:1:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp: In instantiation of ‘void boost::detail::function::basic_vtable1<R, T0>::assign_functor(FunctionObj, boost::detail::function::function_buffer&, mpl_::true_) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; mpl_::true_ = mpl_::bool_<true>]’:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:608:27:   required from ‘bool boost::detail::function::basic_vtable1<R, T0>::assign_to(FunctionObj, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:498:27:   required from ‘bool boost::detail::function::basic_vtable1<R, T0>::assign_to(F, boost::detail::function::function_buffer&) const [with F = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:942:7:   required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:728:7:   required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16:   required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:50:60:   required from here
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:572:11: warning: placement new constructing an object of type ‘rosbag::TopicQuery’ and size ‘24’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
           new (reinterpret_cast<void*>(&functor.data)) FunctionObj(f);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/prologue.hpp:17:0,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function.hpp:24,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag_player.h:40,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:1:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp: In instantiation of ‘static void boost::detail::function::functor_manager_common<Functor>::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]’:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:364:56:   required from ‘static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = rosbag::TopicQuery; mpl_::true_ = mpl_::bool_<true>]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:412:18:   required from ‘static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = rosbag::TopicQuery]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:440:20:   required from ‘static void boost::detail::function::functor_manager<Functor>::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:940:13:   required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:728:7:   required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16:   required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:50:60:   required from here
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:318:13: warning: placement new constructing an object of type ‘boost::detail::function::functor_manager_common<rosbag::TopicQuery>::functor_type {aka rosbag::TopicQuery}’ and size ‘24’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
             new (reinterpret_cast<void*>(&out_buffer.data)) functor_type(*in_functor);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 10%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/log.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 11%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/buffer.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 11%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/chunked_file.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 11%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/third-party/easyloggingpp/src/easylogging++.cc.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 12%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/lz4_stream.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 12%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/message_instance.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 13%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/query.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 14%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/stream.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 14%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/uncompressed_stream.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 15%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/view.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 15%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/roscpp_serialization/src/serialization.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 16%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/duration.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 16%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/rate.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 17%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/time.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 17%] Building C object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/roslz4/src/lz4s.c.o
In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/aarch64-linux-gnu/7/include/stdint.h:9,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roslz4/include/roslz4/../../../../lz4/lz4.h:339,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roslz4/include/roslz4/lz4s.h:38,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roslz4/src/lz4s.c:35:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
[ 18%] Building C object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/roslz4/src/xxhash.c.o
In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdlib.h:25,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roslz4/src/xxhash.c:87:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
/home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rostime/src/time.cpp:99:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     throw(NoHighPerformanceTimersException)
     ^~~~~
[ 18%] Linking CXX static library librealsense-file.a
[ 18%] Built target realsense-file
Scanning dependencies of target realsense2
[ 18%] Building CXX object CMakeFiles/realsense2.dir/src/device_hub.cpp.o
[ 19%] Building CXX object CMakeFiles/realsense2.dir/src/environment.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 20%] Building CXX object CMakeFiles/realsense2.dir/src/pipeline.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 21%] Building CXX object CMakeFiles/realsense2.dir/src/archive.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 21%] Building CXX object CMakeFiles/realsense2.dir/src/context.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 22%] Linking CXX shared library pybackend2.cpython-36m-aarch64-linux-gnu.so
[ 23%] Building CXX object CMakeFiles/realsense2.dir/src/device.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 23%] Building CXX object CMakeFiles/realsense2.dir/src/sensor.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 24%] Building CXX object CMakeFiles/realsense2.dir/src/algo.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
In file included from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/maybe_include.hpp:18:0,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/function_iterate.hpp:14,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function.hpp:64,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41,
                 from /home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:10,
                 from /home/linaro/kcheng/librealsense/src/context.cpp:17:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp: In instantiation of ‘void boost::detail::function::basic_vtable1<R, T0>::assign_functor(FunctionObj, boost::detail::function::function_buffer&, mpl_::true_) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; mpl_::true_ = mpl_::bool_<true>]’:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:608:27:   required from ‘bool boost::detail::function::basic_vtable1<R, T0>::assign_to(FunctionObj, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:498:27:   required from ‘bool boost::detail::function::basic_vtable1<R, T0>::assign_to(F, boost::detail::function::function_buffer&) const [with F = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:942:7:   required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:728:7:   required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16:   required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:106:97:   required from here
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:572:11: warning: placement new constructing an object of type ‘rosbag::TopicQuery’ and size ‘24’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
           new (reinterpret_cast<void*>(&functor.data)) FunctionObj(f);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/prologue.hpp:17:0,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function.hpp:24,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41,
                 from /home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:10,
                 from /home/linaro/kcheng/librealsense/src/context.cpp:17:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp: In instantiation of ‘static void boost::detail::function::functor_manager_common<Functor>::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]’:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:364:56:   required from ‘static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = rosbag::TopicQuery; mpl_::true_ = mpl_::bool_<true>]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:412:18:   required from ‘static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = rosbag::TopicQuery]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:440:20:   required from ‘static void boost::detail::function::functor_manager<Functor>::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:940:13:   required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:728:7:   required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16:   required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:106:97:   required from here
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:318:13: warning: placement new constructing an object of type ‘boost::detail::function::functor_manager_common<rosbag::TopicQuery>::functor_type {aka rosbag::TopicQuery}’ and size ‘24’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
             new (reinterpret_cast<void*>(&out_buffer.data)) functor_type(*in_functor);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 24%] Built target pybackend2
[ 24%] Building CXX object CMakeFiles/realsense2.dir/src/sync.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 25%] Building CXX object CMakeFiles/realsense2.dir/src/stream.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 25%] Building CXX object CMakeFiles/realsense2.dir/src/option.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 26%] Building CXX object CMakeFiles/realsense2.dir/src/error-handling.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 27%] Building CXX object CMakeFiles/realsense2.dir/src/hw-monitor.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 27%] Building CXX object CMakeFiles/realsense2.dir/src/image.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 28%] Building CXX object CMakeFiles/realsense2.dir/src/image_avx.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 28%] Building CXX object CMakeFiles/realsense2.dir/src/ivcam/ivcam-private.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 29%] Building CXX object CMakeFiles/realsense2.dir/src/log.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 29%] Building CXX object CMakeFiles/realsense2.dir/src/rs.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
/home/linaro/kcheng/librealsense/src/rs.cpp:125:13: warning: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "major", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including <sys/types.h>.
 int major(int version)
             ^~~~~~~~~~
/home/linaro/kcheng/librealsense/src/rs.cpp:129:13: warning: In the GNU C Library, "minor" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "minor", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including <sys/types.h>.
 int minor(int version)
             ^~~~~~~~~~
/home/linaro/kcheng/librealsense/src/rs.cpp:140:13: warning: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "major", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including <sys/types.h>.
     if (major(version) == 0) return librealsense::to_string() << version;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/linaro/kcheng/librealsense/src/rs.cpp:141:13: warning: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "major", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including <sys/types.h>.
     return librealsense::to_string() << major(version) << "." << minor(version) << "." << patch(version);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/linaro/kcheng/librealsense/src/rs.cpp:141:13: warning: In the GNU C Library, "minor" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "minor", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including <sys/types.h>.
/home/linaro/kcheng/librealsense/src/rs.cpp:164:13: warning: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "major", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including <sys/types.h>.
     else if ((major(runtime_api_version) == 1 && minor(runtime_api_version) <= 9)
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/linaro/kcheng/librealsense/src/rs.cpp:164:13: warning: In the GNU C Library, "minor" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "minor", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including <sys/types.h>.
/home/linaro/kcheng/librealsense/src/rs.cpp:165:13: warning: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "major", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including <sys/types.h>.
         || (major(api_version) == 1 && minor(api_version) <= 9))
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/linaro/kcheng/librealsense/src/rs.cpp:165:13: warning: In the GNU C Library, "minor" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "minor", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including <sys/types.h>.
/home/linaro/kcheng/librealsense/src/rs.cpp:174:13: warning: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "major", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including <sys/types.h>.
         if ((major(api_version) != major(runtime_api_version))
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/linaro/kcheng/librealsense/src/rs.cpp:174:13: warning: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "major", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including <sys/types.h>.
/home/linaro/kcheng/librealsense/src/rs.cpp:175:13: warning: In the GNU C Library, "minor" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "minor", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including <sys/types.h>.
             || (minor(api_version) != minor(runtime_api_version)))
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/linaro/kcheng/librealsense/src/rs.cpp:175:13: warning: In the GNU C Library, "minor" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "minor", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including <sys/types.h>.
[ 30%] Building CXX object CMakeFiles/realsense2.dir/src/ivcam/sr300.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 30%] Building CXX object CMakeFiles/realsense2.dir/src/types.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 31%] Building CXX object CMakeFiles/realsense2.dir/src/linux/backend-v4l2.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 32%] Building CXX object CMakeFiles/realsense2.dir/src/linux/backend-hid.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 32%] Building CXX object CMakeFiles/realsense2.dir/src/backend.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 33%] Building C object CMakeFiles/realsense2.dir/src/verify.c.o
In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/aarch64-linux-gnu/7/include/stdint.h:9,
                 from /home/linaro/kcheng/librealsense/src/../include/librealsense2/h/rs_advanced_mode_command.h:12,
                 from /home/linaro/kcheng/librealsense/src/../include/librealsense2/rs_advanced_mode.h:8,
                 from /home/linaro/kcheng/librealsense/src/verify.c:6:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
[ 33%] Building CXX object CMakeFiles/realsense2.dir/src/software-device.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 34%] Building CXX object CMakeFiles/realsense2.dir/src/proc/align.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
In file included from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/maybe_include.hpp:18:0,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/function_iterate.hpp:14,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function.hpp:64,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50,
                 from /home/linaro/kcheng/librealsense/src/media/ros/ros_writer.h:15,
                 from /home/linaro/kcheng/librealsense/src/rs.cpp:14:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp: In instantiation of ‘void boost::detail::function::basic_vtable1<R, T0>::assign_functor(FunctionObj, boost::detail::function::function_buffer&, mpl_::true_) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; mpl_::true_ = mpl_::bool_<true>]’:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:608:27:   required from ‘bool boost::detail::function::basic_vtable1<R, T0>::assign_to(FunctionObj, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:498:27:   required from ‘bool boost::detail::function::basic_vtable1<R, T0>::assign_to(F, boost::detail::function::function_buffer&) const [with F = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:942:7:   required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:728:7:   required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16:   required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:106:97:   required from here
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:572:11: warning: placement new constructing an object of type ‘rosbag::TopicQuery’ and size ‘24’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
           new (reinterpret_cast<void*>(&functor.data)) FunctionObj(f);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 34%] Building CXX object CMakeFiles/realsense2.dir/src/proc/colorizer.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
In file included from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/prologue.hpp:17:0,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function.hpp:24,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50,
                 from /home/linaro/kcheng/librealsense/src/media/ros/ros_writer.h:15,
                 from /home/linaro/kcheng/librealsense/src/rs.cpp:14:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp: In instantiation of ‘static void boost::detail::function::functor_manager_common<Functor>::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]’:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:364:56:   required from ‘static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = rosbag::TopicQuery; mpl_::true_ = mpl_::bool_<true>]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:412:18:   required from ‘static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = rosbag::TopicQuery]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:440:20:   required from ‘static void boost::detail::function::functor_manager<Functor>::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:940:13:   required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:728:7:   required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16:   required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:106:97:   required from here
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:318:13: warning: placement new constructing an object of type ‘boost::detail::function::functor_manager_common<rosbag::TopicQuery>::functor_type {aka rosbag::TopicQuery}’ and size ‘24’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
             new (reinterpret_cast<void*>(&out_buffer.data)) functor_type(*in_functor);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 35%] Building CXX object CMakeFiles/realsense2.dir/src/proc/pointcloud.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 35%] Building CXX object CMakeFiles/realsense2.dir/src/proc/occlusion-filter.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 36%] Building CXX object CMakeFiles/realsense2.dir/src/proc/synthetic-stream.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 36%] Building CXX object CMakeFiles/realsense2.dir/src/proc/syncer-processing-block.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 37%] Building CXX object CMakeFiles/realsense2.dir/src/proc/decimation-filter.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 38%] Building CXX object CMakeFiles/realsense2.dir/src/proc/spatial-filter.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 38%] Building CXX object CMakeFiles/realsense2.dir/src/proc/temporal-filter.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 39%] Building CXX object CMakeFiles/realsense2.dir/src/proc/hole-filling-filter.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 39%] Building CXX object CMakeFiles/realsense2.dir/src/proc/disparity-transform.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 40%] Building CXX object CMakeFiles/realsense2.dir/src/source.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 40%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-options.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 41%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-timestamp.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 41%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-private.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 42%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-motion.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 43%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-rolling-shutter.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 43%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-device.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 44%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-color.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 44%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-active.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 45%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-factory.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 45%] Building CXX object CMakeFiles/realsense2.dir/src/win/win-helpers.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 46%] Building CXX object CMakeFiles/realsense2.dir/src/win/win-uvc.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 46%] Building CXX object CMakeFiles/realsense2.dir/src/win/win-usb.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 47%] Building CXX object CMakeFiles/realsense2.dir/src/win/win-hid.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 48%] Building CXX object CMakeFiles/realsense2.dir/src/win/win-backend.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 48%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 49%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-private.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 49%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/advanced_mode/rs_advanced_mode.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 50%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/advanced_mode/presets.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 50%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/advanced_mode/advanced_mode.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 51%] Building C object CMakeFiles/realsense2.dir/third-party/sqlite/sqlite3.c.o
In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdio.h:27,
                 from /home/linaro/kcheng/librealsense/third-party/sqlite/sqlite3.c:11272:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
[ 51%] Building CXX object CMakeFiles/realsense2.dir/src/mock/sql.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 52%] Building CXX object CMakeFiles/realsense2.dir/src/mock/recorder.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 53%] Building CXX object CMakeFiles/realsense2.dir/src/media/record/record_device.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 53%] Building CXX object CMakeFiles/realsense2.dir/src/media/record/record_sensor.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 54%] Building CXX object CMakeFiles/realsense2.dir/src/media/playback/playback_device.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 54%] Building CXX object CMakeFiles/realsense2.dir/src/media/playback/playback_sensor.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 55%] Building CXX object CMakeFiles/realsense2.dir/third-party/easyloggingpp/src/easylogging++.cc.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 55%] Building CXX object CMakeFiles/realsense2.dir/src/libuvc/ctrl.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
In file included from /home/linaro/kcheng/librealsense/src/libuvc/libuvc_internal.h:17:0,
                 from /home/linaro/kcheng/librealsense/src/libuvc/ctrl.cpp:43:
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:736:4: warning: ISO C++ forbids zero-size array ‘dev_capability_data’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:767:4: warning: ISO C++ forbids zero-size array ‘dev_capability’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:1263:4: warning: ISO C++ forbids zero-size array ‘iso_packet_desc’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
[ 56%] Building CXX object CMakeFiles/realsense2.dir/src/libuvc/ctrl-gen.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
In file included from /home/linaro/kcheng/librealsense/src/libuvc/libuvc_internal.h:17:0,
                 from /home/linaro/kcheng/librealsense/src/libuvc/ctrl-gen.cpp:3:
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:736:4: warning: ISO C++ forbids zero-size array ‘dev_capability_data’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:767:4: warning: ISO C++ forbids zero-size array ‘dev_capability’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:1263:4: warning: ISO C++ forbids zero-size array ‘iso_packet_desc’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
[ 56%] Building CXX object CMakeFiles/realsense2.dir/src/libuvc/device.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
/home/linaro/kcheng/librealsense/src/libuvc/device.cpp:351:85: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro
       UVC_DEBUG("device has a status interrupt endpoint, but unable to read from it");
                                                                                ^
/home/linaro/kcheng/librealsense/src/libuvc/device.cpp:1623:51: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro
     UVC_DEBUG("Unhandled update from VC interface");
                                                   ^
/home/linaro/kcheng/librealsense/src/libuvc/device.cpp:1669:54: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro
     UVC_DEBUG("Running user-supplied status callback");
                                                      ^
/home/linaro/kcheng/librealsense/src/libuvc/device.cpp:1686:59: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro
     UVC_DEBUG("Invalid streaming status event received.\n");
                                                           ^
/home/linaro/kcheng/librealsense/src/libuvc/device.cpp:1700:56: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro
       UVC_DEBUG("Running user-supplied button callback");
                                                        ^
In file included from /home/linaro/kcheng/librealsense/src/libuvc/libuvc_internal.h:17:0,
                 from /home/linaro/kcheng/librealsense/src/libuvc/device.cpp:40:
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:736:4: warning: ISO C++ forbids zero-size array ‘dev_capability_data’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:767:4: warning: ISO C++ forbids zero-size array ‘dev_capability’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:1263:4: warning: ISO C++ forbids zero-size array ‘iso_packet_desc’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
In file included from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/maybe_include.hpp:18:0,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/function_iterate.hpp:14,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function.hpp:64,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41,
                 from /home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:10,
                 from /home/linaro/kcheng/librealsense/src/media/playback/playback_device.cpp:8:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp: In instantiation of ‘void boost::detail::function::basic_vtable1<R, T0>::assign_functor(FunctionObj, boost::detail::function::function_buffer&, mpl_::true_) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; mpl_::true_ = mpl_::bool_<true>]’:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:608:27:   required from ‘bool boost::detail::function::basic_vtable1<R, T0>::assign_to(FunctionObj, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:498:27:   required from ‘bool boost::detail::function::basic_vtable1<R, T0>::assign_to(F, boost::detail::function::function_buffer&) const [with F = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:942:7:   required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:728:7:   required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16:   required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:106:97:   required from here
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:572:11: warning: placement new constructing an object of type ‘rosbag::TopicQuery’ and size ‘24’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
           new (reinterpret_cast<void*>(&functor.data)) FunctionObj(f);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 57%] Building CXX object CMakeFiles/realsense2.dir/src/libuvc/diag.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
In file included from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/prologue.hpp:17:0,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function.hpp:24,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41,
                 from /home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:10,
                 from /home/linaro/kcheng/librealsense/src/media/playback/playback_device.cpp:8:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp: In instantiation of ‘static void boost::detail::function::functor_manager_common<Functor>::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]’:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:364:56:   required from ‘static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = rosbag::TopicQuery; mpl_::true_ = mpl_::bool_<true>]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:412:18:   required from ‘static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = rosbag::TopicQuery]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:440:20:   required from ‘static void boost::detail::function::functor_manager<Functor>::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:940:13:   required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:728:7:   required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16:   required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:106:97:   required from here
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:318:13: warning: placement new constructing an object of type ‘boost::detail::function::functor_manager_common<rosbag::TopicQuery>::functor_type {aka rosbag::TopicQuery}’ and size ‘24’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
             new (reinterpret_cast<void*>(&out_buffer.data)) functor_type(*in_functor);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/linaro/kcheng/librealsense/src/libuvc/libuvc_internal.h:17:0,
                 from /home/linaro/kcheng/librealsense/src/libuvc/diag.cpp:40:
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:736:4: warning: ISO C++ forbids zero-size array ‘dev_capability_data’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:767:4: warning: ISO C++ forbids zero-size array ‘dev_capability’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:1263:4: warning: ISO C++ forbids zero-size array ‘iso_packet_desc’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/libuvc/diag.cpp: In function ‘void uvc_print_diag(uvc_device_handle_t*, FILE*)’:
/home/linaro/kcheng/librealsense/src/libuvc/diag.cpp:186:17: warning: unknown escape sequence: '\%'
                 "\t\t  GUID: ",
                 ^~~~~~~~~~~~~~
[ 57%] Building CXX object CMakeFiles/realsense2.dir/src/libuvc/frame.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
In file included from /home/linaro/kcheng/librealsense/src/libuvc/libuvc_internal.h:17:0,
                 from /home/linaro/kcheng/librealsense/src/libuvc/frame.cpp:39:
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:736:4: warning: ISO C++ forbids zero-size array ‘dev_capability_data’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:767:4: warning: ISO C++ forbids zero-size array ‘dev_capability’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:1263:4: warning: ISO C++ forbids zero-size array ‘iso_packet_desc’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
[ 58%] Building CXX object CMakeFiles/realsense2.dir/src/libuvc/init.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
In file included from /home/linaro/kcheng/librealsense/src/libuvc/libuvc_internal.h:17:0,
                 from /home/linaro/kcheng/librealsense/src/libuvc/init.cpp:79:
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:736:4: warning: ISO C++ forbids zero-size array ‘dev_capability_data’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:767:4: warning: ISO C++ forbids zero-size array ‘dev_capability’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:1263:4: warning: ISO C++ forbids zero-size array ‘iso_packet_desc’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
[ 59%] Building CXX object CMakeFiles/realsense2.dir/src/libuvc/misc.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
In file included from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/maybe_include.hpp:18:0,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/function_iterate.hpp:14,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function.hpp:64,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41,
                 from /home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:10,
                 from /home/linaro/kcheng/librealsense/src/media/playback/playback_sensor.cpp:10:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp: In instantiation of ‘void boost::detail::function::basic_vtable1<R, T0>::assign_functor(FunctionObj, boost::detail::function::function_buffer&, mpl_::true_) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; mpl_::true_ = mpl_::bool_<true>]’:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:608:27:   required from ‘bool boost::detail::function::basic_vtable1<R, T0>::assign_to(FunctionObj, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:498:27:   required from ‘bool boost::detail::function::basic_vtable1<R, T0>::assign_to(F, boost::detail::function::function_buffer&) const [with F = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:942:7:   required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:728:7:   required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16:   required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:106:97:   required from here
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:572:11: warning: placement new constructing an object of type ‘rosbag::TopicQuery’ and size ‘24’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
           new (reinterpret_cast<void*>(&functor.data)) FunctionObj(f);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 59%] Building CXX object CMakeFiles/realsense2.dir/src/libuvc/stream.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
/home/linaro/kcheng/librealsense/src/libuvc/stream.cpp:791:44: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro
       UVC_DEBUG("bad packet: error bit set");
                                            ^
/home/linaro/kcheng/librealsense/src/libuvc/stream.cpp:1138:48: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro
       UVC_DEBUG("libusb_submit_transfer failed");
                                                ^
In file included from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/prologue.hpp:17:0,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function.hpp:24,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41,
                 from /home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:10,
                 from /home/linaro/kcheng/librealsense/src/media/playback/playback_sensor.cpp:10:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp: In instantiation of ‘static void boost::detail::function::functor_manager_common<Functor>::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]’:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:364:56:   required from ‘static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = rosbag::TopicQuery; mpl_::true_ = mpl_::bool_<true>]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:412:18:   required from ‘static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = rosbag::TopicQuery]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:440:20:   required from ‘static void boost::detail::function::functor_manager<Functor>::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:940:13:   required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:728:7:   required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16:   required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/src/media/ros/ros_reader.h:106:97:   required from here
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:318:13: warning: placement new constructing an object of type ‘boost::detail::function::functor_manager_common<rosbag::TopicQuery>::functor_type {aka rosbag::TopicQuery}’ and size ‘24’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
             new (reinterpret_cast<void*>(&out_buffer.data)) functor_type(*in_functor);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 60%] Building CXX object CMakeFiles/realsense2.dir/src/libuvc/libuvc.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
In file included from /home/linaro/kcheng/librealsense/src/libuvc/libuvc_internal.h:17:0,
                 from /home/linaro/kcheng/librealsense/src/libuvc/stream.cpp:40:
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:736:4: warning: ISO C++ forbids zero-size array ‘dev_capability_data’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:767:4: warning: ISO C++ forbids zero-size array ‘dev_capability’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:1263:4: warning: ISO C++ forbids zero-size array ‘iso_packet_desc’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
In file included from /home/linaro/kcheng/librealsense/src/libuvc/stream.cpp:40:0:
/home/linaro/kcheng/librealsense/src/libuvc/stream.cpp: In function ‘uvc_error_t uvc_query_stream_ctrl(uvc_device_handle_t*, uvc_stream_ctrl_t*, uint8_t, uvc_req_code)’:
/home/linaro/kcheng/librealsense/src/libuvc/libuvc_internal.h:26:35: warning: left shift count >= width of type [-Wshift-count-overflow]
                        ((p)[4] << 32) |((p)[5] << 40) |((p)[6] << 48) |((p)[7] << 56))
                                   ^
/home/linaro/kcheng/librealsense/src/libuvc/stream.cpp:274:35: note: in expansion of macro ‘QW_TO_QUAD’
         ctrl->bmLayoutPerStream = QW_TO_QUAD(buf + 40);
                                   ^~~~~~~~~~
/home/linaro/kcheng/librealsense/src/libuvc/libuvc_internal.h:26:51: warning: left shift count >= width of type [-Wshift-count-overflow]
                        ((p)[4] << 32) |((p)[5] << 40) |((p)[6] << 48) |((p)[7] << 56))
                                                   ^
/home/linaro/kcheng/librealsense/src/libuvc/stream.cpp:274:35: note: in expansion of macro ‘QW_TO_QUAD’
         ctrl->bmLayoutPerStream = QW_TO_QUAD(buf + 40);
                                   ^~~~~~~~~~
/home/linaro/kcheng/librealsense/src/libuvc/libuvc_internal.h:26:67: warning: left shift count >= width of type [-Wshift-count-overflow]
                        ((p)[4] << 32) |((p)[5] << 40) |((p)[6] << 48) |((p)[7] << 56))
                                                                   ^
/home/linaro/kcheng/librealsense/src/libuvc/stream.cpp:274:35: note: in expansion of macro ‘QW_TO_QUAD’
         ctrl->bmLayoutPerStream = QW_TO_QUAD(buf + 40);
                                   ^~~~~~~~~~
/home/linaro/kcheng/librealsense/src/libuvc/libuvc_internal.h:26:83: warning: left shift count >= width of type [-Wshift-count-overflow]
                        ((p)[4] << 32) |((p)[5] << 40) |((p)[6] << 48) |((p)[7] << 56))
                                                                                ^
/home/linaro/kcheng/librealsense/src/libuvc/stream.cpp:274:35: note: in expansion of macro ‘QW_TO_QUAD’
         ctrl->bmLayoutPerStream = QW_TO_QUAD(buf + 40);
                                   ^~~~~~~~~~
In file included from /home/linaro/kcheng/librealsense/src/libuvc/libuvc_internal.h:17:0,
                 from /home/linaro/kcheng/librealsense/src/libuvc/libuvc.cpp:37:
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:736:4: warning: ISO C++ forbids zero-size array ‘dev_capability_data’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:767:4: warning: ISO C++ forbids zero-size array ‘dev_capability’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
/home/linaro/kcheng/librealsense/src/../third-party/libusb/libusb/libusb.h:1263:4: warning: ISO C++ forbids zero-size array ‘iso_packet_desc’ [-Wpedantic]
  [0] /* non-standard, but usually working code */
    ^
[ 60%] Linking CXX shared library librealsense2.so
[ 60%] Built target realsense2
Scanning dependencies of target rs-save-to-disk
Scanning dependencies of target rs-multicam
Scanning dependencies of target rs-capture
Scanning dependencies of target rs-software-device
[ 61%] Building CXX object examples/multicam/CMakeFiles/rs-multicam.dir/rs-multicam.cpp.o
[ 61%] Building CXX object examples/save-to-disk/CMakeFiles/rs-save-to-disk.dir/rs-save-to-disk.cpp.o
[ 62%] Building CXX object examples/capture/CMakeFiles/rs-capture.dir/rs-capture.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 62%] Building CXX object examples/software-device/CMakeFiles/rs-software-device.dir/rs-software-device.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 62%] Linking CXX executable rs-capture
[ 63%] Linking CXX executable rs-save-to-disk
/usr/bin/ld: /usr/local/lib/libglfw3.a(vulkan.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.17'
//lib/aarch64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 63%] Built target rs-capture
Scanning dependencies of target rs-pointcloud
[ 64%] Building CXX object examples/pointcloud/CMakeFiles/rs-pointcloud.dir/rs-pointcloud.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 64%] Built target rs-save-to-disk
Scanning dependencies of target rs-align
[ 65%] Building CXX object examples/align/CMakeFiles/rs-align.dir/rs-align.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 66%] Linking CXX executable rs-software-device
/usr/bin/ld: /usr/local/lib/libglfw3.a(vulkan.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.17'
//lib/aarch64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 66%] Built target rs-software-device
Scanning dependencies of target rs-sensor-control
[ 66%] Building CXX object examples/sensor-control/CMakeFiles/rs-sensor-control.dir/rs-sensor-control.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 66%] Linking CXX executable rs-multicam
/usr/bin/ld: /usr/local/lib/libglfw3.a(vulkan.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.17'
//lib/aarch64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 66%] Built target rs-multicam
Scanning dependencies of target rs-measure
[ 66%] Building CXX object examples/measure/CMakeFiles/rs-measure.dir/rs-measure.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 66%] Linking CXX executable rs-pointcloud
/usr/bin/ld: /usr/local/lib/libglfw3.a(vulkan.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.17'
//lib/aarch64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 66%] Built target rs-pointcloud
Scanning dependencies of target rs-depth
[ 67%] Building C object examples/C/depth/CMakeFiles/rs-depth.dir/rs-depth.c.o
In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdio.h:27,
                 from /home/linaro/kcheng/librealsense/examples/C/depth/../example.h:5,
                 from /home/linaro/kcheng/librealsense/examples/C/depth/rs-depth.c:9:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
[ 67%] Linking C executable rs-depth
[ 67%] Built target rs-depth
Scanning dependencies of target rs-color
[ 68%] Building C object examples/C/color/CMakeFiles/rs-color.dir/rs-color.c.o
In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdlib.h:25,
                 from /home/linaro/kcheng/librealsense/examples/C/color/rs-color.c:9:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
[ 68%] Linking C executable rs-color
[ 68%] Built target rs-color
Scanning dependencies of target rs-distance
[ 68%] Building C object examples/C/distance/CMakeFiles/rs-distance.dir/rs-distance.c.o
In file included from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdio.h:27,
                 from /home/linaro/kcheng/librealsense/examples/C/distance/../example.h:5,
                 from /home/linaro/kcheng/librealsense/examples/C/distance/rs-distance.c:9:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
[ 69%] Linking C executable rs-distance
[ 69%] Built target rs-distance
Scanning dependencies of target rs-post-processing
[ 70%] Building CXX object examples/post-processing/CMakeFiles/rs-post-processing.dir/rs-post-processing.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 70%] Building CXX object examples/align/CMakeFiles/rs-align.dir/__/__/third-party/imgui/imgui.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 71%] Linking CXX executable rs-sensor-control
/usr/bin/ld: /usr/local/lib/libglfw3.a(vulkan.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.17'
//lib/aarch64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 71%] Built target rs-sensor-control
Scanning dependencies of target rs-record-playback
[ 72%] Building CXX object examples/record-playback/CMakeFiles/rs-record-playback.dir/rs-record-playback.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 72%] Building CXX object examples/post-processing/CMakeFiles/rs-post-processing.dir/__/__/third-party/imgui/imgui.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 73%] Building CXX object examples/align/CMakeFiles/rs-align.dir/__/__/third-party/imgui/imgui_draw.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 74%] Linking CXX executable rs-measure
/usr/bin/ld: /usr/local/lib/libglfw3.a(vulkan.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.17'
//lib/aarch64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 74%] Built target rs-measure
[ 74%] Building CXX object examples/align/CMakeFiles/rs-align.dir/__/__/third-party/imgui/imgui_impl_glfw.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
Scanning dependencies of target rs-terminal
[ 74%] Building CXX object tools/terminal/CMakeFiles/rs-terminal.dir/rs-terminal.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 75%] Linking CXX executable rs-align
/usr/bin/ld: /usr/local/lib/libglfw3.a(vulkan.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.17'
//lib/aarch64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 75%] Built target rs-align
Scanning dependencies of target rs-fw-logger
[ 76%] Building CXX object tools/fw-logger/CMakeFiles/rs-fw-logger.dir/rs-fw-logger.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 77%] Building CXX object examples/post-processing/CMakeFiles/rs-post-processing.dir/__/__/third-party/imgui/imgui_draw.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 77%] Building CXX object examples/record-playback/CMakeFiles/rs-record-playback.dir/__/__/third-party/imgui/imgui.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 77%] Building CXX object examples/post-processing/CMakeFiles/rs-post-processing.dir/__/__/third-party/imgui/imgui_impl_glfw.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 78%] Linking CXX executable rs-post-processing
/usr/bin/ld: /usr/local/lib/libglfw3.a(vulkan.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.17'
//lib/aarch64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 78%] Built target rs-post-processing
[ 79%] Building CXX object examples/record-playback/CMakeFiles/rs-record-playback.dir/__/__/third-party/imgui/imgui_draw.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 79%] Building CXX object examples/record-playback/CMakeFiles/rs-record-playback.dir/__/__/third-party/imgui/imgui_impl_glfw.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
Scanning dependencies of target rs-enumerate-devices
[ 80%] Linking CXX executable rs-record-playback
[ 81%] Building CXX object tools/enumerate-devices/CMakeFiles/rs-enumerate-devices.dir/rs-enumerate-devices.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
/usr/bin/ld: /usr/local/lib/libglfw3.a(vulkan.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.17'
//lib/aarch64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 81%] Built target rs-record-playback
Scanning dependencies of target realsense-viewer
[ 82%] Building CXX object tools/realsense-viewer/CMakeFiles/realsense-viewer.dir/realsense-viewer.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 82%] Building CXX object tools/fw-logger/CMakeFiles/rs-fw-logger.dir/fw-log-data.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 83%] Building CXX object tools/fw-logger/CMakeFiles/rs-fw-logger.dir/fw-logs-formating-options.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 83%] Linking CXX executable rs-enumerate-devices
[ 83%] Built target rs-enumerate-devices
[ 84%] Building CXX object tools/realsense-viewer/CMakeFiles/realsense-viewer.dir/__/__/third-party/imgui/imgui.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 84%] Building CXX object tools/fw-logger/CMakeFiles/rs-fw-logger.dir/fw-logs-parser.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 85%] Building CXX object tools/terminal/CMakeFiles/rs-terminal.dir/auto-complete.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 85%] Building CXX object tools/realsense-viewer/CMakeFiles/realsense-viewer.dir/__/__/third-party/imgui/imgui_draw.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 86%] Building CXX object tools/fw-logger/CMakeFiles/rs-fw-logger.dir/fw-logs-xml-helper.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 87%] Building CXX object tools/realsense-viewer/CMakeFiles/realsense-viewer.dir/__/__/third-party/imgui/imgui_impl_glfw.cpp.o
[ 88%] Linking CXX executable rs-terminal
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 88%] Building CXX object tools/realsense-viewer/CMakeFiles/realsense-viewer.dir/__/__/common/model-views.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 88%] Built target rs-terminal
[ 89%] Building CXX object tools/realsense-viewer/CMakeFiles/realsense-viewer.dir/__/__/common/ux-window.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 89%] Building CXX object tools/fw-logger/CMakeFiles/rs-fw-logger.dir/string-formatter.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
Scanning dependencies of target rs-data-collect
[ 90%] Building CXX object tools/data-collect/CMakeFiles/rs-data-collect.dir/rs-data-collect.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 91%] Linking CXX executable rs-fw-logger
[ 91%] Built target rs-fw-logger
Scanning dependencies of target rs-depth-quality
[ 92%] Building CXX object tools/depth-quality/CMakeFiles/rs-depth-quality.dir/rs-depth-quality.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 93%] Building CXX object tools/depth-quality/CMakeFiles/rs-depth-quality.dir/depth-quality-model.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 93%] Linking CXX executable rs-data-collect
[ 93%] Built target rs-data-collect
Scanning dependencies of target rs-rosbag-inspector
[ 93%] Building CXX object tools/rosbag-inspector/CMakeFiles/rs-rosbag-inspector.dir/rs-rosbag-inspector.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
In file included from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/maybe_include.hpp:18:0,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/function_iterate.hpp:14,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function.hpp:64,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42,
                 from /home/linaro/kcheng/librealsense/tools/rosbag-inspector/../../third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50,
                 from /home/linaro/kcheng/librealsense/tools/rosbag-inspector/print_helpers.h:12,
                 from /home/linaro/kcheng/librealsense/tools/rosbag-inspector/rs-rosbag-inspector.cpp:30:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp: In instantiation of ‘void boost::detail::function::basic_vtable1<R, T0>::assign_functor(FunctionObj, boost::detail::function::function_buffer&, mpl_::true_) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; mpl_::true_ = mpl_::bool_<true>]’:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:608:27:   required from ‘bool boost::detail::function::basic_vtable1<R, T0>::assign_to(FunctionObj, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:498:27:   required from ‘bool boost::detail::function::basic_vtable1<R, T0>::assign_to(F, boost::detail::function::function_buffer&) const [with F = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:942:7:   required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:728:7:   required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16:   required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/tools/rosbag-inspector/rs-rosbag-inspector.cpp:256:73:   required from here
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:572:11: warning: placement new constructing an object of type ‘rosbag::TopicQuery’ and size ‘24’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
           new (reinterpret_cast<void*>(&functor.data)) FunctionObj(f);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/detail/prologue.hpp:17:0,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function.hpp:24,
                 from /home/linaro/kcheng/librealsense/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42,
                 from /home/linaro/kcheng/librealsense/tools/rosbag-inspector/../../third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50,
                 from /home/linaro/kcheng/librealsense/tools/rosbag-inspector/print_helpers.h:12,
                 from /home/linaro/kcheng/librealsense/tools/rosbag-inspector/rs-rosbag-inspector.cpp:30:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp: In instantiation of ‘static void boost::detail::function::functor_manager_common<Functor>::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]’:
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:364:56:   required from ‘static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = rosbag::TopicQuery; mpl_::true_ = mpl_::bool_<true>]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:412:18:   required from ‘static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = rosbag::TopicQuery]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:440:20:   required from ‘static void boost::detail::function::functor_manager<Functor>::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:940:13:   required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:728:7:   required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16:   required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]’
/home/linaro/kcheng/librealsense/tools/rosbag-inspector/rs-rosbag-inspector.cpp:256:73:   required from here
/home/linaro/kcheng/librealsense/third-party/realsense-file/boost/boost/function/function_base.hpp:318:13: warning: placement new constructing an object of type ‘boost::detail::function::functor_manager_common<rosbag::TopicQuery>::functor_type {aka rosbag::TopicQuery}’ and size ‘24’ in a region of type ‘char’ and size ‘1’ [-Wplacement-new=]
             new (reinterpret_cast<void*>(&out_buffer.data)) functor_type(*in_functor);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 94%] Building CXX object tools/rosbag-inspector/CMakeFiles/rs-rosbag-inspector.dir/__/__/third-party/imgui/imgui.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 94%] Building CXX object tools/depth-quality/CMakeFiles/rs-depth-quality.dir/__/__/common/ux-window.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 95%] Building CXX object tools/depth-quality/CMakeFiles/rs-depth-quality.dir/__/__/common/model-views.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 95%] Linking CXX executable realsense-viewer
/usr/bin/ld: /usr/local/lib/libglfw3.a(vulkan.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.17'
//lib/aarch64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 95%] Built target realsense-viewer
Scanning dependencies of target pyrealsense2
[ 95%] Building CXX object wrappers/python/CMakeFiles/pyrealsense2.dir/python.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 95%] Building CXX object tools/rosbag-inspector/CMakeFiles/rs-rosbag-inspector.dir/__/__/third-party/imgui/imgui_draw.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 96%] Building CXX object tools/rosbag-inspector/CMakeFiles/rs-rosbag-inspector.dir/__/__/third-party/imgui/imgui_impl_glfw.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 97%] Linking CXX executable rs-rosbag-inspector
/usr/bin/ld: /usr/local/lib/libglfw3.a(vulkan.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.17'
//lib/aarch64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 97%] Built target rs-rosbag-inspector
[ 97%] Building CXX object tools/depth-quality/CMakeFiles/rs-depth-quality.dir/__/__/third-party/imgui/imgui.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 98%] Building CXX object tools/depth-quality/CMakeFiles/rs-depth-quality.dir/__/__/third-party/imgui/imgui_draw.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 98%] Building CXX object tools/depth-quality/CMakeFiles/rs-depth-quality.dir/__/__/third-party/imgui/imgui_impl_glfw.cpp.o
cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
[ 99%] Linking CXX executable rs-depth-quality
/usr/bin/ld: /usr/local/lib/libglfw3.a(vulkan.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.17'
//lib/aarch64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 99%] Built target rs-depth-quality
[100%] Linking CXX shared library pyrealsense2.cpython-36m-aarch64-linux-gnu.so
[100%] Built target pyrealsense2

[Realsense Customer Engineering Team Comment]
hi @KeCh96,
we can reproduce this issue on our board, can you please tell which board  you are using

[Realsense Customer Engineering Team Comment]
correction: we CANNOT reproduce.

[Realsense Customer Engineering Team Comment]
hi @KeCh96,
can you still reproduce this issue?