Hi,
I am trying to compile ruby based on the instructions on the
website, but I got:
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/pmontesi/repite/timing-single/cmp-timing/GEMS/gems-2.1/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory
`/home/pmontesi/repite/timing-single/cmp-timing/GEMS/gems-2.1/slicc'
make[2]: `generated/generated' is up to date.
make[2]: Leaving directory
`/home/pmontesi/repite/timing-single/cmp-timing/GEMS/gems-2.1/slicc'
SLICC: Building slicc executable
make x86-linux/bin/slicc.exec
make[2]: Entering directory
`/home/pmontesi/repite/timing-single/cmp-timing/GEMS/gems-2.1/slicc'
g++ -o x86-linux/bin/slicc.exec -march=i686 -g -ggdb -g3 -O2
-finline-functions -DNO_VECTOR_BOUNDS_CHECKS -DMULTIFACET_NO_OPT_WARN
-ggdb -g3 -lz x86-linux/obj/parser.o x86-linux/obj/lexer.o
x86-linux/obj/main.o x86-linux/obj/util.o x86-linux/obj/fileio.o
x86-linux/obj/html_gen.o x86-linux/obj/mif_gen.o x86-linux/obj/Func.o
x86-linux/obj/StateMachine.o x86-linux/obj/Symbol.o
x86-linux/obj/SymbolTable.o x86-linux/obj/Transition.o
x86-linux/obj/Type.o x86-linux/obj/Var.o x86-linux/obj/Location.o
x86-linux/obj/AST.o x86-linux/obj/AssignStatementAST.o
x86-linux/obj/ReturnStatementAST.o x86-linux/obj/DeclAST.o
x86-linux/obj/DeclListAST.o x86-linux/obj/EnqueueStatementAST.o
x86-linux/obj/EnumExprAST.o x86-linux/obj/ExprAST.o
x86-linux/obj/ExprStatementAST.o x86-linux/obj/FormalParamAST.o
x86-linux/obj/FuncCallExprAST.o x86-linux/obj/IfStatementAST.o
x86-linux/obj/InfixOperatorExprAST.o x86-linux/obj/LiteralExprAST.o
x86-linux/obj/MemberExprAST.o x86-linux/obj/MethodCallExprAST.o
x86-linux/obj/PairAST.o x86-linux/obj/PairListAST.o
x86-linux/obj/PeekStatementAST.o
x86-linux/obj/CheckAllocateStatementAST.o
x86-linux/obj/CheckStopSlotsStatementAST.o
x86-linux/obj/CopyHeadStatementAST.o x86-linux/obj/StatementAST.o
x86-linux/obj/StatementListAST.o x86-linux/obj/TypeAST.o
x86-linux/obj/TypeFieldEnumAST.o x86-linux/obj/TypeFieldMemberAST.o
x86-linux/obj/TypeFieldMethodAST.o x86-linux/obj/VarExprAST.o
x86-linux/obj/ActionDeclAST.o x86-linux/obj/EnumDeclAST.o
x86-linux/obj/FuncDeclAST.o x86-linux/obj/InPortDeclAST.o
x86-linux/obj/MachineAST.o x86-linux/obj/ObjDeclAST.o
x86-linux/obj/OutPortDeclAST.o x86-linux/obj/TransitionDeclAST.o
x86-linux/obj/TypeDeclAST.o x86-linux/obj/TypeFieldAST.o
x86-linux/obj/ChipComponentAccessAST.o
:collect2: ld returned 1 exit status
make[2]: *** [x86-linux/bin/slicc.exec] Error 1
make[2]: Leaving directory
`/home/pmontesi/repite/timing-single/cmp-timing/GEMS/gems-2.1/slicc'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/pmontesi/repite/timing-single/cmp-timing/GEMS/gems-2.1/slicc'
make: *** [all] Error 2
Before it happened, it compiled for a while, but failed here. I
can't see the reason of the failure, can anyone help me ?
Xuehai
|