[Gems-users] Ruby compilation error (GEMS patched & SIMICS4)


Date: Sun, 10 Apr 2011 21:49:08 +0200
From: Santos G. González T. <onlyneat@xxxxxxxxx>
Subject: [Gems-users] Ruby compilation error (GEMS patched & SIMICS4)
Hi, what could be happening? When I try to compile ruby I get:

********************error code**********************
[user@host ruby]$ make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast
ls: generated/MOSI_SMP_bcast/*.C: No such file or directory
Ruby: Building protocol: MOSI_SMP_bcast
Ruby: Making slicc
cd ../slicc; make
make[1]: Entering directory `/home/user/gems-2.1.1/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory `/home/user/gems-2.1.1/slicc'
make[2]: `generated/generated' is up to date.
make[2]: Leaving directory `/home/user/gems-2.1.1/slicc'
SLICC: Building slicc executable
make amd64-linux/bin/slicc.exec
make[2]: Entering directory `/home/user/gems-2.1.1/slicc'
/usr/bin/g++ -o amd64-linux/obj/parser.o -c generated/parser.c -DYY_NO_UNPUT -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused   -m64 -march=opteron -fPIC -O2 -finline-functions -DNO_VECTOR_BOUNDS_CHECKS -DMULTIFACET_NO_OPT_WARN  -I. -I../common -Igenerated -Isymbols -Igenerator -Iast
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/hashtable:71: error: expected identifier before numeric constant
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/hashtable:71: error: expected unqualified-id before numeric constant
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/hashtable:74: error: expected identifier before numeric constant
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/hashtable:74: error: expected unqualified-id before numeric constant
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/hashtable:78: error: expected identifier before numeric constant
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/hashtable:78: error: expected unqualified-id before numeric constant
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/hashtable:165: error: expected nested-name-specifier before numeric constant
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/hashtable:165: error: expected unqualified-id before numeric constant
...
..
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/tr1/hashtable:691: error: base operand of ‘->’ has non-pointer type ‘Internal::hashtable_iterator<std::pair<Event* const, int>, false, false>’
make[2]: *** [amd64-linux/obj/parser.o] Error 1
make[2]: Leaving directory `/home/user/gems-2.1.1/slicc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/user/gems-2.1.1/slicc'
make: *** [all] Error 2
********************end of error code**********************

Thanks in advance.


[← Prev in Thread] Current Thread [Next in Thread→]