I'm currently trying to compile Coda, but am getting the following errors:
make[2]: Entering directory `/usr/src/coda-5.3.19/coda-src/asr'
c++ -fno-exceptions -fno-operator-names -x c++ -MD -DHAVE_CONFIG_H -I.
-I/usr/src/coda-5.3.19/include -I/usr/src/coda-5.3.19 -g -O2 -c
resolver_parser.c
/usr/share/bison/bison/bison.simple: In function `int yyparse()':
/usr/share/bison/bison/bison.simple:450: `size_t' undeclared in
namespace `std'
/usr/share/bison/bison/bison.simple:450: parse error before `=' token
/usr/share/bison/bison/bison.simple:495: `yystacksize' undeclared (first
use
this function)
/usr/share/bison/bison/bison.simple:495: (Each undeclared identifier is
reported only once for each function it appears in.)
/usr/share/bison/bison/bison.simple:498: `size_t' undeclared in
namespace `std'
/usr/share/bison/bison/bison.simple:498: parse error before `=' token
/usr/share/bison/bison/bison.simple:543: `size_t' undeclared in
namespace `std'
/usr/share/bison/bison/bison.simple:543: parse error before `;' token
/usr/share/bison/bison/bison.simple:543: `yysize' undeclared (first use
this
function)
/usr/share/bison/bison/bison.simple:543: `size_t' undeclared in
namespace `std'
/usr/share/bison/bison/bison.simple:543: parse error before `sizeof'
/usr/share/bison/bison/bison.simple:543: `yynewbytes' undeclared (first use
this function)
/usr/share/bison/bison/bison.simple:544: `size_t' undeclared in
namespace `std'
/usr/share/bison/bison/bison.simple:544: parse error before `;' token
/usr/share/bison/bison/bison.simple:544: `size_t' undeclared in
namespace `std'
/usr/share/bison/bison/bison.simple:544: parse error before `sizeof'
make[2]: *** [resolver_parser.o] Error 1
make[2]: Leaving directory `/usr/src/coda-5.3.19/coda-src/asr'
make[1]: *** [asr] Error 2
make[1]: Leaving directory `/usr/src/coda-5.3.19/coda-src'
make: *** [coda-src] Error 2
Any idea what's going on? I made sure that I'm running the latest
versio of Bison, so that shouldn't be the problem. GCC version is
3.0.4. Thanks in advance.