【问题标题】:Compilation error - Makefile logs编译错误 - Makefile 日志
【发布时间】:2010-11-09 12:36:36
【问题描述】:

我正在执行命令 make -dwp all 来编译 C++ S/W。 在日志中,我面临以下错误消息:

编辑:前几行

         Finished prerequisites of target file `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.rpc'.
         Prerequisite `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.hex1' is newer than target `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.rpc'.
         Prerequisite `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.hex2' is newer than target `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.rpc'.
         Prerequisite `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/program.def' is newer than target `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.rpc'.
         Prerequisite `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.abs.map' is newer than target `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.rpc'.
         Prerequisite `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/dbgsym.blk' is newer than target `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.rpc'.
        Must remake target `/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.rpc'.
Creating DLPRAER.rpc
Got a SIGCHLD; 2 unreaped children.
Putting child 0x00094800 (/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.rpc) PID 4672 on the chain.
Live child 0x00094800 (/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.rpc) PID 4672 
Reaping winning child 0x00094800 PID 4672 
/export/home/bcmsa/nba//tools/RPG3_toolbox_r4a/bin/obsrec -v -p -K -c 0x10000034 -d 0x40000000 -b 0xa0000000 -q -u30 -y20 -V program.def DLPRAER.hex1 DLPRAER.hex2 DLPRAER DLPRAER
Live child 0x00094800 (/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.rpc) PID 4673 
rpgformx -p -c 0x10000034 -d 0x40000000 -b 0xa0000000 -o DLPRAER.chk DLPRAER.hex1 DLPRAER.hex2 program.def 

Error: Size of sections changed between files
ERROR : Couldn't run rpgform
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x00094800 PID 4673 
make: *** [/export/home/bcmsa/nba/DLPRTER_CAA/bin/RPG3/default/DLPRAER.rpc] Error 1
Removing child 0x00094800 PID 4673  from chain.

我很抱歉这个问题,但我仍在学习调试 makefile。 谁能给出问题的线索?

如果需要更多信息,请发表评论,然后我将编辑问题。

【问题讨论】:

  • 检查 DLPRAER.rpc。它是一个 rpc,看看是否还有其他进程也在使用它的可依赖项?在你的 Makefile 中加入 come echo 语句。不是一个好主意,但可能会有所启发。
  • 如何检查是否有其他进程正在使用它的依赖项?

标签: c++ makefile compilation


【解决方案1】:

看起来不像是makefile的问题,它看起来像是makefile运行的工具之一的问题。你知道 rpgform 正在(应该是)做什么吗?

【讨论】:

  • 不幸的是,我不知道 rpgform 应该做什么,但我正在寻找有关它的更多信息。一旦我得到更多信息,我会发布它。
【解决方案2】:

我执行了命令make clean,然后我再次尝试make -dwp,到目前为止没有错误消息。

问题是 DLPRAER.rpc

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-06
    • 1970-01-01
    • 2015-04-15
    • 2013-03-17
    • 2011-05-29
    相关资源
    最近更新 更多