I am getting this error, when I try to build my source code,
当我尝试构建源代码时,我收到此错误,
Is there anyway to resolve this error?
反正有没有解决这个错误?
Relocatable linking with relocations from format elf64-x86-64 (raslog_module.o) to format elf32-i386 (lib.o_shipped) is not supported
1 个解决方案
#1
1
Is there anyway to resolve this error?
反正有没有解决这个错误?
No.
没有。
Your error is the result of trying to link 32-bit and 64-bit objects into a single binary. That simply does not work.
您的错误是尝试将32位和64位对象链接到单个二进制文件的结果。这根本行不通。
You must decide on whether you want to produce a 32-bit, or a 64-bit binary, and compile all your objects one way or the other.
您必须决定是要生成32位还是64位二进制文件,并以这种方式编译所有对象。
#1
1
Is there anyway to resolve this error?
反正有没有解决这个错误?
No.
没有。
Your error is the result of trying to link 32-bit and 64-bit objects into a single binary. That simply does not work.
您的错误是尝试将32位和64位对象链接到单个二进制文件的结果。这根本行不通。
You must decide on whether you want to produce a 32-bit, or a 64-bit binary, and compile all your objects one way or the other.
您必须决定是要生成32位还是64位二进制文件,并以这种方式编译所有对象。