Re: [Gems-users] Questions


Date: Sat, 20 Sep 2008 09:31:47 -0500
From: "Dan Gibson" <degibson@xxxxxxxx>
Subject: Re: [Gems-users] Questions
Whenever "simics/api.h" is not to be found, we are dealing with a path somewhere that is improperly set (either that or Simics is not in fact installed at all). You should verify that api.h resides inside of your $SIMICS_INCLUDE_ROOT -- specifically, verify the Makefile(s) use of $SIMICS_INCLUDE_ROOT in various places (grep for it) is correctly forming the path to api.h.

Regards,
Dan

On Sat, Sep 20, 2008 at 8:54 AM, huitzu shih <huitzu.shih@xxxxxxxxx> wrote:
I have the same problem.
Did anyone solve this problem?
 
I have check SIMICS_INCLUDE_ROOT has the correct path
thanks

2008/4/10 <hb166307@xxxxxxxx>
I think I had the same problem and someone suggested I check my
$GEMS/commom/MakeFile.commom and make sure SIMICS_INCLUDE_ROOT has the correct path.

Quoting Mario Raffo <mraffo@xxxxxxxxxx>:

> 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
>
>
>
> -- >
> This message was scanned for spam and viruses by BitDefender.
> For more information please visit http://linux.bitdefender.com/
>
> _______________________________________________
> 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://li> sts.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.





--
中正大學資訊工程所 系統軟體實驗室
TEL: (05)272-0411 # 23122
石蕙慈

_______________________________________________
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!
[← Prev in Thread] Current Thread [Next in Thread→]