uclinux-2008R1-RC8(bf561)到VDSP5的移植(62):Failed to open '#include' file 'bf561.h'
在include/asm/mach/blackfin.h文件中,有這樣的語句:
#include "bf561.h"
#include "mem_map.h"
#include "defBF561.h"
#include "anomaly.h"
當在asm文件中包含這個頭文件時,將引起以下錯誤:
[Error pp0051] "../../include/asm/mach/blackfin.h":36 Failed to open '#include' file 'bf561.h'
[Error pp0051] "../../include/asm/mach/blackfin.h":37 Failed to open '#include' file 'mem_map.h'
[Error pp0051] "../../include/asm/mach/blackfin.h":39 Failed to open '#include' file 'anomaly.h'
Preprocessor finished with 3 error(s) 0 warning(s)
[Error ea1088] Previous errors in pre-processing prevent assembly.
實際上,錯誤提示的這三個文件都和blackfin.h放在同一個目錄下,出錯的原因是VDSP的匯編器不識別用雙引號指定的包含文件,因而需要將之修改為:
#include <asm/mach/bf561.h>
#include <asm/mach/mem_map.h>
#include "defBF561.h"
#include <asm/mach/anomaly.h>
這個文件在C中包含則沒有問題。
uclinux-2008R1-RC8(bf561)到VDSP5的移植(60):current_text_addr
uclinux-2008R1-RC8(bf561)到VDSP5的移植(58)
uclinux-2008R1-RC8(bf561)到VDSP5的移植(57)
uclinux-2008R1-RC8(bf561)到VDSP5的移植(56):__grab_cache_page
uclinux-2008R1-RC8(bf561)到VDSP5的移植(46):raw_rwlock_t
uclinux-2008R1-RC8(bf561)到VDSP5的移植(45):__delay