LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1437|回复: 12

安装 GCC-3.2.3 - 第二遍 make出错

[复制链接]
发表于 2004-3-5 21:56:13 | 显示全部楼层 |阅读模式
host os : rh 9      Linux From Scratch: 版本 5.0
first : i release -core, -g++, -testsuite at the same dir $LFS/sourcese/gcc-3.3.1

lfs:/sources/gcc-3.3.1$ expect -c "spawn ls"
spawn ls
lfs:/sources/gcc-3.3.1$ patch -Np1 -i ../gcc-3.3.1-no_fixincludes-2.patch
lfs:/sources/gcc-3.3.1$ patch -Np1 -i ../gcc-3.3.1-specs-2.patch

/*   it well done ,perfectly!    */

lfs:/sources/gcc-3.3.1$mkdir ../gcc-build
lfs:/sources/gcc-3.3.1$cd ../gcc-build
lfs:/sources/gcc-build$../gcc-3.3.1/configure --prefix=/tools \
>    --with-local-prefix=/tools \
>    --enable-clocale=gnu --enable-shared \
>    --enable-threads=posix --enable-__cxa_atexit \
>    --enable-languages=c,c++
.
.
.
/*   it also well done!    */


lfs:/sources/gcc-build$make
.
.
.

make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
make[3]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'

//    make[3]: Nothing to be done for `all-am'.   ???
发表于 2004-3-5 21:59:03 | 显示全部楼层
没有error就没出错啊。
 楼主| 发表于 2004-3-5 22:16:30 | 显示全部楼层
thx
  i have some problem at the begin of ch6, so i think i do something wrong at the second installing gcc-3.3.1
   after the  second installing gcc-3.3.1 ,i always get the  make info
  " Nothing to be done for `all-am'.  "
   can i ........
 楼主| 发表于 2004-3-6 12:01:40 | 显示全部楼层

make binutils-2.14 err

最初由 tram 发表
没有error就没出错啊。


make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/etc'
 楼主| 发表于 2004-3-6 12:17:32 | 显示全部楼层

安装 Binutils-2.14 - 第二遍 err

最初由 axgshr 发表
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/etc'



lfs:/mnt/lfs/sources/binutils-build$ make
.
.
.
.
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... /tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux-gnu/bin/ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
.
.
.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
Configuring in etc
loading cache .././config.cache
checking for a BSD compatible install... (cached) /tools/bin/install -c
creating ./config.status
creating Makefile
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/etc'
 楼主| 发表于 2004-3-6 12:34:39 | 显示全部楼层

gawk-3.1.3 make install " Nothing to be done"

最初由 tram 发表
没有error就没出错啊。


make check pass!

lfs:/mnt/lfs/sources/gawk-3.1.3$ make install
.
.
make[1]: Leaving directory `/mnt/lfs/sources/gawk-3.1.3/po'
Making install in test
make[1]: Entering directory `/mnt/lfs/sources/gawk-3.1.3/test'
make[2]: Entering directory `/mnt/lfs/sources/gawk-3.1.3/test'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/lfs/sources/gawk-3.1.3/test'
make[1]: Leaving directory `/mnt/lfs/sources/gawk-3.1.3/test'

continue?
 楼主| 发表于 2004-3-6 13:10:35 | 显示全部楼层

bzip2-1.0.2 maek install error!

lfs:/mnt/lfs/sources/bzip2-1.0.2$ make PREFIX=/tools install

If compilation produces errors, or a large number of warnings,
please read README.COMPILATION.PROBLEMS -- you might be able to
adjust the flags in this Makefile to improve matters.

gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c blocks
ort.c
blocksort.c: In function `fallbackQSort3':
blocksort.c:83: warning: inlining failed in call to `fallbackSimpleSort'
blocksort.c:162: warning: called from here
blocksort.c: In function `mainSimpleSort':
blocksort.c:400: warning: inlining failed in call to `mainGtU'
blocksort.c:561: warning: called from here
blocksort.c:400: warning: inlining failed in call to `mainGtU'
blocksort.c:575: warning: called from here
blocksort.c:400: warning: inlining failed in call to `mainGtU'
blocksort.c:589: warning: called from here
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c huffma
n.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c crctab
le.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c randta
ble.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c compre
ss.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c decomp
ress.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c bzlib.
c
rm -f libbz2.a
ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o
ranlib libbz2.a
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c bzip2.
c
bzip2.c: In function `uncompressStream':
bzip2.c:557: warning: dereferencing type-punned pointer will break strict-aliasing rules
bzip2.c: In function `testStream':
bzip2.c:665: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64  -o bzip2
bzip2.o -L. -lbz2
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c bzip2r                           ecover.c
gcc -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64  -o bzip2                           recover bzip2recover.o
if ( test ! -d /tools/bin ) ; then mkdir -p /tools/bin ; fi
if ( test ! -d /tools/lib ) ; then mkdir -p /tools/lib ; fi
if ( test ! -d /tools/man ) ; then mkdir -p /tools/man ; fi
if ( test ! -d /tools/man/man1 ) ; then mkdir -p /tools/man/man1 ; fi
if ( test ! -d /tools/include ) ; then mkdir -p /tools/include ; fi
cp -f bzip2 /tools/bin/bzip2
cp -f bzip2 /tools/bin/bunzip2
cp -f bzip2 /tools/bin/bzcat
cp -f bzip2recover /tools/bin/bzip2recover
chmod a+x /tools/bin/bzip2
chmod a+x /tools/bin/bunzip2
chmod a+x /tools/bin/bzcat
chmod a+x /tools/bin/bzip2recover
cp -f bzip2.1 /tools/man/man1
chmod a+r /tools/man/man1/bzip2.1
cp -f bzlib.h /tools/include
chmod a+r /tools/include/bzlib.h
cp -f libbz2.a /tools/lib
chmod a+r /tools/lib/libbz2.a
cp -f bzgrep /tools/bin/bzgrep
ln /tools/bin/bzgrep /tools/bin/bzegrep
ln: `/tools/bin/bzegrep': File exists
make: *** [install] Error 1
 楼主| 发表于 2004-3-6 13:16:40 | 显示全部楼层
i had installed the bzip2-1.0.2, so it show "ln: `/tools/bin/bzegrep': File exists
make: *** [install] Error 1" when i make install bzip2-1.0.2 again

i should go on
 楼主| 发表于 2004-3-6 20:34:55 | 显示全部楼层
ch6 gcc-3.3.1 installing..............
 楼主| 发表于 2004-3-6 21:28:55 | 显示全部楼层
最初由 axgshr 发表
ch6 gcc-3.3.1 installing..............



root:/sources/gcc-build# make install
make[2]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty'

should i go on?!

waiting online
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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