关于在redhat中将gcc升级到4.9的一些问题

关于在redhat中将gcc升级到4.9的一些问题,gcc,Gcc,我想安装GCC4.9来安装caffe,它用于RedhatLinux中的深度学习。当我运行./configure时,它会报告 configure: error: C compiler cannot create executables. 然后我检查configure.log,它会报告 /usr/lib/x86_64-redhat-linux5E/lib64/../lib64/crt1.o: In function `_start': (.text+0x12): undefined referen

我想安装GCC4.9来安装caffe,它用于RedhatLinux中的深度学习。当我运行./configure时,它会报告

configure: error: C compiler cannot create executables.
然后我检查configure.log,它会报告

/usr/lib/x86_64-redhat-linux5E/lib64/../lib64/crt1.o: In function `_start':
(.text+0x12): undefined reference to `__libc_csu_fini'
/usr/lib/x86_64-redhat-linux5E/lib64/../lib64/crt1.o: In function `_start':
(.text+0x19): undefined reference to `__libc_csu_init'

如何解决此问题。我很难解决此问题。

我怀疑您没有正确安装glibc的所有必要部分,您可能需要安装glibc-devel或rhel5的等效版本,但您还应该阅读我需要安装glibc-devel的版本,我试过了,但无论RH subscription服务提供哪种版本的rpm,通过yum或您使用的任何其他方法,它都再次失败。由于机器未连接到intenetNotice,因此yum无法工作。请注意,我说过的,或者您使用的任何其他方法。查找最新的RPM并安装它们。