【发布时间】: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