![]() |
|
||||||||||||||
| | 首页 | 新闻 | 文库 | 方案 | 技术 | 独家 | 座谈 | 下载 | 图库 | 开发板 | 仿真器 | 邮购 | VIP | 芯片 | 客户评价 | 论坛 | | ||
|
||
|
|||||
| uclinux-2008R1-RC8(bf561)到VDSP5的移植(62): Failed to open '#include' file 'bf561.h' | |||||
作者:快乐虾 文章来源:http://blog.csdn.net/lights_joy 点击数: 更新时间:2008-7-22 ![]() |
|||||
|
在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中包含则没有问题。 |
|||||
| 文章录入:admin 责任编辑:admin | |||||
| 【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 | |||||
| 网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!) |
| | 本站介绍 | 合作联络 | 欢迎投稿 | 广告业务 | 网站地图 | 设为首页 | 加入收藏 | 友情链接 | 网站公告 | 联系我们 | | |||
|