i've found that the build scripts can be a bit touchy at times. Retry setting up your workspace directory (making sure there's a link to it from simics). Then cd into the workspace directory, and try doing a make ruby or a make opal from there. Sometimes this helps gets things set up. Somehow the make scripts aren't seeing your simics install directory though, so double check you have a link to the install directory from simics_exec. Sometimes just trying everything multiple times from different machines can help... Wish I could be more specific.
Phil
On Jan 5, 2011, at 2:28 AM, Tianyi Wang wrote:
> Hi, guys
>
> I know this is old question, I have gone through most of the threads but still can't figure it out.
>
> I got problem when compiling ruby.
>
> No rule to make target 'simics/api.h', needed by 'x86-linux/generated/MOSI_SMP_bcast/obj/attrparse.o'. Stop.
>
> According to Dan Gibson's response, he said "you need to specify the location of the headers (point 7, bullet 2 on the setup for simics 3.0.x page, http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/Setup_for_Simics_3.0.X) and set your SIMICS_VERSION flag in Makefile.SIMICS_VERSION appropriately (bullet 1), but I'm not sure whether I did it right.
>
> Here is what I did.
>
> I'm using GEMS 2.1.1 and Simics 3.0.31,
> 1) In Makefile.SIMICS_VERSION, I modified "SIMICS_VERSION=3.0".
> 2) In /gems/common/makefile.common, I set "SIMICS_INCLUDE_ROOT := $(simics-3.0.31)/src/include" * [simics-3.0.31] is the folder I installed Simics.
> 3) I did what the tutorials asked me to do "Setup_for_Simics_3.0.X" and everything in "Quick start" before compiling ruby.
>
> If anyone can help I really appreciate it and please give me a detailed answer.
>
> Thanks,
>
> Tianyi
> _______________________________________________
> 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.
>
|