后看来很多错误:
/mnt/lfs/sources/binutils-2.14/libiberty/regx.c:4548 warring:signed and unsig ned type in conditional expression (可能有十几个,只是4548不同)
lex.yy.c:1910 warrying: no previous prototype for "yyget_leng"(也很多,只是最后面的所指也就是"yyget_leng"不同)
到了最后:
make [3] Leaving directory '/mnt/lfs/sources/binutils-build/gprof'
make [1] 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 @localhost binutils-build]$
应该没什么问题吧?只是看到那个make [1] Nothing to be done for 'all'感觉怪怪的!
安装GCC 第一遍时,也是差不多,但到最后都没出现说
make ERR n
我也就不管,再接下去就是!
Can't find filw to patch at input line 10
Perhaps you used the wrong -p or --strip option?
The Text leading up to this was:
----------------------------------------------------------
| Submitted Byavid shut (www.shustring.com)
| Date : 2003-08-15
| Initial Package Version:2.3.2
| Origin:glibc CVS changes performed by Roland McGrath
| Description:patchs stdio-common/sscanf.c,libio/{swprintf.c,sescanf.c}
| diff -Naur glibc-2.3.2/libio/swprintf.c,glibc-2.3.2-nes/libio/swprintf.c
| ---glibc-2.3.2/libio/swprintf.c 2001-07-07 19:21:03 000000000 +0000
| +++glibc-2.3.2-nes/libio/swprintf.c 2003-08-15 19:36:42 000000000 +0000
-------------------------------------------------------
File to patch:
然后的make就过不去,出现:
sscanf.c:31:warring:conflicting types for built-in function 'sscanf'
sscanf.c:In function 'sscanf'
sscanf.c:37:error:'va_start' used in function with fixed args
../stdio-common/.itoa.h At top level
../stdio-common/.itoa.h :40:warring:inlinling failed in call to '_itoa_word'
../stdio-common/.itoa.h :76:warning:called from here
make [2]:***[/mnt/lfs/sources/glibc-build/stdio-common/sscanf.o]Error 1
make [2]eaving directory '/mnt/lfs/sources/glibc-build/stdio-common'
make [1]:***[stdio-common/subdir_lib]Error 2
make [1]eaving directory '/mnt/lfs/sources/glibc-2.3.2'
make:***[all]Error 2
[lfs @localhost binutils-build]$
再运行
#make check
则最后出现:
make [2]:***No rule to make target '/mnt/lfs/sources/glibc-build/ecf/soinit.os',needed by '/mnt/lfs/sources/glibc-build/libc.so'.stop
make [2]eaving directory '/mnt/lfs/sources/glibc-2.3.2/iconv'
make [1]:***[iconv/tests]Error 2
make [1]eaving directory 'mnt/lfs/sources/glibc-2.3.2'
make:***[check]Error 2
[lfs @localhost binutils-build]$