QT-E编译错误.obj/release-shared-emb-arm/qscriptcontext_p.o和sub-script-make_default-ordered解决方法

错误如下提示:

Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:20764: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:20825: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:20826: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:20888: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21068: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21069: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21157: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21158: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21229: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21364: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21379: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21486: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21499: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
make[1]: *** [.obj/release-shared-emb-arm/qscriptcontext_p.o] Error 1
make[1]: Leaving directory `/home/gfpeak/qt4.5.3/qt-embedded-linux-opensource-src-4.5.3-arm/src/script'
make: *** [sub-script-make_default-ordered] Error 2

 

错误原因是交叉编译器的原因,把交叉编译器换成arm-linux-gcc3.4.1,一切OK!

你可能感兴趣的:(report,url,input,UP,编译器)