Many thanks for the reply. After I installed flex and bison, it seems that the building can proceed through the previous position, but there are other errors:
libtool: compile: g++ -m32 -DHAVE_CONFIG_H -I. -I../../../SRC/.gcc-extra-ppl/src -I.. -I.. -I../../../SRC/.gcc-extra-ppl/src -fexceptions -I/home/tyi/Desktop/nc/native_client/tools/BUILD/.gcc-extra-install-gmp/include -g -O2 -frounding-math -W -Wall -MT Grid_Generator.lo -MD -MP -MF .deps/Grid_Generator.Tpo -c ../../../SRC/.gcc-extra-ppl/src/Grid_Generator.cc -o Grid_Generator.o
In file included from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator_System.defs.hh:28:0,
from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator.defs.hh:29,
from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator.cc:26:
../../../SRC/.gcc-extra-ppl/src/Generator_System.defs.hh:253:7: error: 'ptrdiff_t' was not declared in this scope
ptrdiff_t,
^
../../../SRC/.gcc-extra-ppl/src/Generator_System.defs.hh:253:7: note: suggested alternatives:
In file included from /usr/include/c++/4.9/iostream:38:0,
from ../../../SRC/.gcc-extra-ppl/src/checked.defs.hh:27,
from ../../../SRC/.gcc-extra-ppl/src/Checked_Number.defs.hh:28,
from ../../../SRC/.gcc-extra-ppl/src/Coefficient.types.hh:16,
from ../../../SRC/.gcc-extra-ppl/src/Coefficient.defs.hh:27,
from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator.defs.hh:28,
from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator.cc:26:
/usr/include/x86_64-linux-gnu/c++/4.9/32/bits/c++config.h:189:28: note: 'std::ptrdiff_t'
typedef __PTRDIFF_TYPE__ ptrdiff_t;
^
/usr/include/x86_64-linux-gnu/c++/4.9/32/bits/c++config.h:189:28: note: 'std::ptrdiff_t'
In file included from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator_System.defs.hh:28:0,
from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator.defs.hh:29,
from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator.cc:26:
../../../SRC/.gcc-extra-ppl/src/Generator_System.defs.hh:255:23: error: template argument 3 is invalid
const Generator&> {
^
In file included from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator.defs.hh:29:0,
from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator.cc:26:
../../../SRC/.gcc-extra-ppl/src/Grid_Generator_System.defs.hh:270:7: error: 'ptrdiff_t' was not declared in this scope
ptrdiff_t,
^
../../../SRC/.gcc-extra-ppl/src/Grid_Generator_System.defs.hh:270:7: note: suggested alternatives:
In file included from /usr/include/c++/4.9/iostream:38:0,
from ../../../SRC/.gcc-extra-ppl/src/checked.defs.hh:27,
from ../../../SRC/.gcc-extra-ppl/src/Checked_Number.defs.hh:28,
from ../../../SRC/.gcc-extra-ppl/src/Coefficient.types.hh:16,
from ../../../SRC/.gcc-extra-ppl/src/Coefficient.defs.hh:27,
from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator.defs.hh:28,
from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator.cc:26:
/usr/include/x86_64-linux-gnu/c++/4.9/32/bits/c++config.h:189:28: note: 'std::ptrdiff_t'
typedef __PTRDIFF_TYPE__ ptrdiff_t;
^
/usr/include/x86_64-linux-gnu/c++/4.9/32/bits/c++config.h:189:28: note: 'std::ptrdiff_t'
In file included from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator.defs.hh:29:0,
from ../../../SRC/.gcc-extra-ppl/src/Grid_Generator.cc:26:
../../../SRC/.gcc-extra-ppl/src/Grid_Generator_System.defs.hh:272:28: error: template argument 3 is invalid
const Grid_Generator&>,
^
Makefile:1159: recipe for target 'Grid_Generator.lo' failed
make[6]: *** [Grid_Generator.lo] Error 1
make[6]: Leaving directory '/home/tyi/Desktop/nc/native_client/tools/BUILD/.gcc-extra-build-ppl/src'
Makefile:1288: recipe for target 'install' failed
make[5]: *** [install] Error 2
make[5]: Leaving directory '/home/tyi/Desktop/nc/native_client/tools/BUILD/.gcc-extra-build-ppl/src'
Makefile:478: recipe for target 'install-recursive' failed
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory '/home/tyi/Desktop/nc/native_client/tools/BUILD/.gcc-extra-build-ppl'
Makefile:283: recipe for target 'BUILD/.gcc-extra-install-ppl' failed
make[3]: *** [BUILD/.gcc-extra-install-ppl] Error 2
make[3]: Leaving directory '/home/tyi/Desktop/nc/native_client/tools'
Makefile:201: recipe for target 'gcc-extras' failed
make[2]: *** [gcc-extras] Error 2
make[2]: Leaving directory '/home/tyi/Desktop/nc/native_client/tools'
Makefile:449: recipe for target 'BUILD/stamp-x86_64-nacl-pregcc' failed
make[1]: *** [BUILD/stamp-x86_64-nacl-pregcc] Error 2
make[1]: Leaving directory '/home/tyi/Desktop/nc/native_client/tools'
Makefile:906: recipe for target 'build-with-newlib' failed