编译问题如下
[ 98%] Building CXX object CMakeFiles/icw.dir/src/runtime/src/icwnode.cpp.o
/usr/bin/aarch64-linux-gnu-g++ --sysroot=/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot -DHAS_DDS_BINDING -I/home/yk/eclipse-workspace/lta/src -I/home/yk/eclipse-workspace/lta/src/algo -I/home/yk/eclipse-workspace/lta/src/algo/.vscode -I/home/yk/eclipse-workspace/lta/src/algo/data -I/home/yk/eclipse-workspace/lta/src/algo/include -I/home/yk/eclipse-workspace/lta/src/algo/src -I/home/yk/eclipse-workspace/lta/src/buffer -I/home/yk/eclipse-workspace/lta/src/buffer/include -I/home/yk/eclipse-workspace/lta/src/buffer/src -I/home/yk/eclipse-workspace/lta/src/conv -I/home/yk/eclipse-workspace/lta/src/conv/include -I/home/yk/eclipse-workspace/lta/src/conv/src -I/home/yk/eclipse-workspace/lta/src/main -I/home/yk/eclipse-workspace/lta/src/pe_base -I/home/yk/eclipse-workspace/lta/src/pe_base/algo -I/home/yk/eclipse-workspace/lta/src/pe_base/algo/include -I/home/yk/eclipse-workspace/lta/src/pe_base/algo/src -I/home/yk/eclipse-workspace/lta/src/runtime -I/home/yk/eclipse-workspace/lta/src/runtime/include -I/home/yk/eclipse-workspace/lta/src/runtime/src -I/home/yk/eclipse-workspace/lta/hmi_msg -I/home/yk/eclipse-workspace/lta/generated -I/home/yk/eclipse-workspace/lta/generated/includes -I/home/yk/eclipse-workspace/lta/generated/includes/ara -I/home/yk/eclipse-workspace/lta/generated/includes/ara/com -I/home/yk/eclipse-workspace/lta/generated/includes/ara/com/egolaneassignment -I/home/yk/eclipse-workspace/lta/generated/includes/ara/com/fn_icw_icwstatus_s -I/home/yk/eclipse-workspace/lta/generated/includes/ara/com/fusedmap -I/home/yk/eclipse-workspace/lta/generated/includes/ara/com/fusedpose -I/home/yk/eclipse-workspace/lta/generated/includes/ara/com/lanefusiondescriptor -I/home/yk/eclipse-workspace/lta/generated/includes/ara/com/objectlaneassignmentalllink -I/home/yk/eclipse-workspace/lta/generated/includes/ara/com/objecttrackarray -I/home/yk/eclipse-workspace/lta/generated/includes/ara/com/pathhistory -I/home/yk/eclipse-workspace/lta/generated/includes/ara/com/pe_dal_egostatus_s -I/home/yk/eclipse-workspace/lta/generated/includes/ara/com/pe_dal_icwhmiinput_s -I/home/yk/eclipse-workspace/lta/generated/includes/ara/com/pe_dal_systemfault_s -I/home/yk/eclipse-workspace/lta/generated/includes/ara/com/sample -I/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/include -I/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/usr/local/include -I/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/usr/local/include/RT-DDS -I/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/usr/local/include/someip -I/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/usr/local/include/vrtf -std=c++14 -O0 -g3 -Wall -c -fmessage-length=0 -fPIC -fPIE -pie -fstack-protector-all -Wtrampolines -o CMakeFiles/icw.dir/src/runtime/src/icwnode.cpp.o -c /home/yk/eclipse-workspace/lta/src/runtime/src/icwnode.cpp
[100%] Linking CXX executable icw
/home/yk/software/MDC_Development_Studio-1.0.003.8/tools/cmake/bin/cmake -E cmake_link_script CMakeFiles/icw.dir/link.txt --verbose=1
/usr/bin/aarch64-linux-gnu-g++ --sysroot=/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot
-Wl,--as-needed -fPIE -pie -Wl,-z,relro -Wl,-z,noexecstack -Wl,
-z,now CMakeFiles/icw.dir/generated/egolaneassignmentserviceinterface_common.cpp.o
CMakeFiles/icw.dir/generated/fn_icw_icwstatus_serviceinterface_common.cpp.o
CMakeFiles/icw.dir/generated/fusedmapserviceinterface_common.cpp.o
CMakeFiles/icw.dir/generated/fusedposeserviceinterface_common.cpp.o CMakeFiles/icw.dir/generated/lanefusiondescriptorserviceinterface_common.cpp.o
CMakeFiles/icw.dir/generated/objectlaneassignmentalllinkserviceinterface_common.cpp.o CMakeFiles/icw.dir/generated/objecttrackarrayserviceinterface_common.cpp.o
CMakeFiles/icw.dir/generated/pathhistoryserviceinterface_common.cpp.o CMakeFiles/icw.dir/generated/pe_dal_egostatus_serviceinterface_common.cpp.o
CMakeFiles/icw.dir/generated/pe_dal_icwhmiinput_serviceinterface_common.cpp.o CMakeFiles/icw.dir/generated/pe_dal_systemfault_serviceinterface_common.cpp.o
CMakeFiles/icw.dir/generated/vci_longcmd_interface_common.cpp.o CMakeFiles/icw.dir/src/algo/src/fn_icw_algo_state_machine.cpp.o
CMakeFiles/icw.dir/src/algo/src/fn_tp_algo_input.cpp.o
CMakeFiles/icw.dir/src/algo/src/fn_tp_algo_intersection.cpp.o
CMakeFiles/icw.dir/src/algo/src/fn_tp_algo_onlane.cpp.o CMakeFiles/icw.dir/src/algo/src/fn_tp_common.cpp.o
CMakeFiles/icw.dir/src/algo/src/icw_DynamObjFilt.cpp.o CMakeFiles/icw.dir/src/algo/src/icw_algo.cpp.o
CMakeFiles/icw.dir/src/algo/src/icw_algo_coordinate_converter.cpp.o CMakeFiles/icw.dir/src/algo/src/icw_cd_algo.cpp.o
CMakeFiles/icw.dir/src/algo/src/icw_cd_algo_input.cpp.o CMakeFiles/icw.dir/src/algo/src/icw_cd_algo_lateral_offset_calc.cpp.o
CMakeFiles/icw.dir/src/algo/src/icw_cd_algo_newton_calc.cpp.o CMakeFiles/icw.dir/src/algo/src/icw_cd_algo_object_point_selection.cpp.o
CMakeFiles/icw.dir/src/algo/src/icw_cd_algo_object_selection.cpp.o
CMakeFiles/icw.dir/src/algo/src/icw_cd_algo_output.cpp.o
CMakeFiles/icw.dir/src/algo/src/icw_cd_algo_params_adaption.cpp.o
CMakeFiles/icw.dir/src/algo/src/icw_cd_algo_ttc_calc.cpp.o
CMakeFiles/icw.dir/src/algo/src/icw_objectsFilter_algo.cpp.o
CMakeFiles/icw.dir/src/algo/src/icw_ttc.cpp.o CMakeFiles/icw.dir/src/buffer/src/ego_fusedpose_buffer.cpp.o
CMakeFiles/icw.dir/src/buffer/src/ego_lane_assignment_buffer.cpp.o
CMakeFiles/icw.dir/src/buffer/src/ego_state_buffer.cpp.o CMakeFiles/icw.dir/src/buffer/src/hmi_input_buffer.cpp.o
CMakeFiles/icw.dir/src/buffer/src/icw_status_output_buffer.cpp.o CMakeFiles/icw.dir/src/buffer/src/lane_fusedlane_buffer.cpp.o
CMakeFiles/icw.dir/src/buffer/src/map_fusedmap_buffer.cpp.o CMakeFiles/icw.dir/src/buffer/src/object_history_trajectory_buffer.cpp.o
CMakeFiles/icw.dir/src/buffer/src/object_lane_assignment_all_link_buffer.cpp.o CMakeFiles/icw.dir/src/buffer/src/object_track_array_buffer.cpp.o
CMakeFiles/icw.dir/src/buffer/src/system_fault_buffer.cpp.o CMakeFiles/icw.dir/src/buffer/src/virtual_hmi_input_buffer.cpp.o
CMakeFiles/icw.dir/src/conv/src/ego_fusedpose_convertor.cpp.o CMakeFiles/icw.dir/src/conv/src/ego_lane_assignment_convertor.cpp.o
CMakeFiles/icw.dir/src/conv/src/ego_state_convertor.cpp.o CMakeFiles/icw.dir/src/conv/src/hmi_input_convertor.cpp.o
CMakeFiles/icw.dir/src/conv/src/icw_status_output_convertor.cpp.o CMakeFiles/icw.dir/src/conv/src/icw_status_ros_output_convertor.cpp.o
CMakeFiles/icw.dir/src/conv/src/lane_fusedlane_convertor.cpp.o CMakeFiles/icw.dir/src/conv/src/map_convertor.cpp.o
CMakeFiles/icw.dir/src/conv/src/obj_lane_assignment_all_link_convertor.cpp.o CMakeFiles/icw.dir/src/conv/src/object_history_trajectory_convertor.cpp.o
CMakeFiles/icw.dir/src/conv/src/object_track_array_convertor.cpp.o CMakeFiles/icw.dir/src/conv/src/system_fault_convertor.cpp.o
CMakeFiles/icw.dir/src/conv/src/virtual_hmi_input_convertor.cpp.o CMakeFiles/icw.dir/src/main/icw_main.cpp.o
CMakeFiles/icw.dir/src/pe_base/algo/src/coordinate_transform.cpp.o CMakeFiles/icw.dir/src/runtime/src/icw_activity.cpp.o
CMakeFiles/icw.dir/src/runtime/src/icwnode.cpp.o -o icw
-L/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib
-L/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/usr/local/lib64 -L/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/usr/local/lib -Wl,
-rpath,/opt/ros/kinetic/lib:/usr/local/lib64:/usr/local/lib -lara_com -lara_per -lara_exec -lara_log -lcrypto -lddscpp -lddscore -ldlt
-lgmock -lgmock_main -liccshm -lJsonParser -ljsoncpp -lKeyValueStorage -llogging -lMdioDrvAdapter -lpthread -lpci_dev_info -lprotobuf-c
-lrng -lsomeip -lsecurec -lssl -lvrtf_vcc -lvcc_ddsdriver -lvcc_someipdriver -lyaml-cpp -lara_visual -lpcie_trans
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libMultiCameraPlugin.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libactionlib.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libbondcpp.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libcamera_calibration_parsers.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libcamera_info_manager.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libclass_loader.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libcollada_parser.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libcollada_parser_plugin.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libcollada_urdf.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libcompressed_depth_image_transport.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libcompressed_image_transport.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libcpp_common.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libcv_bridge.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libdepth_image_proc.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libdiagnostic_aggregator.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libdynamic_reconfigure_config_init_mutex.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libeigen_conversions.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_api_plugin.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_block_laser.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_bumper.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_camera.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_camera_utils.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_depth_camera.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_diff_drive.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_elevator.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_f3d.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_force.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_ft_sensor.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_gpu_laser.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_hand_of_god.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_imu.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_imu_sensor.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_joint_pose_trajectory.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_joint_state_publisher.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_joint_trajectory.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_laser.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_moveit_planning_scene.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_multicamera.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_openni_kinect.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_p3d.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_paths_plugin.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_planar_move.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_projector.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_prosilica.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_range.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_skid_steer_drive.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_template.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_tricycle_drive.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_triggered_camera.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_triggered_multicamera.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_utils.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_vacuum_gripper.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_video.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgeometric_shapes.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libimage_geometry.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libimage_proc.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libimage_publisher.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libimage_rotate.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libimage_transport.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libimage_transport_plugins.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libimage_view.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libincrement.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libinteractive_markers.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libjoint_state_listener.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libkdl_conversions.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libkdl_parser.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/liblaser_geometry.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/liblaser_scan_filters.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libmean.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libmedian.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libmessage_filters.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libnodelet_math.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libnodeletlib.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/liboctomap.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/liboctomath.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/liborocos-kdl.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libparams.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libpcl_ros_features.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libpcl_ros_filters.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libpcl_ros_io.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libpcl_ros_segmentation.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libpcl_ros_surface.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libpcl_ros_tf.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libpluginlib_tutorials.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libpointcloud_filters.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libpolled_camera.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libqt_gui_cpp.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librandom_numbers.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libresource_retriever.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librobot_state_publisher_solver.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librosbag.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librosbag_storage.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librosconsole.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librosconsole_backend_interface.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librosconsole_bridge.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librosconsole_log4cxx.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libroscpp.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libroscpp_serialization.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libroslib.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libroslz4.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librospack.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librostime.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librqt_gui_cpp.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librqt_image_view.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librqt_rviz.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librviz.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librviz_default_plugin.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/librviz_plugin_tutorials.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libstage.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libstereo_image_proc.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libtf.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libtf2.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libtf2_ros.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libtf_conversions.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libtheora_image_transport.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libtopic_tools.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libtransfer_function.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/liburdf.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libvision_reconfigure.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libxmlrpcpp.so
/usr/ubuntu_crossbuild_devkit/mdc_crossbuild_sysroot/opt/ros/kinetic/lib/libgazebo_ros_moveit_planning_scene.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
CMakeFiles/icw.dir/build.make:1088: recipe for target 'icw' failed
make[2]: Leaving directory '/home/yk/eclipse-workspace/lta/Debug'
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/icw.dir/all' failed
make[1]: Leaving directory '/home/yk/eclipse-workspace/lta/Debug'
Makefile:83: recipe for target 'all' failed
make[2]: *** [icw] Error 1
make[1]: *** [CMakeFiles/icw.dir/all] Error 2
make: *** [all] Error 2
"make VERBOSE=1" terminated with exit code 2. Build might be incomplete.
23:02:15 Build Failed. 3 errors, 40 warnings. (took 2m:15s.412ms)
*/
网上的参考方案
root@localhost:/home/chw/mqtt/paho.mqtt.c-master/install/lib64# file libpaho-mqtt3a.so.1.3.9
libpaho-mqtt3a.so.1.3.9:
ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
root@localhost:/home/chw/mqtt/paho.mqtt.c-master/install/lib# file libpaho-mqtt3a.so.1.3.9
libpaho-mqtt3a.so.1.3.9:
ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked,
BuildID[sha1]=1875ae7550029980d276187e883c154aa43c7356, not stripped
===================================================================
libgazebo_ros_moveit_planning_scene.so:
ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked,
BuildID[sha1]=e79bd8f389cfbaee73055fd9cb5fc3bf74c70847, stripped
cmake -DPAHO_WITH_SSL=OFF -DPAHO_MQTT_C_LIBRARIES=/home/chw/mqtt/paho.mqtt.c-master/install/lib/libpaho-mqtt3a.so
-DPAHO_MQTT_C_INCLUDE_DIRS=/home/chw/mqtt/paho.mqtt.c-master/install/include/ DCMAKE_INSTALL_PREFIX=../install ..
libxmlrpcpp.so:
ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked,
BuildID[sha1]=c7e1805f3609880dabfe45a287c031f20b37eeb1, stripped
解决方案
#libgazebo_ros_moveit_planning_scene.so
由于动态库的编译是我本机编译的,查看文件格式是x86-64,而正确的版本应该是ARM aarch64,于是出现了文件格式问题
最后是把改文件移除即可成功编译通过。