./arch/arm/include/asm/barriers.h:33:24: error: operator '>=' has no left operand
来源:互联网 发布:刷yy币软件 编辑:程序博客网 时间:2024/05/29 02:47
U-boot-2016.09移植到FS2416 Board(s3c2416 MPU)出错解决办法
问题Q:
CC lib/asm-offsets.sIn file included from ./arch/arm/include/asm/system.h:6:0, from ./arch/arm/include/asm/cache.h:12, from include/net.h:19, from include/common.h:910, from lib/asm-offsets.c:15:./arch/arm/include/asm/barriers.h:33:24: error: operator '>=' has no left operand #if __LINUX_ARM_ARCH__ >= 7 ^./arch/arm/include/asm/barriers.h:37:26: error: operator '==' has no left operand #elif __LINUX_ARM_ARCH__ == 6 ^Kbuild:43: recipe for target 'lib/asm-offsets.s' failedmake[1]: *** [lib/asm-offsets.s] Error 1Makefile:1277: recipe for target 'prepare0' failedmake: *** [prepare0] Error 2
解决方法A:
上面这个问题的产生是由于没有指定你所使用的CPU的平台,也就是没有CONFIG_SYS_CPU=xxxx,而这个宏的定义在arch/arm/Kconfig 中config TARGET_SMDK2410 bool "Support smdk2410" select CPU_ARM920Tconfig TARGET_FS2416 bool "Support fs2416"因为在bool "Support fs2416"后面忘记添加了select CPU_ARM926EJS这句话,所以造成了上面的这个问题写成这样,就解决了问题config TARGET_SMDK2410 bool "Support smdk2410" select CPU_ARM920Tconfig TARGET_FS2416 bool "Support fs2416" select CPU_ARM926EJS
0 0
- ./arch/arm/include/asm/barriers.h:33:24: error: operator '>=' has no left operand
- arch/arm/include/asm/io.h
- Linux/arch/arm/include/asm/unistd.h
- Error :asm/arch/davinci_vdce.h : no such file or directory
- error C2678: binary '>>' : no operator found which takes a left-hand operand of type 'std::
- error: ‘asm’ operand has impossible constraints
- arch/alpha/include/asm/posix_types.h
- 关于make zImage时出现include/asm/timex.h:15:28: asm/arch/timex.h: No such file or directory
- error: asm/arch/regs-gpio.h: No such file or directory 此类问题的解决办法
- error: asm/arch/regs-gpio.h: No such file or directory 此类问题的解决办法
- error: asm/arch/regs-gpio.h: No such file or directory 此类问题的解决办法
- ‘asm’ operand has impossible constraints
- /program files/microsoft visual studio/vc98/include/crtdbg.h(536) : error C2833: 'operator DEBUG_NEW ' is no
- asm/arch/regs-lcd.h: No such file or directory
- ln: 正在创建连至‘arch-s3c2410’的符号链接‘include/asm-arm/arch’: 不允许的操作make: *** [include/asm-arm/.arch] 错误 1
- error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::wstring'
- error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string'
- error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string'
- 打造史上最简单的广告轮播图Banner
- 光束平差(Bundle Adjustment)算法
- Lowest Common Ancestor of a Binary Tree
- 在Eclipse中显示.project, .classpath, .gitignore文件和.setting文件夹
- 线性表之单链表的c++实现
- ./arch/arm/include/asm/barriers.h:33:24: error: operator '>=' has no left operand
- 0005-每日一记(2016-09-25)
- 科普小知识——音频编码
- html常用标签
- 表白(love)
- 1、WebService介绍
- Java设计模式--抽象工厂
- 新 第十七章 实现DVD迷你管理
- OpenAI 首个研究成果 生成式模型系列