|
|
宿主系统:红旗workstation 5.0
之前安装expect按LFS6.1所说提示TCLPATH没有头文件,就重新设置了下TCLPATH为tcl的源码目录。
在这之前的所有都事严格按LFS6.1所做,没有任何差错,包括调整工具链,还手动检查了gcc的specs文件。
错误信息:
checking for sbrk... yes
checking for gettimeofday... yes
checking for realpath... yes
checking for canonicalize_file_name... yes
checking for pstat_getstatic... no
checking for pstat_getdynamic... no
checking for sysmp... no
checking for getsysinfo... no
checking for table... no
checking for sysctl... yes
checking whether canonicalize_file_name must be declared... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for working strncmp... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
make[1]: Entering directory `/mnt/lfs/gcc-build/gcc-build/libiberty'
if [ x"-fpic" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.3/libiberty/../include -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.4.3/libiberty/regex.c -o pic/regex.o; \
else true; fi
In file included from ../../gcc-3.4.3/libiberty/../include/xregex.h:26,
from ../../gcc-3.4.3/libiberty/regex.c:195:
../../gcc-3.4.3/libiberty/../include/xregex2.h:548: warning: ISO C90 does not support `static' or type qualifiers in parameter array declarators
In file included from ../../gcc-3.4.3/libiberty/regex.c:649:
../../gcc-3.4.3/libiberty/regex.c: In function `byte_compile_range':
../../gcc-3.4.3/libiberty/regex.c:4548: warning: signed and unsigned type in conditional expression
../../gcc-3.4.3/libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../../gcc-3.4.3/libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../../gcc-3.4.3/libiberty/regex.c: In function `xregcomp':
../../gcc-3.4.3/libiberty/regex.c:8043: warning: signed and unsigned type in conditional expression
../../gcc-3.4.3/libiberty/regex.c: At top level:
../../gcc-3.4.3/libiberty/regex.c:8178: warning: unused parameter 'preg'
Assembler messages:
FATAL: can't create pic/regex.o: No such file or directory
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/mnt/lfs/gcc-build/gcc-build/libiberty'
make: *** [all-libiberty] Error 2 |
|