今天在编译linux内核时发生错误:inlining failed in call to always_inline ‘find_flite_format’: function body not available
中文:调用always\u inline“find\u flite\u format”时内联失败:函数体不可用
就是在将find_flite_format内联时发生错误,那么如果不将函数内联行不行,我来试一试
完整错误提示:drivers/media/video/fimc-lite/fimc-lite-core.h:159:32: error: inlining failed in call to always_inline ‘find_flite_format’: function body not available
函数定义在drivers/media/video/fimc-lite/fimc-lite-core.h声明,fimc-lite-core.c文件中定义,在两个文件中都删去函数头的inline,再进行编译,成功!
inlining failed in call to always_inline ‘find_flite_format’: function body not available
最新推荐文章于 2023-06-24 00:46:55 发布