初步在网上搜索,建议安装build-essential
在安装时,报错了:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.0) but it is not going to be installed
尝试安装libc6-dev , g++
libc6-dev: Depends: libc6 (= 2.3.6-0ubuntu20.4) but 2.4-1ubuntu12 is to be installed
g++: Depends: g++-4.0 (>= 4.0.3) but it is not going to be installed
没辙了
我的系统是:Linux ubuntu 2.6.17-10-server #2 SMP Fri Oct 13 18:47:26 UTC 2006 i686 GNU/Linux
希望有好的建议,谢谢
[问题]编译时 error: C compiler cannot create executables
-
- 帖子: 12
- 注册时间: 2007-02-16 11:10
-
- 帖子: 20
- 注册时间: 2007-02-09 0:14