-lz is the linker option for zlib. Do you have zlib installed on your
host? (it is fairly standard these days). You can try installing it
from www.zlib.net, or from elsewhere.
If zlib is already installed, you should add its path to
LD_LIBRARY_PATH.
Regards,
Dan
Abdullah Kayi wrote:
Hi all,
I installed simics 3.0 and then I tried to install Ruby according to
the QuickStart guide. After the make command,
make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast
I am getting the following error:
ls: generated/MOSI_SMP_bcast/*.C: No such file or directory
Ruby: Building protocol: MOSI_SMP_bcast
Ruby: Making slicc
cd /home/apokayi/simulators/gems/slicc; make
make[1]: Entering directory `/home/apokayi/simulators/gems/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory `/home/apokayi/simulators/gems/slicc'
make[2]: `generated/generated' is up to date.
make[2]: Leaving directory `/home/apokayi/simulators/gems/slicc'
SLICC: Building slicc executable
make x86-linux/bin/slicc.exec
make[2]: Entering directory `/home/apokayi/simulators/gems/slicc'
/usr/bin/g++ -o x86-linux/bin/slicc.exec -march=i686 -g -ggdb -g3 -O0
-w -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
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [x86-linux/bin/slicc.exec] Error 1
make[2]: Leaving directory `/home/apokayi/simulators/gems/slicc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/apokayi/simulators/gems/slicc'
make: *** [all] Error 2
Any thoughts on the mistake that I am making?
Regards,
Abdullah
Never miss a thing.
Make Yahoo your homepage.
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
--
http://www.cs.wisc.edu/~gibson [esc]:wq!
|
|