Re: [Gems-users] compile Ruby errors


Date: Wed, 30 Apr 2008 11:28:20 -0400
From: Jibang Liu <iamjbliu@xxxxxxxxx>
Subject: Re: [Gems-users] compile Ruby errors
Can anyone give me some help?

thanks
Jibang

Jibang Liu wrote:
Hi all,

I use Simics 3.0.31 and GEMS2.1. When I try to compile Ruby, two errors occur.

When I type the following:
cd ruby
make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast
The results are showed.

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/rhome/jibang/GEMS/gems-2.1/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory `/home/rhome/jibang/GEMS/gems-2.1/slicc'
make[2]: `generated/generated' is up to date.
make[2]: Leaving directory `/home/rhome/jibang/GEMS/gems-2.1/slicc'
SLICC: Building slicc executable
make x86-linux/bin/slicc.exec
make[2]: Entering directory `/home/rhome/jibang/GEMS/gems-2.1/slicc'
/usr/bin/g++ -o x86-linux/obj/parser.o -c generated/parser.c -DYY_NO_UNPUT -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused -march=i686 -g -ggdb -g3 -O2 -finline-functions -DNO_VECTOR_BOUNDS_CHECKS -DMULTIFACET_NO_OPT_WARN -I. -I../common -Igenerated -Isymbols -Igenerator -Iast generated/parser.c:1: error: CPU you selected does not support x86-64 instruction set generated/parser.c:1: error: CPU you selected does not support x86-64 instruction set
make[2]: *** [x86-linux/obj/parser.o] Error 1
make[2]: Leaving directory `/home/rhome/jibang/GEMS/gems-2.1/slicc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rhome/jibang/GEMS/gems-2.1/slicc'
make: *** [all] Error 2

Can anyone tell me where I setup wrongly to result in these two errors?

thanks
Jibang


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