HAVE PROBLEMS COMPILING ARM-GCC~!

huhu2207
I'm compiling the arm-gcc now and it tells me some problems.

This is a part of output message:

...

Fixing headers into
/home/hu/gcc/host-x86_64-unknown-linux-gnu/gcc/include-fixed for
arm-unknown-linux-gnu target
Forbidden identifiers: linux unix 
echo timestamp > stmp-fixinc
if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
if [ -d include-fixed ] ; then true; else mkdir include-fixed; chmod a+rx
include-fixed; fi
for file in .. ../.././gcc/ginclude/float.h ../.././gcc/ginclude/iso646.h
../.././gcc/ginclude/stdarg.h ../.././gcc/ginclude/stdbool.h
../.././gcc/ginclude/stddef.h ../.././gcc/ginclude/varargs.h
../.././gcc/ginclude/stdfix.h ../.././gcc/ginclude/stdnoreturn.h
../.././gcc/config/arm/mmintrin.h ../.././gcc/config/arm/arm_neon.h; do \
  if [ X$file != X.. ]; then \
    realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
    echo timestamp > include/$realfile; \
    rm -f include/$realfile; \
    cp $file include; \
    chmod a+r include/$realfile; \
  fi; \
done
for file in .. ; do \
  if [ X$file != X.. ]; then \
            mv include/$file include/x_$file; \
            echo "#include_next <$file>" >include/$file; \
            cat include/x_$file >>include/$file; \
            rm -f include/x_$file; \
    chmod a+r include/$file; \
  fi; \
done
for file in .. ; do \
  if [ X$file != X.. ]; then \
    echo "#include_next <$file>" >>include/$file; \
    chmod a+r include/$file; \
  fi; \
done
rm -f include/stdint.h
if [ wrap = wrap ]; then \
  rm -f include/stdint-gcc.h; \
  cp ../.././gcc/ginclude/stdint-gcc.h include/stdint-gcc.h; \
  chmod a+r include/stdint-gcc.h; \
  cp ../.././gcc/ginclude/stdint-wrap.h include/stdint.h; \
  chmod a+r include/stdint.h; \
elif [ wrap = provide ]; then \
  cp ../.././gcc/ginclude/stdint-gcc.h include/stdint.h; \
  chmod a+r include/stdint.h; \
fi
set -e; for ml in `cat fixinc_list`; do \
  sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
  multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
  fix_dir=include-fixed${multi_dir}; \
  if [ -f `echo
/usr/toolschain/armgcc-4.6.x/bin/lib/gcc/arm-linux/4.7.0/../../../../arm-linux/s
ys-include
| sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`/limits.h ] ; then \
    cat ../.././gcc/limitx.h ../.././gcc/glimits.h ../.././gcc/limity.h >
tmp-xlimits.h; \
  else \
    cat ../.././gcc/glimits.h > tmp-xlimits.h; \
  fi; \
  /bin/sh ../.././gcc/../mkinstalldirs ${fix_dir}; \
  chmod a+rx ${fix_dir} || true; \
  rm -f ${fix_dir}/limits.h; \
  mv tmp-xlimits.h ${fix_dir}/limits.h; \
  chmod a+r ${fix_dir}/limits.h; \
done
rm -f include-fixed/README
cp ../.././gcc/../fixincludes/README-fixinc include-fixed/README
chmod a+r include-fixed/README
echo timestamp > stmp-int-hdrs
make[2]:
&#31163;&#24320;&#30446;&#24405;“/home/hu/gcc/host-x86_64-unknow
n-linux-gnu/gcc”
Checking multilib configuration for libstdc++-v3...
Checking multilib configuration for zlib...
Checking multilib configuration for libquadmath...
mkdir -p -- arm-linux/libquadmath
mkdir -p -- arm-linux/zlib
Configuring in arm-linux/libquadmath
Configuring in arm-linux/zlib
Configuring in arm-linux/libstdc++-v3
configure: creating cache ./config.cache
checking build system type... configure: creating cache ./config.cache
configure: creating cache ./config.cache
x86_64-unknown-linux-gnu
checking host system type... checking build system type... checking build
system type... arm-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... arm-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-linux-gcc...
/home/hu/gcc/host-x86_64-unknown-linux-gnu/gcc/xgcc
-B/home/hu/gcc/host-x86_64-unknown-linux-gnu/gcc/
-B/usr/toolschain/armgcc-4.6.x/bin/arm-linux/bin/
-B/usr/toolschain/armgcc-4.6.x/bin/arm-linux/lib/ -isystem
/usr/toolschain/armgcc-4.6.x/bin/arm-linux/include -isystem
/usr/toolschain/armgcc-4.6.x/bin/arm-linux/sys-include   
yes
yes
checking for arm-linux-strip... arm-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... checking for arm-linux-strip...
arm-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-gcc...
/home/hu/gcc/host-x86_64-unknown-linux-gnu/gcc/xgcc
-B/home/hu/gcc/host-x86_64-unknown-linux-gnu/gcc/
-B/usr/toolschain/armgcc-4.6.x/bin/arm-linux/bin/
-B/usr/toolschain/armgcc-4.6.x/bin/arm-linux/lib/ -isystem
/usr/toolschain/armgcc-4.6.x/bin/arm-linux/include -isystem
/usr/toolschain/armgcc-4.6.x/bin/arm-linux/sys-include   
yes
checking for --enable-version-specific-runtime-libs... no
checking for style of include used by make... GNU
checking for arm-linux-gcc...
/home/hu/gcc/host-x86_64-unknown-linux-gnu/gcc/xgcc
-B/home/hu/gcc/host-x86_64-unknown-linux-gnu/gcc/
-B/usr/toolschain/armgcc-4.6.x/bin/arm-linux/bin/
-B/usr/toolschain/armgcc-4.6.x/bin/arm-linux/lib/ -isystem
/usr/toolschain/armgcc-4.6.x/bin/arm-linux/include -isystem
/usr/toolschain/armgcc-4.6.x/bin/arm-linux/sys-include   
checking for suffix of object files... checking for suffix of object
files... checking for suffix of object files... configure: error: in
`/home/hu/gcc/arm-linux/zlib':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
configure: error: in `/home/hu/gcc/arm-linux/libstdc++-v3':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
configure: error: in `/home/hu/gcc/arm-linux/libquadmath':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-zlib] Error 1
make[1]: *** Waiting for unfinished jobs...
make[1]: *** [configure-target-libquadmath] Error 1
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Exit“/home/hu/gcc”
make: *** [all] Error 2
[hu@hu-netbook gcc]$ 


And I follow the message I looked the config.log at
/home/hu/gcc/arm-linux/libstdc++-v3/ and it shows me this words:


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by package-unused configure version-unused, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  $ /home/hu/gcc/libstdc++-v3/configure --cache-file=./config.cache
--with-cross-host=x86_64-unknown-linux-gnu --with-cpu=arm1176jzf-s
--with-tune=arm1176jzf-s --with-fpu=vfp --with-float=softfp
--disable-libgcc --disable-libgomp --without-libgcc --without-libgomp
--disable-libtool --disable-libffi --without-libffi
--prefix=/usr/toolschain/armgcc-4.6.x/bin/ --with-language=c,c++,java
--disable-nls --disable-multilib --disable-shared --with-newlib
--disable-libmudflap --disable-libssp
--enable-languages=c,c++,fortran,java,lto,objc
--program-transform-name=s&^&arm-linux-& --disable-option-checking
--with-target-subdir=arm-linux --build=x86_64-unknown-linux-gnu
--host=arm-linux --target=arm-linux --srcdir=../.././libstdc++-v3

## --------- ##
## Platform. ##
## --------- ##

hostname = hu-netbook
uname -m = x86_64
uname -r = 2.6.38.6-26.rc1.fc15.x86_64
uname -s = Linux
uname -v = #1 SMP Mon May 9 20:45:15 UTC 2011

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /home/hu/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2734: loading cache ./config.cache
configure:2912: checking build system type
configure:2926: result: x86_64-unknown-linux-gnu
configure:2946: checking host system type
configure:2959: result: arm-unknown-linux-gnu
configure:2979: checking target system type
configure:2992: result: arm-unknown-linux-gnu
configure:3077: checking for a BSD-compatible install
configure:3145: result: /usr/bin/install -c
configure:3156: checking whether build environment is sane
configure:3206: result: yes
configure:3255: checking for arm-linux-strip
configure:3282: result: arm-linux-strip
configure:3347: checking for a thread-safe mkdir -p
configure:3386: result: /bin/mkdir -p
configure:3399: checking for gawk
configure:3426: result: gawk
configure:3437: checking whether make sets $(MAKE)
configure:3459: result: yes
configure:3546: checking for arm-linux-gcc
configure:3573: result: /home/hu/gcc/host-x86_64-unknown-linux-gnu/gcc/xgcc
-B/home/hu/gcc/host-x86_64-unknown-linux-gnu/gcc/
-B/usr/toolschain/armgcc-4.6.x/bin/arm-linux/bin/
-B/usr/toolschain/armgcc-4.6.x/bin/arm-linux/lib/ -isystem
/usr/toolschain/armgcc-4.6.x/bin/arm-linux/include -isystem
/usr/toolschain/armgcc-4.6.x/bin/arm...stripped-down