"checking for C compiler default output file name... configure: error: C compiler cannot create executables"
Reasons: miss some packages for gcc
Solutions: $ apt-get install libc6-dev g++ gcc
My platform is Debian. Same to Redhat similar platforms. "installing the kernel-headers and glibc-devel packages with the Red Hat Package Manager"
Reasons: miss some packages for gcc
Solutions: $ apt-get install libc6-dev g++ gcc
My platform is Debian. Same to Redhat similar platforms. "installing the kernel-headers and glibc-devel packages with the Red Hat Package Manager"
本文介绍了如何解决在使用GCC编译器时遇到的configure:error:Ccompilercannotcreateexecutables错误。主要原因是缺少必要的软件包。针对此问题,文章提供了具体的解决方案,包括安装libc6-dev、g++和gcc等依赖包。
858

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



