# 故障排除

Source: [https://docs.qualcomm.com/doc/80-70015-265Y/topic/troubleshooting_8.html](https://docs.qualcomm.com/doc/80-70015-265Y/topic/troubleshooting_8.html)

有关编译和使用 QIRP SDK 的常见问题的解决方案。

注释： 关于同步、编译和刷写的常见问题，参见 [Qualcomm® Linux 编译指南](https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-254)的[故障排除主题](https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-254/troubleshoot_sync_build_and_flash.html)。

## Recipe: do\_compile error

**现象**

使用 GitHub 工作流程编译 QIRP SDK 时，会弹出 "recipe: do\_compile error"。

**示例错误**

    (<workspace>/build-qcom-robotics-ros2-humble/conf/../../layers/meta-qcom-hwe/recipes-connectivity/fluoride/fluoride_git.bb:do_compile) failed with exit code '1'Copy to clipboard

**分辨率**

尝试使用以下命令重新编译出现编译错误的 recipe：

注释： Recipe 名称是从 `.bb` 文件名的开头到第一个下划线之前的字符。例如：
对于 `fluoride_git.bb`，recipe 名称是 `fluoride`。

    bitbake fluoride -c cleanall 
    bitbake fluorideCopy to clipboard

Last Published: Dec 05, 2024

[Previous Topic
升级 Qualcomm AI Engine Direct SDK (QNN)](https://docs.qualcomm.com/bundle/publicresource/80-70015-265Y/topics/upgrade-the-qnn-sdk.md) [Next Topic
附录](https://docs.qualcomm.com/bundle/publicresource/80-70015-265Y/topics/references_a.md)