快乐虾http://blog.csdn.net/lights_joy/lights@hb165.com本文适用于ADI bf561 DSP优视BF561EVB开发板uclinux-2008r1.5-rc3Visual DSP++ 5.0(update 5)欢迎转载,但请保留作者信息在head.s中有这样一行trace_buffer_init(p0,r0);中vdsp中编译出错:[Error ea5004] "../../arch/blackfin/mach-bf561/head.S":105 Syntax Error in :;syntax error is at or near text ';'.Attempting error recovery by ignoring text until the ';'查trace_buffer_init的定义,在include/asm/trace.h中#define trace_buffer_init(preg, dreg) /preg.L = LO(TBUFCTL);/preg.H = HI(TBUFCTL);/dreg = BFIN_TRACE_INIT;/[preg] = dreg;看着没什么问题,原来在trace_buffer_init(p0,r0);这行的末尾多了个分号!去了它,搞定。