I think that coreset.o was compiled for 64-bit, and you are linking it with a 32-bit computation.o.
You can try to recompile computation.c with the '-m64' flag of gcc(1)
本文介绍了一种常见的编译错误——尝试将64位的库文件与32位的目标文件进行链接的问题,并提供了解决方案:通过使用'-m64'标志重新编译32位的源文件来确保两者之间的兼容性。
I think that coreset.o was compiled for 64-bit, and you are linking it with a 32-bit computation.o.
You can try to recompile computation.c with the '-m64' flag of gcc(1)
转载于:https://my.oschina.net/activehealth/blog/686067
2116
4464

被折叠的 条评论
为什么被折叠?