快乐虾http://blog.csdn.net/lights_joy/lights@hb165.com本文适用于ADI bf561 DSP优视BF561EVB开发板uclinux-2008r1.5-rc3(smp patch)Visual DSP++ 5.0(update 5)欢迎转载,但请保留作者信息若您对本文有兴趣,欢迎到http://www.bfin-tools.org/bbs/viewthread.php?tid=19&extra=进行讨论。有一个错误:----------------Configuration: uclinux - Debug----------------Linking...[Error li1240] "./uclinux.ldf":545 The value assigned to LDF symbol '__text' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'[Error li1240] "./uclinux.ldf":546 The value assigned to LDF symbol '_text' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'[Error li1240] "./uclinux.ldf":547 The value assigned to LDF symbol '__stext' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'[Error li1240] "./uclinux.ldf":558 The value assigned to LDF symbol '___sched_text_start' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'[Error li1240] "./uclinux.ldf":560 The value assigned to LDF symbol '___sched_text_end' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'[Error li1240] "./uclinux.ldf":564 The value assigned to LDF symbol '___lock_text_start' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'[Error li1240] "./uclinux.ldf":566 The value assigned to LDF symbol '___lock_text_end' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'[Error li1240] "./uclinux.ldf":588 The value assigned to LDF symbol '___start_rodata' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'[Error li1240] "./uclinux.ldf":594 The value assigned to LDF symbol '___start___param' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'[Error li1240] "./uclinux.ldf":596 The value assigned to LDF symbol '___stop___param' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'[Error li1240] "./uclinux.ldf":598 The value assigned to LDF symbol '___end_rodata' in the context of processor 'p1' is different from the value assigned in the context of processor 'p0'FATAL ERROR: exception 'class EWin32Exception' ()cc3089: fatal error: Link failed从出错的链接符号看,它们都源于LDF文件中定义的一些公共符号。想查一下li1240,居然在help里面没有,在网上也没搜到相关的资料。ADI到底在搞么事??BS!!!由于这些符号都是用以表示段的起始位置,故此直接将段的绝对地址赋给他们。比如这样的:__text = .;就变成了__text = 0x10000;虽然这种手工方式比较笨,但总算能解决问题,呵呵!