ARM交叉编译器出现如下错误查找Error: internal_relocation (type: OFFSET_IMM) not fixed up
2018-03-30 10:43
1041 查看
错误如下:
book@www.100ask.org:~/workbook/hardware/led_on2$ arm-linux-gcc -c -o led_on2.o led_on2.S
led_on2.S: Assembler messages:
led_on2.S:15: Error: internal_relocation (type: OFFSET_IMM) not fixed up
原因查找:
/*设置邋邋GPF4为低电平输出0,写到地址:0x56000054*/
LDR R1, =0x56000054
LDR R0, =0
//GPFDAT : 0x0000 0000
STR R0, R1
语法错误:STR R0, R1 -》 STR R0, [R1]
汇编程序中包含了对错误变量的定义
book@www.100ask.org:~/workbook/hardware/led_on2$ arm-linux-gcc -c -o led_on2.o led_on2.S
led_on2.S: Assembler messages:
led_on2.S:15: Error: internal_relocation (type: OFFSET_IMM) not fixed up
原因查找:
/*设置邋邋GPF4为低电平输出0,写到地址:0x56000054*/
LDR R1, =0x56000054
LDR R0, =0
//GPFDAT : 0x0000 0000
STR R0, R1
语法错误:STR R0, R1 -》 STR R0, [R1]
汇编程序中包含了对错误变量的定义
相关文章推荐
- ARM交叉编译器出现如下错误的解决办法 Error: internal_relocation (type: OFFSET_IMM) not fixed up
- Python 出现错误TypeError: ‘NoneType’ object is not iterable解决办法
- adb连接时出现如下错误CreateProcess failure, error 2 * could not start server *
- 出现TypeError: 'undefined' is not a function (evaluating '$')错误
- Titanium -- 运行app出现错误: TypeError: argument of type 'NoneType' is not iterable
- adb连接时出现如下错误CreateProcess failure, error 2 * could not start server *
- PyOpenGL出现错误TypeError: 'NoneType' object is not callable
- TypeError: url.indexOf is not a function ,使用jquery load()出现错误
- python3中,socket使用send函数时出现的错误:TypeError: a bytes-like object is required, not 'str'
- Anaconda下import caffe出现错误TypeError: 'module' object is not callable
- 安装SQL Server 200 ,出现错误提示:command line option syntax error,type command/? for help
- Eclipse 软件 Java 解决:出现的editor does not contain a main type错误框 问题
- laydate 日期格式为yyyy 或yyyy-MM时,出现错误Uncaught TypeError: Cannot read property 'length' of undefined
- android eclipse gradle 构建 出现 Could not create plugin of type 'AppPlugin' 等错误
- nginx出现500 Internal Server Error错误的解决办法
- Python 读写文件 中文乱码 错误TypeError: write() argument must be str, not bytes+
- Error : Servname not supported for ai_socktype 错误
- 解决Python字符串处理出现错误UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe4 in position 108: ordinal not in range(128)
- 【已解决】Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level
- 在Eclipse中创建Maven的Web项目时出现错误:An internal error occurred during: "Retrieving archetypes:"