Re: [Gems-users] Ruby Compilation Error


Date: Tue, 8 Apr 2008 17:50:57 -0400
From: Olya Krachina <okrachin@xxxxxxxxxx>
Subject: Re: [Gems-users] Ruby Compilation Error
hi,
i had a similar error (api.h not found, and this file *should* exist if you 
have the right version for your host), my problem was that in 
$GEMS/common/Makefile.common file SIMICS_INCLUDE_ROOT needed the FULL path for 
the include/ directory. 


Quoting hb166307@xxxxxxxx:

> I have the version number in Makefile.simics_version set to 3.0
> I ran $GEMS/scripts/calc_host.sh and got x-86-CYGWIN_NT-5.1 
> $SIMICS/configure --with-host=x-86-CYGWIN_NT-5.1 say not available in Simics
> 
> Distibution, so do I use x-86-linux?
> 
> -----------------------------------------------------------------------------
> Quoting Dan Gibson <degibson@xxxxxxxx>:
> 
> > This usually means that your SIMICS_VERSION variable is improperly
> > set 
> > in Makefile.simics_version, or you haven't run ../configure from
> > Simics. 
> > In short -- Ruby cannot locate the Simics API headers.
> > 
> > Regards,
> > Dan
> > 
> > hb166307@xxxxxxxx wrote:
> > > Hello all, 
> > >
> > > Has anyone run into an error similar to the one below:
> > > I took a look at the makefile in ruby and found no api.h, but a 
> > > simics_api_dummy.c. I did find a mf_api.h in the \ruby\interfaces
> > directory 
> > > though, but I am stuck here. Thanks in advance!
> > >
> >
> ----------------------------------------------------------------------------
> > >
> > > make[1]: Leaving directory
> > `/home/Administrator/GEMS/gems-2.1/ruby'
> > > make[1]: Entering directory
> > `/home/Administrator/GEMS/gems-2.1/ruby'
> > > make[1]: Circular
> > x86-CYGWIN_NT-5.1/generated/MOSI_SMP_bcast/obj/init.o <- 
> > > defau
> > > lt_param.h dependency dropped.
> > > make[1]: *** No rule to make target `simics/api.h', needed by
> > `x86-CYGWIN_NT-
> > > 5.1
> > > /generated/MOSI_SMP_bcast/obj/attrparse.o'.  Stop.
> > > make[1]: Leaving directory
> > `/home/Administrator/GEMS/gems-2.1/ruby'
> > > make: *** [all] Error 2
> > > _______________________________________________
> > > 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!
> > 
> > _______________________________________________
> > 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.
> > 
> > 
> _______________________________________________
> 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.
> 
> 


[← Prev in Thread] Current Thread [Next in Thread→]