您的位置: OpenADSP社区论坛 -> Blackfin专区 -> 新手上路 -> [求助]LDF的报错
本帖共有1282个阅读者
发表帖子 发表投票 回复主题
[求助]LDF的报错
songsongyu(论坛新手)
songsongyu
头衔:社区公民
帮派:无帮无派
帖数:23
金钱:294
积分:30
注册时间:2011/7/27
楼主信息 | 留言 | Email | 主页 | 编辑 | 管理 | 离线
[求助]LDF的报错

运行时出现以下错误,


[Warning li2060]  The following input section(s) that contain program code
        and/or data have not been placed into the executable for processor 'p0'
        as there are no relevant commands specified in the LDF:

        .\Debug\ale_demo.doj(Buffer)


[Error li1060]  The following symbols are referenced, but not mapped:
        '_input_arr' referenced from .\Debug\ale_demo.doj(program)
        '_out1' referenced from .\Debug\ale_demo.doj(program)
        '_out2' referenced from .\Debug\ale_demo.doj(program)

Linker finished with 1 error and 1 warning
cc3089: fatal error: Link failed
Tool failed with exit/exception code: 1.
Build was unsuccessful.


[Warning] This LDF was generated by the Startup Code/LDF wizard.  Any changes made to the LDF may be lost the next time the LDF is re-generated by the Startup Code/LDF Wizard.

打开LDF文件发现BUFFER前面打了个叉号,请问这是什么问题?


这家伙很懒,什么也没有留下!
等级:论坛新手 参考IP地址:*.*.*.*
2011/12/19 17:20:41
尊贵身份标志
andy(论坛版主)
andy
头衔:社区公民
帮派:无帮无派
帖数:2287
金钱:11132
积分:2263
注册时间:2011/6/8
1信息 | 留言 | Email | 主页 | 编辑 | 管理 | 离线

'_input_arr' referenced from .\Debug\ale_demo.doj(program)
        '_out1' referenced from .\Debug\ale_demo.doj(program)
        '_out2' referenced from .\Debug\ale_demo.doj(program)

这几个buffer没有映射到LDF文件中,你的工程文件应该是个汇编的,可能是VDSP4.5及以前的版本的工程,使用VDSP5.0工程所报的错。你把代码中定义映射空间标识符改成“sdram0_bank1”,或者将section这个声明删掉,然后重新生成LDF文件看看



这家伙很懒,什么也没有留下!
等级:论坛版主 参考IP地址:*.*.*.*
2011/12/23 19:39:37
songsongyu(论坛新手)
songsongyu
头衔:社区公民
帮派:无帮无派
帖数:23
金钱:294
积分:30
注册时间:2011/7/27
2信息 | 留言 | Email | 主页 | 编辑 | 管理 | 离线

好的,感谢,已经解决了



这家伙很懒,什么也没有留下!
等级:论坛新手 参考IP地址:*.*.*.*
2011/12/26 11:22:57
Powered by OpenADSP Copyright © 2010 www.Openadsp.com. All rights reserved.154697 Call, 1 Queries, Processed in 0.015625 second(s),