micro_ros_setup build `android generic` falied
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- android, shell
- Domain
- build-system, embedded-iot
Research direction
Start by running ros2 run micro_ros_setup create_firmware_ws.sh android generic followed by ros2 run micro_ros_setup build_firmware.sh. Inspect the undefined references from uros/rcl/rcl/src/rcl/graph.c and compare with the related issue 548; done means the Android generic firmware build completes without linker errors.
Written by the indexing model from the issue text.
Description
Issue template
- Hardware description: demo config : android generic
- RTOS: android
- Installation type: micro_ros_setup( branch:main)
- Version or commit hash: rolling
Steps to reproduce the issue
-
switch branch to main/master:

-
ros2 run micro_ros_setup create_firmware_ws.sh android generic -
ros2 run micro_ros_setup build_firmware.sh
Expected behavior
Actual behavior
build failed:
/home/eldk/ws/microros/android/firmware/mcu_ws/uros/rcl/rcl/src/rcl/graph.c:106: error: undefined reference to 'rmw_get_publisher_names_and_types_by_node'
/home/eldk/ws/microros/android/firmware/mcu_ws/uros/rcl/rcl/src/rcl/graph.c:148: error: undefined reference to 'rmw_get_subscriber_names_and_types_by_node'
/home/eldk/ws/microros/android/firmware/mcu_ws/uros/rcl/rcl/src/rcl/graph.c:189: error: undefined reference to 'rmw_get_service_names_and_types_by_node'
/home/eldk/ws/microros/android/firmware/mcu_ws/uros/rcl/rcl/src/rcl/graph.c:229: error: undefined reference to 'rmw_get_client_names_and_types_by_node'
/home/eldk/ws/microros/android/firmware/mcu_ws/uros/rcl/rcl/src/rcl/graph.c:257: error: undefined reference to 'rmw_get_topic_names_and_types'
/home/eldk/ws/microros/android/firmware/mcu_ws/uros/rcl/rcl/src/rcl/graph.c:283: error: undefined reference to 'rmw_get_service_names_and_types'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [CMakeFiles/rcl.dir/build.make:510:librcl.so] 错误 1
Additional information
Similar issue has been mentioned before:issues:548
- Dominant language
- Shell
- Stars
- 509
- Forks
- 183
- Avg merge
- 22h 26m
- Merged PRs (30d)
- 7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from micro-ROS/micro_ros_setup
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
micro-ROS/micro_ros_setup#814 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
micro-ROS/micro_ros_setup#809 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
micro-ROS/micro_ros_setup#808 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
micro-ROS/micro_ros_setup#806 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
micro-ROS/micro_ros_setup#803 ·
All issues in micro-ROS/micro_ros_setup
Similar issues
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
area: compat bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
zenhub-dev
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenLiberty/ci.docker#747 ·