ERROR : arm-linux-ld:u-boot.lds:1: ignoring invalid character `#' in expression
2017-06-19 13:49
1691 查看
今天在调试rk3288的 uboot的
./include/configs/rk_default_config.h文件
我的本意是屏蔽掉uboot 的lcd驱动,然后我习惯用“//”用单行注释双斜杠注释了一个宏定义比如
//#define CONFIG_LCD
编译后提示错误
arm-linux-ld:u-boot.lds:1: ignoring invalid character
`#'
in expression
arm-linux-ld:u-boot.lds:1: syntax error
通过参考网上信息
得出解决办法
//#define CONFIG_LCD这样更换为
/* #define CONFIG_LCD */
或者
#if0
#define CONFIG_CMD_NAND
#endif
两种方法都是可以的。
./include/configs/rk_default_config.h文件
我的本意是屏蔽掉uboot 的lcd驱动,然后我习惯用“//”用单行注释双斜杠注释了一个宏定义比如
//#define CONFIG_LCD
编译后提示错误
arm-linux-ld:u-boot.lds:1: ignoring invalid character
`#'
in expression
arm-linux-ld:u-boot.lds:1: syntax error
通过参考网上信息
得出解决办法
//#define CONFIG_LCD这样更换为
/* #define CONFIG_LCD */
或者
#if0
#define CONFIG_CMD_NAND
#endif
两种方法都是可以的。
相关文章推荐
- ERROR : arm-linux-ld:u-boot.lds:1: ignoring invalid character `#' in expression
- ERROR : arm-linux-ld:u-boot.lds:1: ignoring invalid character `#' in expression
- ERROR : arm-linux-ld:u-boot.lds:1: ignoring invalid character `#' in expression
- U-boot编译出错(软浮点编译错误arm-linux-ld: ERROR)
- arm-linux-ld: error: Source object has EABI version 5, but target u-boot has EABI version 0
- u-boot移植报错:arm-linux-ld:u-boot.lds:19: syntax error
- 编译基于arm平台的内核,出现error: invalid option `abi=aapcs-linux'
- 异常之交叉编译---arm-vfp-linux-gnu/bin/ld: cgic.o: Relocations in generic ELF (EM: 3)
- Uncaught ReferenceError: Invalid left-hand side expression in postfix operation
- 编译基于arm平台的内核,出现error: invalid option `abi=aapcs-linux'
- ncaught ReferenceError: Invalid left-hand side expression in prefix operation
- arm-none-linux-gnueabi-ld: libgcc.a(_udivdi3.o) has EABI version 5, but target u-boot has EABI versi
- 【嵌入式Linux学习七步曲之第二篇 ARM+Linux开发环境】详解gdb+gdbserver运行问题./gdbserver: error in loading shared libraries
- Oracle Invalid character ' ' in value part of property error
- GCC arm elf老版本编译的问题:read-rtl.c:662: error: invalid lvalue in increment
- error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
- Uncaught ReferenceError: Invalid left-hand side expression in postfix operation(…)
- Error:No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi
- arm-linux-ld: ERROR: Source object init.o has EABI version 0, but target lcd_elf has EABI version 5
- arm-linux-ld命令 ld链接脚本(不错,推荐可以学习一些lds链接脚本文件)