ShadyBoom 2020-06-29 14:44 采纳率: 0%
浏览 348
已结题

安装RTAI过程中配置完内核后编译出错?(关于'ipipe_root_nr_syscalls’)

系统:Fedora29. 安装rtai-5.2。错误提示如下:

In file included from ./include/linux/kernel.h:10,
                 from arch/x86/entry/common.c:10:
arch/x86/entry/common.c: In function ‘syscall_return_slowpath’:
arch/x86/entry/common.c:294:5: error: implicit declaration of function ‘ipipe_root_nr_syscalls’; did you mean ‘ipipe_handle_syscall’? [-Werror=implicit-function-declaration]
     ipipe_root_nr_syscalls(ti)) &&
     ^~~~~~~~~~~~~~~~~~~~~~
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
 # define unlikely(x) __builtin_expect(!!(x), 0)
                                          ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:327: arch/x86/entry/common.o] Error 1
make[1]: *** [scripts/Makefile.build:585: arch/x86/entry] Error 2
make: *** [Makefile:1039: arch/x86] Error 2
make: *** Waiting for unfinished jobs....

根据网上有的提示,说在内核配置里将ipipeline设置成enable,但是在内核配置菜单界面里没有找到ipipeline选项,搜索了只有信息,没有设置项。在kernel/ipipe/Kconfig代码里将default设置成了y,还是一样没有解决。Kconfig部分代码如下:

config IPIPE
    bool "Interrupt pipeline"
    depends on HAVE_IPIPE_SUPPORT
    default y
    ---help---
      Activate this option if you want the interrupt pipeline to be
      compiled in.

请问这个错误该如何解决?谢谢。(如需更多信息请留言)

  • 写回答

3条回答 默认 最新

  • zqbnqsdsmd 2020-08-12 09:36
    关注
    评论

报告相同问题?