• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号
您的位置:首页 > 程序设计 >嵌入式开发 > u-boot编译出错

u-boot编译出错

作者:佚名 字体:[增加 减小] 来源:互联网 时间:2017-06-05

佚名通过本文主要向大家介绍了编译出错,pr编译影片时出错,java编译出错,arduino编译出错,编译影片时出错等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: u-boot编译出错
描述:

ubootu-bootarm

u-boot-2010.06编译时只要在include/configs/下在任何一个开发板的配置头文件中加入#include <ovideo_fb.h> 然后编译就报错:
.../u-boot-2010.06/include/video_fb.h: Assembler messages:
.../u-boot-2010.06/include/video_fb.h:54: Error: bad instruction `typedef struct {'
.../u-boot-2010.06/include/video_fb.h:55: Error: bad instruction `unsigned int isaBase'
.../u-boot-2010.06/include/video_fb.h:56: Error: bad instruction `unsigned int pciBase'
.../u-boot-2010.06/include/video_fb.h:57: Error: bad instruction `unsigned int dprBase'
.../u-boot-2010.06/include/video_fb.h:58: Error: bad instruction `unsigned int vprBase'
.../u-boot-2010.06/include/video_fb.h:59: Error: bad instruction `unsigned int cprBase'
.../u-boot-2010.06/include/video_fb.h:60: Error: bad instruction `unsigned int frameAdrs'
.../u-boot-2010.06/include/video_fb.h:61: Error: bad instruction `unsigned int memSize'
.../u-boot-2010.06/include/video_fb.h:62: Error: bad instruction `unsigned int mode'
.../u-boot-2010.06/include/video_fb.h:63: Error: bad instruction `unsigned int gdfIndex'
.../u-boot-2010.06/include/video_fb.h:64: Error: bad instruction `unsigned int gdfBytesPP'
.../u-boot-2010.06/include/video_fb.h:65: Error: bad instruction `unsigned int fg'
.../u-boot-2010.06/include/video_fb.h:66: Error: bad instruction `unsigned int bg'
.../u-boot-2010.06/include/video_fb.h:67: Error: bad instruction `unsigned int plnSizeX'
.../u-boot-2010.06/include/video_fb.h:68: Error: bad instruction `unsigned int plnSizeY'
.../u-boot-2010.06/include/video_fb.h:69: Error: bad instruction `unsigned int winSizeX'
.../u-boot-2010.06/include/video_fb.h:70: Error: bad instruction `unsigned int winSizeY'
.../u-boot-2010.06/include/video_fb.h:71: Error: bad instruction `char modeIdent[80]'
.../u-boot-2010.06/include/video_fb.h:72: Error: junk at end of line, first unrecognized character is `}'
.../u-boot-2010.06/include/video_fb.h:79: Error: bad instruction `void *video_hw_init(void)'
.../u-boot-2010.06/include/video_fb.h:104: Error: bad instruction `void video_set_lut('
.../u-boot-2010.06/include/video_fb.h:105: Error: bad instruction `unsigned int index,'
.../u-boot-2010.06/include/video_fb.h:106: Error: bad instruction `unsigned char r,'
.../u-boot-2010.06/include/video_fb.h:107: Error: bad instruction `unsigned char g,'
.../u-boot-2010.06/include/video_fb.h:108: Error: bad instruction `unsigned char b'
.../u-boot-2010.06/include/video_fb.h:109: Error: junk at end of line, first unrecognized character is `)'
make[1]: *** [start.o] Error 1
怎么解决?


解决方案1:

错误的这几行代码也贴一下吧

解决方案2:

很明显你这个是被当做汇编命令处理了,你为啥要在那个文件加?那里面都是宏定义


分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • u-boot编译出错

相关文章

  • 2017-06-05 FPGA的简单问题
  • 2017-06-05 这个AD芯片的输出PIC芯片能不能计算
  • 2017-06-05 S5PV210在WINCE60下能不能做开机快速倒车?像Prima那样!
  • 2017-06-05 那位好心的大侠来救救我啊!我想学习怎样开发嵌入式?
  • 2017-06-05 PADS中同一网络线宽必须保持一致?不一致会有些什么问题?
  • 2017-06-05 ARM板自身的四通道ADC采集的声音波形怎么会这样?
  • 2017-06-05 vxsim模拟器和主机ftp通信问题
  • 2017-06-05 vxworks67加载RTL8139驱动的问题
  • 2017-06-05 OV5640摄像头驱动配置
  • 2017-06-05 DDR2的仿真

文章分类

  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号

最近更新的内容

    • 放分100------求武昌相关方面的兼职!!!
    • 嵌入式操作系统的特点
    • 要看懂《嵌入式设计及Linux驱动开发指南——基于ARM9处理器》至少要有什么基础?
    • 请问:在VXworksRTOS程序设计中,读写外部存贮器方式?
    • 关于SRIO交换机访问的问题
    • STM32F4系列单片机上挂载rt-thread系统,开发USBhost驱动
    • 反汇编软件谁有(motorola)
    • 防火墙项目工作终于干完了!!!,散分庆祝
    • 用51单片机的红外控制步进电机的启停,但是步进电机不能正常停止,请教各位大神原因
    • BlueNRG蓝牙开发,连接自动断开

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有