编译错误 - Makefile 日志
我正在执行命令 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。 任何人都可以提供问题的线索吗?
如果需要更多信息,请发表评论,然后我将编辑问题。
I'm executing command make -dwp all
to compile a C++ S/W.
On the logs I'm facing the following error message:
EDIT: Preceding lines
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.
I'm sorry for the question, but I'm still learning to debug makefile.
Can anyone give a clue of the problem?
If more information is needed, please comment it, then I'll edit the question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它看起来不像是 makefile 的问题,而是 makefile 运行的工具之一的问题。你知道 rpgform 正在(应该)做什么吗?
It doesn't look like a problem with the makefile, it looks like a problem with one of the tools the makefile runs. Do you know what rpgform is (supposed to be) doing?
我执行了命令
make clean
,然后再次尝试make -dwp
,到目前为止没有错误消息。问题是 DLPRAER.rpc
I executed the command
make clean
and then I tried againmake -dwp
and no errors messages so far.The problem was DLPRAER.rpc