[Gems-users] Loading opal error in GEMS2.0


Date: Sun, 25 Nov 2007 10:07:21 +0800
From: "wangyong" <wangyong@xxxxxxxxxxx>
Subject: [Gems-users] Loading opal error in GEMS2.0
Hello everyone,
Ruby is loaded ok after I comment the function SIM_hap_register_callback in ruby.c, and the opal is also compiled ok,but when I load the module "opal", I meet the same problem as Hemayet Hossain's .I want to konw how to solve this problem, thank you!
Error loading module 'opal': Failed to load module 'opal' ('/root/gems-2.0/simcis_3_workspace/x86-linux/lib/opal.so')"undefined symbol: _ZN22generic_cache_templateI21generic_cache_block_tE12OracleAccessEy"
 
GCC version:4.2.2
simics version:3.0.30
gems:2.0
 
 
 

wangyong
2007-11-25

Hemayet Hossain wrote:
Hi Jayaram,
Thanks a lot. Doing as you suggested solved ruby problem. But I amfacing another problem with opal. I am getting following error message while loading opal.
------------------------------------------------------------------------------------------------------------------------------------------
Error loading module 'opal': Failed to load module 'opal' ('/home/vax4/p2/arch/hossain/gems-2.0/workspace/amd64-linux/lib/opal.so'): "undefined symbol: _ZN22generic_cache_templateI21generic_cache_block_tE12OracleAccessEy"
------------------------------------------------------------------------------------------------------------------------------------------

Can you please suggest something?
Thanks,
Hemayet


Jayaram Bobba wrote:
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.
_______________________________________________
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→]
  • [Gems-users] Loading opal error in GEMS2.0, wangyong <=