简体   繁体   English

Legato-AF 平台 [找不到相关的 api 文件:'le_mdc.api']

[英]Legato-AF platform [ Can’t find dependent .api file: ‘le_mdc.api’ ]

In Legato-af (legato) environment:在 Legato-af(连奏)环境中:

*Linux Ubuntu 
*Sierra Wireless WP76xx and WP77xx target 
*Legato shell (lsh:wp76stable)

I'm getting the following response:我收到以下回复:

(lsh:wp76stable) error: Can't find dependent.api file: 'le_mdc.api' (lsh:wp76stable) 错误:无法找到 dependent.api 文件:'le_mdc.api'

The same error is in wp77stable profile.同样的错误出现在 wp77stable 配置文件中。

The error "Can't find dependent.api file: 'le_mdc.api'" typically occurs when the Legato build system is unable to find a required API file.当 Legato 构建系统无法找到所需的 API 文件时,通常会出现错误“找不到相关的 api 文件:‘le_mdc.api’”。 This can be caused by a number of issues, such as:这可能是由许多问题引起的,例如:

  1. The API file is not present in the expected location. API 文件不在预期位置。

    Make sure that the API file is located in the correct directory and is spelled correctly.确保 API 文件位于正确的目录中并且拼写正确。

  2. The API file is not included in the build.构建中不包含 API 文件。

    Make sure that the API file is included in the build by adding it to the appropriate component.cdef or app.cdef file.通过将 API 文件添加到相应的 component.cdef 或 app.cdef 文件中,确保将其包含在构建中。

  3. There is a problem with the build system configuration.构建系统配置有问题。

    Make sure that the build system is properly configured and that all required dependencies are specified.确保正确配置构建系统并指定所有必需的依赖项。

  4. API file API 档案

    $LEGATO_ROOT/interfaces/le_data.api

    is referencing正在引用

    $LEGATO_ROOT/interfaces/modemServices/le_mdc.api

    what is the source of the problem.问题的根源是什么。

    What worked for me was a simple copy of le_mdc.api into the same folder with le_data.api对我有用的是将 le_mdc.api 简单复制到与 le_data.api 相同的文件夹中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM