Chinaunix首页 | 论坛 | 博客
  • 博客访问: 527375
  • 博文数量: 1345
  • 博客积分: 3000
  • 博客等级: 中校
  • 技术积分: 14830
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-14 20:32
文章分类

全部博文(1345)

文章存档

2010年(1345)

我的朋友

分类:

2010-10-12 08:41:06

  在include/asm/mach/blackfin.h文件中,有这样的语句: #include "bf561.h" #include "mem_map.h" #include "defbf561.h" #include "anomaly.h"   当在asm文件中包含这个头文件时,将引起以下错误: [error pp0051"> "....includeasm/mach/blackfin.h":36 failed to open '#include' file 'bf561.h' [error pp0051"> "....includeasm/mach/blackfin.h":37 failed to open '#include' file 'mem_map.h' [error pp0051"> "....includeasm/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 #include #include "defbf561.h" #include   这个文件在c中包含则没有问题。 如果喜欢uclinux-2008r1-rc8(bf561)到vdsp5的移植(62): failed to open '#include' file 'bf561.h'请收藏或告诉您的好朋友.
阅读(107) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~