|
楼主 |
发表于 2003-3-22 23:29:14
|
显示全部楼层
我现在已经将/static 的目录做好了,就是说已经全部都完成了静态安装,转入了第6章的安装。
已经按照说明书成功编译安装了glibc-2.3.1,我是将安装书上的命令考过去实现编译的。所以应该没有输入错误的问题。
接下来要安装GCC-3.2的时候居然出现在第5章出现的问题。就是下面的这个出错信息。
make[4]: Entering directory `/mnt/lfs/soft/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src'
/bin/sh ../libtool --tag CXX --mode=compile /mnt/lfs/soft/gcc-build/gcc/xgcc -shared-libgcc -B/mnt/lfs/soft/gcc-build/gcc/ -nostdinc++ -L/mnt/lfs/soft/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src -L/mnt/lfs/soft/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/static/i686-pc-linux-gnu/bin/ -B/static/i686-pc-linux-gnu/lib/ -isystem /static/i686-pc-linux-gnu/include -nostdinc++ -I/mnt/lfs/soft/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/mnt/lfs/soft/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include -I../../../../gcc-3.2/libstdc++-v3/libsupc++ -I../../../../gcc-3.2/libstdc++-v3/libmath -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c c++locale.cc
/mnt/lfs/soft/gcc-build/gcc/xgcc -shared-libgcc -B/mnt/lfs/soft/gcc-build/gcc/ -nostdinc++ -L/mnt/lfs/soft/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src -L/mnt/lfs/soft/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/static/i686-pc-linux-gnu/bin/ -B/static/i686-pc-linux-gnu/lib/ -isystem /static/i686-pc-linux-gnu/include -nostdinc++ -I/mnt/lfs/soft/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/mnt/lfs/soft/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include -I../../../../gcc-3.2/libstdc++-v3/libsupc++ -I../../../../gcc-3.2/libstdc++-v3/libmath -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c c++locale.cc -o c++locale.o
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long int]':
c++locale.cc:51: `__strtol_l' undeclared (first use this function)
c++locale.cc:51: (Each undeclared identifier is reported only once for each
function it appears in.)
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long unsigned
int]':
c++locale.cc:69: `__strtoul_l' undeclared (first use this function)
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long long
int]':
c++locale.cc:87: `__strtoll_l' undeclared (first use this function)
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long long
unsigned int]':
c++locale.cc:106: `__strtoull_l' undeclared (first use this function)
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = float]':
c++locale.cc:124: `__strtof_l' undeclared (first use this function)
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = double]':
c++locale.cc:141: `__strtod_l' undeclared (first use this function)
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long double]':
c++locale.cc:158: `__strtold_l' undeclared (first use this function)
c++locale.cc: In static member function `static void
std::locale::facet::_S_create_c_locale(__locale_struct*&, const char*,
__locale_struct*)':
c++locale.cc:170: `__newlocale' undeclared (first use this function)
c++locale.cc: In static member function `static void
std::locale::facet::_S_destroy_c_locale(__locale_struct*&)':
c++locale.cc:180: `__freelocale' undeclared (first use this function)
c++locale.cc: In static member function `static __locale_struct*
std::locale::facet::_S_clone_c_locale(__locale_struct*&)':
c++locale.cc:184: `__duplocale' undeclared (first use this function)
make[4]: *** [c++locale.lo] Error 1
make[4]: Leaving directory `/mnt/lfs/soft/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/lfs/soft/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/mnt/lfs/soft/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/mnt/lfs/soft/gcc-build'
make: *** [bootstrap] Error 2
如果说是我的输入有错的话,那么这一次我是将安装书上的命令考过去安装的啊。如果说是头文件有错的,那也不可能啊,因为上一个步骤也是考入命令进行安装的。而且补丁也打了。
在第5章出现问题是因为不需要GCC-G++这个包,但是现在在第6章就已经需要两个包一起安装了。gcc-core-3.2.tar.gz ,gcc-g++-3.2.tar.gz 这两个包了。 |
|