| 
 Hi, 
 
I have installed simics 4.2.8 and  gems release 2.1.........then I patched gems using quilt utility
 
my compiler version is 4.6.1 , so I had to modify some values in makefile.common........another thing is that after patching I could not find a section in the makefile.common for $(simics_version) = 4.2...so I assumed I should add this section: 
ifeq ($(SIMICS_VERSION),4.2) 
  SPECIAL_FLAGS += -DSIMICS42 
  SIMICS_ROOT := $(SIMICS_INSTALL) 
  SIMICS_EXEC_ROOT := $(GEMS_ROOT)/Simics-workspace      #my workspace inside Gems path 
  SIMICS_INCLUDE_ROOT := $(SIMICS_INSTALL)/src/include      #this was -->  #$(GEMS_ROOT)/../install/simics-model-builder-4.2.30/src/include    and I couldnot find simics-model-builder-4.2.30 in the installation path 
 
  SIMICS_API = latest 
else 
 
I am trying now to compile Ruby but I get so many circular dependencies like below : 
make: Circular x86-linux <- x86-linux dependency dropped. 
make: Circular /generated/MOSI_SMP_bcast/obj/attrparse.o <- x86-linux dependency dropped. 
make: Circular x86-linux <- x86-linux dependency dropped. 
make: Circular /generated/MOSI_SMP_bcast/obj/attrlex.o <- x86-linux dependency dropped. 
make: Circular x86-linux <- x86-linux dependency dropped. 
make: Circular /generated/MOSI_SMP_bcast/obj/initvar.o <- x86-linux dependency dropped. 
make: Circular x86-linux <- x86-linux dependency dropped. 
make: Circular /generated/MOSI_SMP_bcast/obj/confio.o <- x86-linux dependency dropped. 
 
and at the end I got an error: 
../common/Makefile.common:184: *** wrong rule.  Stop. 
 
to see more details about the error, I commented these lines in makefile.common: 
#.l.c: 
#    $(error wrong rule) 
 
#.y.c: 
#    $(error wrong rule) 
  
and I got this error: 
bison --verbose --defines ../common/ioutil/attrparse.y  
mv -f y.tab.c attrparse.c 
mv: cannot stat `y.tab.c': No such file or directory 
make: *** [attrparse.c] Error 1 
 
could anyone help me please ?.....I believe that the patching operation is not enough to get it to work, I believe that so many modifications should be made to so many files after the patch!! 
 
 
Thanks alot for any help offer  
 
 |