micro-ROS / micro-ROS/micro_ros_setup

micro_ros_setup build `android generic` falied

未关闭
#551 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Shell
星标
509
派生
183
平均合并
22 小时 26 分钟
30 天内合并 PR
7

描述

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
  1. switch branch to main/master:
    image

  2. ros2 run micro_ros_setup create_firmware_ws.sh android generic

  3. 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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先运行 ros2 run micro_ros_setup create_firmware_ws.sh android generic,然后运行 ros2 run micro_ros_setup build_firmware.sh。检查 uros/rcl/rcl/src/rcl/graph.c 中的未定义引用,并与相关 issue 548 进行比较;当 Android generic 固件构建在没有链接器错误的情况下完成时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, shell
领域
build-system, embedded-iot
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。