Dan, I am using gcc 3.4.4, g++ 3.4.4, Ubuntu OS, simics 2.0.25, gems release 1.0 After I entered simics, load the checkpoint (clean one I started from scratch), I loaded ruby module: >load-module ruby successful installation of the ruby timing model. Warning : The 'ruby' module unexpectedly defined the 'ruby' class Then I tried simics>ruby0.init Unknown command 'ruby0.init'. All other commands failed, either with "Unknown command 'xxx'." or "Parse error: No name space 'xxx'" All other things are just like what's told in quickstart. Thank you
Dan Gibson <degibson@xxxxxxxx> wrote: Once again, can you please provide the specific error message?
Chenjie Yu wrote: Thank you very much for your ply, Dan. You are right about the warnings. However, I still think they are the very reason why my ruby module cannot function. My problem is, after the ruby is loaded, with that warning, it cannot function. Seems no command goes with this module. I looked back into how it is built, and found that warning after some saying: Creating command for the module. And no other warning appeared. That's why I suppose this warning interferes the commands of this module. How do you think? Hi Chenjie,
Let me address each of the messages you have received separately.
The message: "WARNING: The 'extension-makefile' is obsolete. Used by the 'ruby' module." is not a problem. It is part of the usual compilation process, and doesn't affect Ruby at all.
I have to guess at what your other error might be (please provide specific error messages for more clarity), but I imagine it is something to the tune of: "Module ruby unexpectedly defined class 'ruby'".
If that is the case, then this warning message is also irrelevant. It is an artifact of how Ruby makes (limited) use of the Simics inter-module communication functionality.
Regards, Dan Gibson
Chenjie Yu wrote: Hi, I am using ruby in my research. I did as the quickstart told. There is a warning in building ruby module: WARNING: The 'extension-makefile' is obsolete. Used by the 'ruby' module. I don't see other warnings. Then I used simics and loaded ruby. I saw a warning, say ruby defined a class 'ruby'. And this ruby module cannot do anything. Does anyone have a clue? Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
_______________________________________________ Gems-users mailing list Gems-users@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/gems-users
_______________________________________________ Gems-users mailing list Gems-users@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/gems-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
_______________________________________________ Gems-users mailing list Gems-users@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/gems-users
_______________________________________________ Gems-users mailing list Gems-users@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/gems-users
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
|