On Wed, 2010-09-22 at 21:14 +0800, [email protected] wrote: > Hi All, > > I built the xenosim-2.4.7 using on ubuntu, but failed. Does anyone > have a idea about the problem as follow:
A recent bison release probably needs --yacc to parse this antique grammar file properly. Beyond that, the simulator direly needs a lot of work to cope with current toolchains (i.e. more recent than debian woody...). In short, either build it over an oldish distro using an ancient toolchain (typically over qemu), or forget about it. > > cd cp && make ../../../gcc-2.95.3/gcc/cp/parse.c > make[4]: Entering directory > `/home/wygao/workspace/project/xenomai-2.5.4/sim_builddir/gcic/gcc-build/gcc/cp' > expect 30 shift/reduce conflicts and 42 reduce/reduce conflicts. > cd ../../../gcc-2.95.3/gcc/cp; bison -d -o parse.c parse.y > parse.y:747.19-20: $$ for the midrule at $4 of > `constructor_declarator' has no declared type > parse.y:755.19-20: $$ for the midrule at $5 of > `constructor_declarator' has no declared type > parse.y:763.19-20: $$ for the midrule at $4 of > `constructor_declarator' has no declared type > parse.y:771.19-20: $$ for the midrule at $5 of > `constructor_declarator' has no declared type > make[4]: *** [../../../gcc-2.95.3/gcc/cp/parse.c] Error 1 > make[4]: Leaving directory > `/home/wygao/workspace/project/xenomai-2.5.4/sim_builddir/gcic/gcc-build/gcc/cp' > make[3]: *** [../../gcc-2.95.3/gcc/cp/parse.c] Error 2 > make[3]: Leaving directory > `/home/wygao/workspace/project/xenomai-2.5.4/sim_builddir/gcic/gcc-build/gcc' > make[2]: *** [all-gcc] Error 2 > make[2]: Leaving directory > `/home/wygao/workspace/project/xenomai-2.5.4/sim_builddir/gcic/gcc-build' > make[1]: *** [gcc-build/.gcic-built] Error 2 > make[1]: Leaving directory > `/home/wygao/workspace/project/xenomai-2.5.4/sim_builddir/gcic' > make: *** [install-recursive] Error 1 > > > > _______________________________________________ > Xenomai-help mailing list > [email protected] > https://mail.gna.org/listinfo/xenomai-help -- Philippe. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
