|
|
6.9 Glibc-2.3.6出错! 我是在VMware中用LFS liveCD启动,根据LFS-book-6.2做的。 重新试了几次都出下面这个错误。
cc1:error:unrecognized command line option "-W1,"
Execution of gcc failed!
The script has found some problems with your installation!
Please read the FAQ and the README file and check the following:
- Did you change the gcc specs file (neccessary after upgrading from
Linux libc5)?
- Are there any symbolic links of the form libXXX.so to old libraries?
Links like libm.so -> libm.so.5 (where libm.so.5 is an old library)
are wrong, libm.so should point to the newly installed glibc file - and
there should be only one such link (check e.g. /lib and /usr/lib)
You should restart this script from your build directory after you've
fixed all problems!
Btw. the script doesn't work if you're installing GNU libc not as your
primary library!
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/glibc-2.3.6`
make: *** [install] Error 2 |
|