Re: [Gems-users] Ruby and Opal compilation problem with GEMS 2.1.1, gcc 4.4.5


Date: Tue, 19 Apr 2011 21:27:40 +0430
From: mostafa kishani <mostafa.kishani@xxxxxxxxx>
Subject: Re: [Gems-users] Ruby and Opal compilation problem with GEMS 2.1.1, gcc 4.4.5
Hi everyone,
I have the following problem in compiling ruby and opal:

***********************************************************************************************************************************************************
root@mostaf-VPCCW22FX:/home/mostaf/gems/ruby# sudo make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast
ls: cannot access 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/mostaf/gems/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory `/home/mostaf/gems/slicc'
make[2]: `generated/generated' is up to date.
make[2]: Leaving directory `/home/mostaf/gems/slicc'
SLICC: Building slicc executable
make x86-linux/bin/slicc.exec
make[2]: Entering directory `/home/mostaf/gems/slicc'
/dev/null -o x86-linux/obj/parser.o -c generated/parser.c -DYY_NO_UNPUT -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused  -g -ggdb -g3 -O2 -finline-functions -DNO_VECTOR_BOUNDS_CHECKS -DMULTIFACET_NO_OPT_WARN   -I. -I../common -Igenerated -Isymbols -Igenerator -Iast    
make[2]: execvp: /dev/null: Permission denied
make[2]: *** [x86-linux/obj/parser.o] Error 127
make[2]: Leaving directory `/home/mostaf/gems/slicc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mostaf/gems/slicc'
make: *** [all] Error 2
*********************************************************************************************************************************************
mostaf@mostaf-VPCCW22FX:~/gems/opal$ sudo make module DESTINATION=MOSI_SMP_bcast 
Opal: building module
make generated/generated
make[1]: Entering directory `/home/mostaf/gems/opal'
make[1]: `generated/generated' is up to date.
make[1]: Leaving directory `/home/mostaf/gems/opal'
make BUILD_FLAGS=-DSIMICS module_go
make[1]: Entering directory `/home/mostaf/gems/opal'
/dev/null -o x86-linux/obj/ccops.o -c sparc/ccops.c -DSPARC -DADD_ARCH_TO_API -DSIMICS30  -DTARGET_SPARC_V9 -DTARGET_ULTRA -DTARGET_VA_BITS=64 -DTARGET_PA_BITS=64 -DYY_NO_UNPUT -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused  -ggdb -g3 -O2 -fPIC -finline-functions -DSIMICS -DIS_OPAL -DVERIFY_SIMICS -DDEBUG_FILTER -DRETIRE_ZERO_TOLERANCE -DREDECODE_EACH -Icommon -Ifetch -Ipower -Isparc -Isystem -Imodule -Itrace -Itester -I../common -I../common/ioutil -Igenerated -I~/gems/simics-3.0.29/src/include -I~/gems/simics-3.0.29/src/include/simics -I~/gems/simics-3.0.29/src/include/simics/core -I~/gems/simics-3.0.29/src/include/simics/arch -I~/gems/simics-3.0.29/src/include/simics/util -Ibenchmark/tester   
/bin/sh: /dev/null: Permission denied
make[1]: *** [x86-linux/obj/ccops.o] Error 126
make[1]: Leaving directory `/home/mostaf/gems/opal'
make: *** [module] Error 2
*****************************************************************************************************


Can anyone help me please?

Thanks in advance.

Mostafa

On Tue, Apr 19, 2011 at 7:26 PM, John Shield <john.shield@xxxxxxxxxxx> wrote:
Hi Mostafa,

In response to the api.h problem. I found an api.h file somewhere in the GEMS system.

cd $GEMS;du -a | grep api.h

I then moved it to SIMICS directory "simics-model-builder-4.2.34/src/include/simics/". That seemed to fix the Ruby compile problem.

Regards,

John


On 04/18/2011 07:52 PM, mostafa kishani wrote:
Hi everyone.
I have Siva's problem in compiling ruby
I would be so thankful if you could help me.
Thanks in advance,

Mostafa

_______________________________________________ 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.


_______________________________________________
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.



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