2

我正在尝试在 ubuntu 上运行 cloud9 应用程序。但是 make 命令给了我错误

llvm[2]: Linking Release+Asserts executable klee (without symbols)
collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped
make[2]: *** [/home/mmalik9/cloud9-cloudsuite/cloud9/Release+Asserts/bin/klee] Error 1
make[2]: Leaving directory `/home/mmalik9/cloud9-cloudsuite/cloud9/tools/klee'
make[1]: *** [klee/.makeall] Error 2
make[1]: Leaving directory `/home/mmalik9/cloud9-cloudsuite/cloud9/tools'
make: *** [all] Error 1

请给出任何想法如何解决这个问题?

来自https://askubuntu.com/questions/441621/cloud9-application-is-giving-error-error-ld-terminated-with-signal-11-segment的 PS 更新

g++ helloworld.cpp -o proj

我收到同样的错误“collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped

4

1 回答 1

2

如果即使对于最简单的程序(如 helloworld)也无法运行 ld,则似乎某些东西(ld 二进制文件或其库)已损坏,无论是在内存中(重新启动会有所帮助),还是在硬盘驱动器上。

您可以重新检查已安装软件包的 md5sums(在基于 rpm 的 linuxes 中 - rpm --verify;在基于 deb 中 -debsumsdpkg --verify- 根据debian bug 187019),或者只是重新安装它们。

memtest您可以测试 RAM 是否存在缺陷(ECC RAM 可以更好地保护您的数据)。借助现代文件系统,具有数据校验和(ZFS、btrfs)和/或 AIDE 等完整性检查器,您可以检测存储在硬盘驱动器上的数据无声损坏。

于 2014-04-01T21:40:09.663 回答