设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
LFS(LinuxfromScratch)
›
郁闷了,第一个包就出问题
返回列表
查看:
900
|
回复:
2
郁闷了,第一个包就出问题
[复制链接]
stellit
stellit
当前离线
积分
28
IP卡
狗仔卡
发表于 2006-3-16 05:53:30
|
显示全部楼层
|
阅读模式
host: Ubuntu Dapper LiveCD
gcc : 4.0.3
在准备编译binutils的时候出现问题了...
[PHP]checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.[/PHP]
[PHP]configure:1937: gcc -o conftest conftest.c 1>&5
/tmp//ccou9876.s: Assembler messages:
/tmp//ccou9876.s:3: Error: unknown pseudo-op: `.section'
configure: failed program was:
#line 1932 "configure"
#include "confdefs.h"
main(){return(0);}[/PHP]
找了一下,这个error在BSD的port也出现了,改如何解决呢?
即使换成了gcc3.4也一样同样的错误提示。
不知道用 gcc 4.0.* + binutils2.16.1的前辈们是怎么解决这个问题呢?一定要降低gcc版本才可以么?
谢谢!
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
晨想
晨想
当前离线
积分
9643
IP卡
狗仔卡
发表于 2006-3-16 08:29:15
|
显示全部楼层
是不是 gcc 本身有问题?
echo 'main(){};' > dummy.c
gcc -v dummy.c
能顺利完成不?结果是?
回复
支持
反对
使用道具
举报
显身卡
stellit
stellit
当前离线
积分
28
IP卡
狗仔卡
楼主
|
发表于 2006-3-17 02:46:06
|
显示全部楼层
problem solved ~ that is my mistake, the live from ubuntu does not include complete toolchain, after apt-get, it works very well
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表