|

楼主 |
发表于 2003-11-16 20:38:51
|
显示全部楼层
我又重新装gcc-3.2,我把g++的包也解开的,可是一到make bootstrap时问题依旧是这样:
root:/static/src/gcc-3.2# make bootstrap
...
...
...
cp/typeck2.o differs
make[1]: *** [compare] Error 1
make[1]: Leaving directory `/static/src/gcc-build/gcc-3.2/gcc'
make: *** [bootstrap] Error 2
装bzip2-1.0.2时make也不行:
root:/static/src/bzip2-1.0.2# make -f Makefile-libbz2_so
gcc -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.2 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o
gcc -fpic -fPIC -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -o bzip2-shared bzip2.c libbz2.so.1.0.2
libbz2.so.1.0.2: undefined reference to `__ctype_b_loc'
collect2: ld returned 1 exit status
make: *** [all] Error 1
在make util-linux-2.11 出错:
root:/static/src/util-linux-2.11w# make HAVE_SLN=yes
make[1]: Entering directory `/static/src/util-linux-2.11w/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/static/src/util-linux-2.11w/po'
make[1]: Entering directory `/static/src/util-linux-2.11w/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/static/src/util-linux-2.11w/lib'
make[1]: Entering directory `/static/src/util-linux-2.11w/getopt-1.1.2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/static/src/util-linux-2.11w/getopt-1.1.2'
make[1]: Entering directory `/static/src/util-linux-2.11w/disk-utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/static/src/util-linux-2.11w/disk-utils'
make[1]: Entering directory `/static/src/util-linux-2.11w/login-utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/static/src/util-linux-2.11w/login-utils'
make[1]: Entering directory `/static/src/util-linux-2.11w/misc-utils'
cc -s write.o ../lib/carefulputc.o -o write
../lib/carefulputc.o: In function `carefulputc':
../lib/carefulputc.o(.text+0x31): undefined reference to `__ctype_b_loc'
../lib/carefulputc.o(.text+0x5f): undefined reference to `__ctype_b_loc'
collect2: ld returned 1 exit status
make[1]: *** [write] Error 1
make[1]: Leaving directory `/static/src/util-linux-2.11w/misc-utils'
make: *** [all] Error 1
我继续把其它的包都安装完,也没有出现什么错,编译好内核,设好grub后,一启动有好多问题:
这是出错的地方,出错时的一些说明都没写上,因为我只能在启动时用笔记下关键的:
Activating all swap files/partitions ...
/etc/rc.d/rcsysinit.d/S10swap: swapon: command not found [FAILED]
Mounting proc file system ...
/etc/rc.d/rcsysinit.d/S20mount proc: mount: command not found [FAILED]
Mounting root file system in read-only mode ...
/etc/rc.d/rcsysinit.d/S30checkfs: mount: command not found [FAILED]
一出错就提示按"enter"键才能继续,有的ok 可有的failed 到后来机器就不动了。。。
哪位帮忙讲一下原因,解决之道。。。。。。。
我的版本 20021030 |
|