Re: [Gems-users] Error loading ruby in Gems 2.0


Date: Fri, 19 Oct 2007 13:53:45 -0500
From: Jayaram Bobba <bobba@xxxxxxxxxxx>
Subject: Re: [Gems-users] Error loading ruby in Gems 2.0
SIM_hap_register_callback seems to have been removed in simics 3.0.x
I believe it is only used to install logtm-specific callbacks. So if you are not using
TM functionality you could comment it out safely in $GEMS/ruby/module/ruby.c
If you plan on using TM functionality, you should convert SIM_hap_register_callback to SIM_hap_add_callback. It should be fairly easy. Look around the code in ruby.c
for examples.

Jayaram

Hemayet Hossain wrote:
Hi,
I was trying to use gem 2.0 and for that installed with simics 3.0.14. I could compile both ruby and opal without any error with protocol "MSI_MOSI_CMP_directory". While I try to load ruby I get the following error...
------------------------------------------------------------------------------------------------------------------------------------------
Error loading module 'ruby': Failed to load module 'ruby' ('/home/vax4/p2/arch/hossain/gems-2.0/workspace/amd64-linux/lib/ruby.so'): "undefined symbol: SIM_hap_register_callback"
------------------------------------------------------------------------------------------------------------------------------------------
Can anyone plz tell me what's the mistake I am making?
Thanks,
Hemayet
_______________________________________________
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→]