当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : Check for working C compiler: /usr/bin/cc -- broken
帖子发表于 : 2015-07-27 21:03 

注册: 2015-07-26 19:45
帖子: 3
系统: ubuntu
送出感谢: 0 次
接收感谢: 0 次
root@dm800-ThinkPad-T400:/home/dm800/桌面/oscam/oscam-svn/build# cmake ..
-- The C compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/usr/bin/cc" is not able to compile a simple test program.

It fails with the following output:

Change Dir: /home/dm800/桌面/oscam/oscam-svn/build/CMakeFiles/CMakeTmp



Run Build Command:"/usr/bin/make" "cmTryCompileExec1884962165/fast"

/usr/bin/make -f CMakeFiles/cmTryCompileExec1884962165.dir/build.make
CMakeFiles/cmTryCompileExec1884962165.dir/build

make[1]: Entering directory
'/home/dm800/桌面/oscam/oscam-svn/build/CMakeFiles/CMakeTmp'

/usr/bin/cmake -E cmake_progress_report
/home/dm800/桌面/oscam/oscam-svn/build/CMakeFiles/CMakeTmp/CMakeFiles 1

Building C object
CMakeFiles/cmTryCompileExec1884962165.dir/testCCompiler.c.o

/usr/bin/cc -o CMakeFiles/cmTryCompileExec1884962165.dir/testCCompiler.c.o
-c
/home/dm800/桌面/oscam/oscam-svn/build/CMakeFiles/CMakeTmp/testCCompiler.c


Linking C executable cmTryCompileExec1884962165

/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec1884962165.dir/link.txt --verbose=1

/usr/bin/cc CMakeFiles/cmTryCompileExec1884962165.dir/testCCompiler.c.o -o
cmTryCompileExec1884962165 -rdynamic

/usr/bin/ld: cannot find -lgcc_s

collect2: error: ld returned 1 exit status

CMakeFiles/cmTryCompileExec1884962165.dir/build.make:88: recipe for target
'cmTryCompileExec1884962165' failed

make[1]: *** [cmTryCompileExec1884962165] Error 1

make[1]: Leaving directory
'/home/dm800/桌面/oscam/oscam-svn/build/CMakeFiles/CMakeTmp'

Makefile:118: recipe for target 'cmTryCompileExec1884962165/fast' failed

make: *** [cmTryCompileExec1884962165/fast] Error 2





CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (project)


-- Configuring incomplete, errors occurred!
See also "/home/dm800/桌面/oscam/oscam-svn/build/CMakeFiles/CMakeOutput.log".
See also "/home/dm800/桌面/oscam/oscam-svn/build/CMakeFiles/CMakeError.log".


页首
 用户资料  
 
2 楼 
 文章标题 : Re: Check for working C compiler: /usr/bin/cc -- broken
帖子发表于 : 2015-07-29 22:34 
头像

注册: 2008-09-18 13:11
帖子: 2781
送出感谢: 1
接收感谢: 453
你的gcc安装有问题,找不到libgcc_s.so文件


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Google [Bot] 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译