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

安装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
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 用hfss做微带贴片阵列天线的时候分析设置有问题
  • ¥50 我撰写的python爬虫爬不了 要爬的网址有反爬机制
  • ¥15 Centos / PETSc / PETGEM
  • ¥15 centos7.9 IPv6端口telnet和端口监控问题
  • ¥120 计算机网络的新校区组网设计
  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作
  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
  • ¥20 海浪数据 南海地区海况数据,波浪数据
  • ¥20 软件测试决策法疑问求解答
  • ¥15 win11 23H2删除推荐的项目,支持注册表等