Re: [Gems-users] ruby compilation error


Date: Sat, 20 Oct 2007 21:45:45 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] ruby compilation error
Sometimes after making changes the .d files can be out-of-date. However, unless there have been some serious changes since I last looked at Ruby, the .d files should disappear on a 'make clean'

Regards,
Dan

Carole-Jean Wu wrote:
Hello Dan,
    Thanks! It compiles now. Does that mean everytime after I make clean, I'll have to delete the .d files manually?

Thanks again,
Carole

On 10/20/07, Dan Gibson <degibson@xxxxxxxx> wrote:
Hmm, thats right. My mistake -- I forgot about Global with a capital G.

Try a make clean to get rid of the .d files and them make again.


Regards,
Dan

Carole-Jean Wu wrote:
Hello Dan,
   The Global.h file is located in ruby/common/. It is a separate one from global.h in simics' folder right?


thanks,
Carole

On 10/19/07, Dan Gibson <degibson@xxxxxxxx> wrote:
That error is characteristic of GEMS not being able to find Simics. Make sure all your various SIMICS_VERSION and path variables are properly set. Global.h part of the Simics API.

You can also, just for fun, run 'configure' on Simics again, and verify that soft links to ruby's code are in-place.

Regards,
Dan

Carole-Jean Wu wrote:
Hello,

Does anyone know what might be wrong? I got this message when making ruby.

Template closure done
Made module
make[1]: Leaving directory `/home/carolewu/GEMS-1.4/ruby'
Ruby: Linking simics module
cd ../simics/x86-linux/lib; make ruby
make[1]: Entering directory `/home/carolewu/GEMS-1.4/simics-2.2.19/x86-linux/lib'
=== Building module "ruby" using the 2.0 API ===
gmake[2]: *** No rule to make target `Global.h', needed by `ruby.d'.  Stop.
make[1]: *** [ruby] Error 2
make[1]: Leaving directory `/home/carolewu/GEMS-1.4/simics-2.2.19/x86-linux/lib'
make: *** [all] Error 2

p.s. I checked that ln -s $GEMS/simics-2.2.19 $GEMS/simics


Thanks,
Carole

_______________________________________________ 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.




_______________________________________________ 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.




_______________________________________________ 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→]