2014-10-17 168 views
1

我想創建一個bootloader/bootrom使用VxWorks 6.9中包含的pcpentium/pcpentium4 BSP。vxworks 6.9 pcpentium pcpentium4引導程序生成錯誤

我開始在workbench中使用帶有GNU編譯器的pcpentium/pcpentium4 BSP構建一個未壓縮的ELF映像,我可以使用這個映像在通用的基於Intel處理器的PC上進行安裝。

當我嘗試構建它時,出現下面的錯誤抱怨VX_COPROCS_ALL_TASK未聲明,但是我無法找到定義的位置。有沒有其他人有這個問題,你是如何解決它?

In file included from C:/WindRiver/vxworks-6.9/target/src/config/usrWdb.c:193, from C:/WindRiver/vxworks-6.9/target/src/config/usrExtra.c:630, from C:/WindRiver/vxworks-6.9/target/config/all/usrConfig.c:612: C:/WindRiver/vxworks-6.9/target/config/comps/src/usrWdbSys.c: In function 'wdbSp': C:/WindRiver/vxworks-6.9/target/config/comps/src/usrWdbSys.c:116: error: 'VX_COPROCS_ALL_TASK' undeclared (first use in this function)

回答

0

在WIND_BASE \目標\^h \弓\ PPC \ coprocPpc.h你應該具備以下條件:

/* 
modification history 
-------------------- 
01c,15may12,jmp CQID: Fix WIND00309977 : Added VX_COPROCS_ALL_TASK 
        definition. 

[...] 

#define VX_COPROCS_ALL_TASK VX_FP_TASK | VX_ALTIVEC_TASK | VX_SPE_TASK 

嘗試更新到最新的補丁(6.9.4.2我相信在寫作時)。