|
|
小弟按照斑竹老大的《手把手教你如何建立自己的Linux系统(LFS速成手册) 》做,做到
Glibc-2.3.4
代码:
tar xvf /lfs-sources/glibc-2.3.4.tar.bz2
cd glibc-2.3.4
patch -Np1 -i /lfs-sources/glibc-2.3.4-fix_test-1.patch
mkdir -v ../glibc-build
cd ../glibc-build
../glibc-2.3.4/configure --prefix=/tools \
--disable-profile --enable-add-ons \
--enable-kernel=2.6.0 --with-binutils=/tools/bin \
--without-gd --with-headers=/tools/include \
--without-selinux
make
mkdir -v /tools/etc
touch /tools/etc/ld.so.conf
make install
make localedata/install-locales
cd ..
rm -rf glibc-build
rm -rf glibc-2.3.4
make install这一步的时候出错,错误信息为:
make[2]:*** No rule to make target '../posix/bit/posix1_lim.x',needed by'/mnt/lfs/sources/glibc-build/nptl/unregister-atfork.os'. Stop
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4/nptl'
make[1]: *** [nptl/subdir_install] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4'
make: *** [install] Error 2
搜了一下论坛,有过兄弟出现了同样的错误,但没明确解决的方法,望各位老大帮忙解决,万分感激,在线等ing |
|