【问题标题】:Error when building Process Control Daemon (PCD)构建过程控制守护进程 (PCD) 时出错
【发布时间】:2014-05-08 03:03:31
【问题描述】:

我在构建 PCD 时遇到此编译错误。好像有一个未声明的变量(PCD最新版本,1.1.6)

/pcd-1.1.6/pcd/src/process.c:506:34:错误:“PRIO_PROCESS”未声明 (在这个函数中第一次使用) setpriority(PRIO_PROCESS, 0, rule->sched.niceSched);

这是一个已知问题吗?

【问题讨论】:

    标签: c++ process kernel arm


    【解决方案1】:

    我加了

    #include <sys/resource.h>  
    

    到 process.c,它现在可以工作了。

    【讨论】:

      猜你喜欢
      • 2016-03-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-15
      • 1970-01-01
      • 2012-09-03
      • 2015-03-27
      • 1970-01-01
      相关资源
      最近更新 更多