[Gems-users] Problem when compiling ruby


Date: Wed, 5 Jan 2011 08:28:51 +0000
From: Tianyi Wang <tiawang@xxxxxxx>
Subject: [Gems-users] Problem when compiling ruby
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
[← Prev in Thread] Current Thread [Next in Thread→]