You will need to specify the location of the headers (Point 7, bullet 2
on the Setup for Simics 3.0.x page) and set your SIMICS_VERSION flag in
Makefile.SIMICS_VERSION appropriately (bullet 1).
Regards,
Dan
Mario Raffo wrote:
Dear Sirs
I'm a student from São Paulo University. I will use the GEMS, but I've
some problems:
I've do the instructions for install simics and gems:
http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/Setup_for_Simics_3.0.X
But when I' want do the instructions for the next link:
http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/QuickStart
And if I do :
cd $GEMS/ruby
make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast
I see the next on screen:
Ruby: Building protocol: MOSI_SMP_bcast
Ruby: Making slicc
cd ../slicc; make
make[1]: Entering directory `/root/gems-2.1/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory `/root/gems-2.1/slicc'
make[2]: `generated/generated' is up to date.
make[2]: Leaving directory `/root/gems-2.1/slicc'
SLICC: Building slicc executable
make x86-linux/bin/slicc.exec
make[2]: Entering directory `/root/gems-2.1/slicc'
make[2]: `x86-linux/bin/slicc.exec' is up to date.
make[2]: Leaving directory `/root/gems-2.1/slicc'
make[1]: Leaving directory `/root/gems-2.1/slicc'
Ruby: Running slicc
make generated/MOSI_SMP_bcast/generated
make[1]: Entering directory `/root/gems-2.1/ruby'
make[1]: `generated/MOSI_SMP_bcast/generated' is up to date.
make[1]: Leaving directory `/root/gems-2.1/ruby'
Ruby: Generating ruby objects
make x86-linux/generated/MOSI_SMP_bcast/bin/tester.exec
make[1]: Entering directory `/root/gems-2.1/ruby'
make[1]: Circular x86-linux/generated/MOSI_SMP_bcast/obj/init.o <-
default_param.h dependency dropped.
make[1]: *** No rule to make target `simics/api.h', needed by
`x86-linux/generated/MOSI_SMP_bcast/obj/attrparse.o'. Stop.
make[1]: Leaving directory `/root/gems-2.1/ruby'
make: *** [all] Error 2
And if I do :
cd $GEMS/opal
make module DESTINATION=MOSI_SMP_bcast
I see the next on screen:
Opal: building module
make generated/generated
make[1]: Entering directory `/root/gems-2.1/opal'
make[1]: `generated/generated' is up to date.
make[1]: Leaving directory `/root/gems-2.1/opal'
make BUILD_FLAGS=-DSIMICS module_go
make[1]: Entering directory `/root/gems-2.1/opal'
make[1]: *** No rule to make target `simics/api.h', needed by
`x86-linux/obj/ccops.o'. Stop.
make[1]: Leaving directory `/root/gems-2.1/opal'
make: *** [module] Error 2
At this moment I don't know very well if I have problems with a wrong
mistake at installation process, probably in the Makefiles
$GEMS/common/Makefile.simics_version
$GEMS/common/Makefile.common
$GEMS/ruby/module/Makefile
$GEMS/opal/module/Makefile
$GEMS/tourmaline/module/Makefile
The mistakes at ruby and opal are (in my opinion) that don't have access
to 'simics/api.h', but I've this file at next directory:
/opt/virtutech/simics-3.0.31/src/include/simics
If any person know this problem...... I will appreciate your help.....
Regards
Eng. Mario Raffo
MSc. Student on Microelectronics
São Paulo University
--
http://www.cs.wisc.edu/~gibson [esc]:wq!
|