+ -
当前位置:首页 → 问答吧 → relocatiion truncation to fit

relocatiion truncation to fit

时间:2010-07-17

来源:互联网

链接时遇到以下错误:

===============================================
lib_test.a(test.o):test.o.text + 0x20) : relocatiion truncation to fit : 16 against '.text'

......

lib_test.a(test.o):abc.o.text + 0x32) : additional relocatiion overflows omitted from the output

make in /path : Exit code 1
===============================================

这到底出了什么问题?


注:

1)test.asm 是16位汇编代码

2)test.asm编译时是没问题的(它是编译到静态链接库里的),但当它和别的程序链接时(即将已编有test.asm的lib_test.a 和别的程序链接时)就报以上错误。

作者: sherf   发布时间: 2010-07-17

回复 sherf

先顶一下

作者: sherf   发布时间: 2010-07-17