/usr/bin/ld: reader.o: Relocations in generic ELF (EM: 62)

简介: /usr/bin/ld: reader.o: Relocations in generic ELF (EM: 62)

同事要求吾在龙架构上编译一个东西,然后就出现了这个错误。当时就有点暴躁,这可如何是好?

  上网一搜索,看到某博文:原来的.o文件是X86_64的,汝在龙架构上编译,不出错才怪。

  怎么办呢?一个办法是执行make clean,或者把所有的.o删除。

目录
相关文章
|
10月前
|
C语言
gcc静态编译/usr/bin/ld: cannot find -lc
gcc静态编译/usr/bin/ld: cannot find -lc
|
Android开发
【错误记录】NDK 动态库报错 ( dlopen failed: file offset for the library /lib/arm64/libwebp.so“ >= file size:0)
【错误记录】NDK 动态库报错 ( dlopen failed: file offset for the library /lib/arm64/libwebp.so“ >= file size:0)
438 0
【错误记录】NDK 动态库报错 ( dlopen failed: file offset for the library /lib/arm64/libwebp.so“ >= file size:0)
|
Python
ld: library not found for -lssl
ld: library not found for -lssl
74 0
Can‘t exec “autopoint“: 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
Can‘t exec “autopoint“: 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
446 0
Can‘t exec “aclocal“: 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
Can‘t exec “aclocal“: 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
319 0
未解决:lrelease: could not exec ‘/usr/lib/qt5/bin/lrelease‘: No such file or directory
未解决:lrelease: could not exec ‘/usr/lib/qt5/bin/lrelease‘: No such file or directory
226 0