I'm not sure if this will fix it, but rerun the configure script in  
your simics/x86linux directory, making sure to set the CC and CXX  
parameters.  Not 100% sure it'll fix the problem, but i've found it  
often solves issues like this.
Phil
On Dec 21, 2007, at 3:39 PM, yu-zhang@xxxxxxxxxxxxxxxx wrote:
 
Hi,
 I'm new to GEMS and Simics. I tried to setup GEMS for Simics 3.0.30.  
After modifying the makefiles
according to the instructions on Wiki, I got some error messages  
when compiling ruby. Here is it.
...
 /bin/sh -ec '/usr/bin/g++ -MM -MG -DADD_ARCH_TO_API -DSIMICS30  - 
DIS_RUBY -DTARGET_X86
-DTARGET_VA_BITS=64 -DTARGET_PA_BITS=64   -Wall -W -Wwrite-strings - 
Woverloaded-virtual -Wno-unused
-march=i686 -g -ggdb -g3 -O2 -finline-functions - 
DNO_VECTOR_BOUNDS_CHECKS -DMULTIFACET_NO_OPT_WARN
-DRUBY_DEBUG=false  -Inetwork/simple -I. -I../common -I../common/ 
gzstream -Ibuffers -Icommon
-Islicc_interface -Iprofiler -Iconfig -Ieventqueue -Isystem - 
Iinterfaces -Isimics -Itester
-Irecorder -Ilog_tm -Igenerated/MOSI_SMP_bcast -I../common/ioutil - 
Inetwork
-I../simics_exec/src/include -I../simics_exec/src/include/simics
 -I../simics_exec/src/include/simics/core -I../simics_exec/src/ 
include/simics/arch
-I../simics_exec/src/include/simics/util  generated/MOSI_SMP_bcast/ 
attrparse.c | sed -e
'\''s@^\(.*\)\.o:@x86-linux/generated/MOSI_SMP_bcast/obj/ 
attrparse.d:@'\'' | sed -e
'\''s@^\(.*\)\.d:@\1.d \1.o:@'\'' > x86-linux/generated/ 
MOSI_SMP_bcast/obj/attrparse.d #'
make[1]: Leaving directory `/home/yu/sim/gems-2.0/ruby'
make[1]: Entering directory `/home/yu/sim/gems-2.0/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 `/home/yu/sim/gems-2.0/ruby'
make: *** [all] Error 2
 BTW: My host machine is x86-linux, and target machine is x86. I'm  
using GCC 4.2.1
Would anybody give some help? Thanks a lot
Yu
_______________________________________________
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.
 
 
 
 |