0

I'm trying to install Ros2-galactic in Ubuntu 20.04. while installing with Colon build --symlink-install I'm facing the following issue.

--- stderr: ros1_bridge                                                                                                                                                           
CMake Warning at CMakeLists.txt:34 (message):
  Failed to find ROS 1 roscpp, skipping...


---
Finished <<< ros1_bridge [7.78s]
Starting >>> rviz2
Finished <<< pendulum_control [17.2s]                                                                                                                                      
Starting >>> ros2cli_common_extensions                                                                                                
Finished <<< ros2cli_common_extensions [2.50s]                                                                                                                                     
Starting >>> rqt_bag_plugins
--- stderr: rviz2                                                                                                                                                    
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/9/../../../aarch64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x18): undefined reference to `main'
/usr/bin/ld: (.text+0x1c): undefined reference to `main'
collect2: error: ld returned 1 exit status
make[2]: * [test/tools/CMakeFiles/send_lots_of_points_node.dir/build.make:142: test/tools/send_lots_of_points_node] Error 1
make[1]: * [CMakeFiles/Makefile2:197: test/tools/CMakeFiles/send_lots_of_points_node.dir/all] Error 2
make: * [Makefile:141: all] Error 2
---
Failed   <<< rviz2 [20.1s, exited with code 2]
Aborted  <<< rqt_bag_plugins [9.42s]                                                                                                                  
Aborted  <<< test_tf2 [1min 36s]                                                                                              
Aborted  <<< test_rclcpp [15min 18s]                                             

Summary: 328 packages finished [23min 5s]
  1 package failed: rviz2
  3 packages aborted: rqt_bag_plugins test_rclcpp test_tf2
  87 packages had stderr output: action_tutorials_py ament_clang_format ament_clang_tidy ament_copyright ament_cppcheck ament_cpplint ament_flake8 ament_index_python ament_lint ament_lint_cmake ament_mypy ament_package ament_pclint ament_pep257 ament_pycodestyle ament_pyflakes ament_uncrustify ament_xmllint demo_nodes_py domain_coordinator examples_rclpy_executors examples_rclpy_guard_conditions examples_rclpy_minimal_action_client examples_rclpy_minimal_action_server examples_rclpy_minimal_client examples_rclpy_minimal_publisher examples_rclpy_minimal_service examples_rclpy_minimal_subscriber examples_rclpy_pointcloud_publisher examples_tf2_py joystick_ros2 launch launch_ros launch_testing launch_testing_ros launch_xml launch_yaml osrf_pycommon quality_of_service_demo_py ros1_bridge ros2action ros2bag ros2cli ros2component ros2doctor ros2interface ros2launch ros2lifecycle ros2multicast ros2node ros2param ros2pkg ros2run ros2service ros2test ros2topic ros2trace rosidl_cli rosidl_runtime_py rpyutils rqt rqt_action rqt_bag rqt_console rqt_graph rqt_gui rqt_gui_py rqt_msg rqt_plot rqt_publisher rqt_py_console rqt_reconfigure rqt_service_caller rqt_shell rqt_srv rqt_top rqt_topic rviz2 sensor_msgs_py sros2 test_launch_ros tf2_ros_py tf2_tools topic_monitor tracetools_launch tracetools_read tracetools_trace

Help me to solve this issue...

SPDKalyan
  • 11
  • 4

0 Answers0