Re: [Gems-users] Help needed in Compiling Ruby


Date: Fri, 27 Apr 2007 14:52:59 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] Help needed in Compiling Ruby
Simics is probably looking for libsimics-common.so. You want to modify your linker flags (in ruby/module/Makefile) to look for shared libraries in [path-to-libsimics]. Alternatively, you can try copying libsimics-common.so to a spot that your linker expects to find shared libraries, like /lib or /usr/lib.

If those quick fixed don't work, I'd suggest starting with a new GEMS install and retrying the Wiki steps. Sometimes a step is missed along the way...

Regards,
Dan

Sreenivasan Padmanabhan wrote:
Hi Dan,
Can you be more specific on where to include the simics-common.so file. A silly question. We are only able to find libsimics-common.so and simics-common files. Which file were you mentioning?

Sreenivasan

Sreenivasan Padmanabhan wrote:
Hi,
We tried compiling ruby over Simics. We are getting the following error... Can someone help us out.

Error message:
----------------
=== Building module "ruby" ===
make[2]: Entering directory `/home/ee382n10/gems/simics_3_workspace/amd64-linux/obj/modules/ruby'
Using the Simics 3.0 API for ruby module
CCLD    ruby.so
*/usr/bin/ld: cannot find -lsimics-common
collect2: ld returned 1 exit status
make[2]: *** [/home/ee382n10/gems/simics_3_workspace/amd64-linux/lib/ruby.so] Error 1* make[2]: Leaving directory `/home/ee382n10/gems/simics_3_workspace/amd64-linux/obj/modules/ruby'
make[1]: *** [ruby] Error 2
make[1]: Leaving directory `/home/ee382n10/gems/simics_3_workspace'
make: *** [all] Error 2


Sreenivasan

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

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