2010-11-09 69 views
1

我正在執行命令make -dwp all來編譯C++ S/W。 上的日誌,我面臨着以下錯誤信息:編譯錯誤 - Makefile日誌

編輯:先前行

  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文件。 任何人都可以提供一個線索的問題?

如果需要更多信息,請對其進行評論,然後我將編輯該問題。

+0

添加更多的前面的行。 – 2010-11-09 12:38:11

+0

檢查DLPRAER.rpc。這是一個rpc,看看其他進程是否也在使用它的可靠性?在你的Makefile中放入echo語句。不是一個好主意,但可能會拋出一些光。 – DumbCoder 2010-11-09 13:01:00

+0

如何檢查是否有其他程序正在使用其可靠程序? – Johnny 2010-11-09 13:28:20

回答

0

我執行了命令make clean,然後我再次嘗試make -dwp,並且沒有錯誤消息。

問題是DLPRAER.rpc

0

它看起來不像makefile的問題,它看起來像是makefile運行的工具之一的問題。你知道什麼rpgform(應該是)在做什麼?

+0

不幸的是,我不知道rpgform應該做什麼,但我正在尋找更多關於它的信息。只要我有更多的信息,我會發布它。 – Johnny 2010-11-09 12:49:39