LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: HopeCao

开始安装LFS!

[复制链接]
 楼主| 发表于 2002-12-17 12:36:45 | 显示全部楼层
Sorry,又是文档没有瞧仔细,只见到这一句:“我们不是要在这里编译一个新内核”,就开始了!
发表于 2002-12-17 12:38:45 | 显示全部楼层
路径对吗?
pwd试试
 楼主| 发表于 2002-12-17 12:53:42 | 显示全部楼层
你必须先打补丁,才能安装这个包。确认在运行下面的命令前,补丁已经解压了。

在安装glibc前,你必须在glibc-2.2.5 目录而不是/usr/src下将glibc-linuxthreads解包。patch -Np1 -i ../glibc-2.2.5-2.patch &&
touch /etc/ld.so.conf &&
mkdir ../glibc-build &&
cd ../glibc-build &&
../glibc-2.2.5/configure --prefix=/usr --disable-profile \
    --enable-add-ons --libexecdir=/usr/bin &&
echo "cross-compiling = no" > configparms &&
make &&
make install &&
make localedata/install-locales &&
exec /static/bin/bash --login

是先patch还是先tar开glibc-linuxthreads?
发表于 2002-12-17 12:56:02 | 显示全部楼层
解压先
 楼主| 发表于 2002-12-17 13:01:54 | 显示全部楼层
问题来了!

<ibc-2.2.5# tar xvf ../glibc-linuxthreads-2.2.5.tar
......................................
patch -Np1 -i ../glibc-2.2.5-2.patch &&                       
> touch /etc/ld.so.conf &&
> mkdir ../glibc-build &&
> cd ../glibc-build &&
> ../glibc-2.2.5/configure --prefix=/usr --disable-profile \
>     --enable-add-ons --libexecdir=/usr/bin &&
> echo "cross-compiling = no" > configparms &&
> make &&
> make install &&
> make localedata/install-locales &&
> exec /static/bin/bash --login
................................................

checking whether we need to use -P to assemble .S files... yes
checking whether .text pseudo-op must be used... no
checking for assembler global-symbol directive... UNKNOWN
configure: error: cannot determine asm global directive
 楼主| 发表于 2002-12-17 13:02:32 | 显示全部楼层
是不是我内核那一步没有搞好?
发表于 2002-12-17 13:46:41 | 显示全部楼层
可能是Binutils-2.13的问题
发表于 2002-12-17 13:49:30 | 显示全部楼层
是不是内核的头文件没弄好啊??
安装了么??
 楼主| 发表于 2002-12-17 14:11:29 | 显示全部楼层
我都做了啊!
我想重新来一次,你们觉得怎么样?
发表于 2002-12-17 16:49:36 | 显示全部楼层
你先把Binutils-2.13重装一遍再说。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表