Re: [Gems-users] GEMS release 1.3 compiling error


Date: Thu, 24 Aug 2006 16:43:46 -0500
From: "Lei Yang" <lya755@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] GEMS release 1.3 compiling error
The makefiles are there. Here is the ls result. Thank you!!

lei@suzhou:/newhd2/gems/simics/modules> ls -Ral
.:
total 0
drwxr-xr-x    5 lei      lei           128 2006-08-23 15:16 .
drwxr-xr-x    6 lei      lei           432 2006-08-24 00:11 ..
drwxr-xr-x    2 lei      lei           184 2006-08-23 15:16 opal
drwxr-xr-x    2 lei      lei           184 2006-08-24 17:02 ruby
drwxr-xr-x    2 lei      lei           168 2006-08-23 15:16 tourmaline

./opal:
total 0
drwxr-xr-x    2 lei      lei           184 2006-08-23 15:16 .
drwxr-xr-x    5 lei      lei           128 2006-08-23 15:16 ..
lrwxrwxrwx 1 lei lei 32 2006-08-23 15:16 commands.py -> ../../../opal/module/commands.py lrwxrwxrwx 1 lei lei 31 2006-08-23 15:16 hfa_init.h -> ../../../opal/system/hfa_init.h lrwxrwxrwx 1 lei lei 29 2006-08-23 15:16 Makefile -> ../../../opal/module/Makefile lrwxrwxrwx 1 lei lei 27 2006-08-23 15:16 opal.c -> ../../../opal/module/opal.c lrwxrwxrwx 1 lei lei 27 2006-08-23 15:16 opal.h -> ../../../opal/module/opal.h

./ruby:
total 0
drwxr-xr-x    2 lei      lei           184 2006-08-24 17:02 .
drwxr-xr-x    5 lei      lei           128 2006-08-23 15:16 ..
lrwxrwxrwx 1 lei lei 31 2006-08-23 15:16 commands.h -> ../../../ruby/simics/commands.h lrwxrwxrwx 1 lei lei 32 2006-08-23 15:16 commands.py -> ../../../ruby/module/commands.py lrwxrwxrwx 1 lei lei 29 2006-08-23 15:16 Makefile -> ../../../ruby/module/Makefile lrwxrwxrwx 1 lei lei 33 2006-08-23 15:16 mf_api.h -> ../../../ruby/interfaces/mf_api.h lrwxrwxrwx 1 lei lei 27 2006-08-23 15:16 ruby.c -> ../../../ruby/module/ruby.c

./tourmaline:
total 0
drwxr-xr-x    2 lei      lei           168 2006-08-23 15:16 .
drwxr-xr-x    5 lei      lei           128 2006-08-23 15:16 ..
lrwxrwxrwx 1 lei lei 37 2006-08-23 15:16 commands.h -> ../../../tourmaline/simics/commands.h lrwxrwxrwx 1 lei lei 38 2006-08-23 15:16 commands.py -> ../../../tourmaline/module/commands.py lrwxrwxrwx 1 lei lei 35 2006-08-23 15:16 Makefile -> ../../../tourmaline/module/Makefile lrwxrwxrwx 1 lei lei 39 2006-08-23 15:16 tourmaline.c -> ../../../tourmaline/module/tourmaline.c

lei@suzhou:/newhd2/gems/simics> ls -al
total 53
drwxr-xr-x    6 lei      lei           432 2006-08-24 00:11 .
drwxr-xr-x   12 lei      lei           464 2006-08-24 00:32 ..
-rw-r--r--    1 lei      lei           339 2006-08-23 15:14 compiler.mk
-rw-r--r--    1 lei      lei           566 2006-08-23 15:14 config.mk
-rw-r--r--    1 lei      lei          1419 2006-08-23 15:14 GNUmakefile
lrwxrwxrwx    1 lei      lei             7 2006-08-23 15:16 home -> targets
lrwxrwxrwx 1 lei lei 34 2006-08-23 15:16 import -> /opt/virtutech/simics-3.0.4/import
-rw-r--r--    1 lei      lei         27778 2006-08-24 00:11 .modcache
drwxr-xr-x    5 lei      lei           128 2006-08-23 15:16 modules
-rwxr-xr-x    1 lei      lei           205 2006-08-23 15:14 simics
-rwxr-xr-x    1 lei      lei           252 2006-08-23 15:14 simics-eclipse
-rw-r--r--    1 lei      lei           604 2006-08-24 00:11 .simics-log
drwxr-xr-x   16 lei      lei           472 2006-08-23 15:16 targets
drwxr-xr-x 2 lei lei 88 2006-08-23 15:14 .workspace-properties
drwxr-xr-x    5 lei      lei           136 2006-08-24 00:11 x86-linux


lei@suzhou:/newhd2/gems/simics/x86-linux/obj> ls -Ral
.:
total 0
drwxr-xr-x    3 lei      lei            72 2006-08-24 00:11 .
drwxr-xr-x    5 lei      lei           136 2006-08-24 00:11 ..
drwxr-xr-x    4 lei      lei            96 2006-08-24 00:35 modules

./modules:
total 0
drwxr-xr-x    4 lei      lei            96 2006-08-24 00:35 .
drwxr-xr-x    3 lei      lei            72 2006-08-24 00:11 ..
drwxr-xr-x    2 lei      lei           112 2006-08-24 01:16 opal
drwxr-xr-x    2 lei      lei           112 2006-08-24 00:21 ruby

./modules/opal:
total 8
drwxr-xr-x    2 lei      lei           112 2006-08-24 01:16 .
drwxr-xr-x    4 lei      lei            96 2006-08-24 00:35 ..
-rw-r--r--    1 lei      lei           919 2006-08-24 01:16 module_id.c
-rw-r--r--    1 lei      lei          1048 2006-08-24 01:16 module_id.d

./modules/ruby:
total 8
drwxr-xr-x    2 lei      lei           112 2006-08-24 00:21 .
drwxr-xr-x    4 lei      lei            96 2006-08-24 00:35 ..
-rw-r--r--    1 lei      lei           919 2006-08-24 00:21 module_id.c
-rw-r--r--    1 lei      lei          1048 2006-08-24 00:21 module_id.d




----- Original Message ----- From: "Dan Gibson" <degibson@xxxxxxxx>
To: "Gems Users" <gems-users@xxxxxxxxxxx>
Sent: Thursday, August 24, 2006 8:01 AM
Subject: Re: [Gems-users] GEMS release 1.3 compiling error


Lei,
I remember having a similar error when I was figuring out how to port
GEMS to Simics 1.3. The issue was because I didn't have my symbolic
links properly set... that is... $SIMICS_WORKSPACE/modules/Makefile (and
other symlinks to the ruby tree) didn't exist. Can you verify the links?

If the links are there, can you give me an "ls -al" on your Simics
workspace directory, as well as an ls -al on workspace/[platform]/obj?

Regards,
Dan

PS Simics 3.0.4 is NOT tested with GEMS -- the earliest Simics 3 that
GEMS is known to work with is GEMS 3.0.11... FYI.

lya755@xxxxxxxxxxxxxxxxxxxx wrote:
Hi list,

I am trying to setup GEMS release 1.3 with Simics 3.0.4. I followed the
instructions on
http://www.cs.wisc.edu/gems/doc/wiki/moin.cgi/Setup_for_Simics_3.0.X

However, compiling ruby gives me the following error after seeing a lot of
stuff on the screen:

touch x86-linux/generated/MOSI_SMP_bcast/bin/ruby.closure
Template closure done
Made module
make[1]: Leaving directory `/newhd2/gems/ruby'
Ruby: Linking simics module
cd ../simics; make ruby
make[1]: Entering directory `/newhd2/gems/simics_3_workspace'
make[2]: Entering directory `/newhd2/gems/simics_3_workspace/x86-
linux/obj/modules/ruby'
make[2]: *** No rule to make target `ruby.o', needed by
`/newhd2/gems/simics_3_workspace/x86-linux/lib/ruby.so'.  Stop.
make[2]: Leaving directory `/newhd2/gems/simics_3_workspace/x86-
linux/obj/modules/ruby'
make[1]: *** [ruby] Error 2
make[1]: Leaving directory `/newhd2/gems/simics_3_workspace'
make: *** [all] Error 2

Similarly, compiling opal gives me this error:

make[1]: Leaving directory `/newhd2/gems/opal'
Opal: Linking simics module
cd ../simics; make opal
make[1]: Entering directory `/newhd2/gems/simics_3_workspace'
make[2]: Entering directory `/newhd2/gems/simics_3_workspace/x86-
linux/obj/modules/opal'
        module_id.c
DEP     module_id.d
make[2]: Leaving directory `/newhd2/gems/simics_3_workspace/x86-
linux/obj/modules/opal'
make[2]: Entering directory `/newhd2/gems/simics_3_workspace/x86-
linux/obj/modules/opal'
make[2]: *** No rule to make target `opal.o', needed by
`/newhd2/gems/simics_3_workspace/x86-linux/lib/opal.so'.  Stop.
make[2]: Leaving directory `/newhd2/gems/simics_3_workspace/x86-
linux/obj/modules/opal'
make[1]: *** [opal] Error 2
make[1]: Leaving directory `/newhd2/gems/simics_3_workspace'
make: *** [module] Error 2


I'd appreciate if somebody could give me a hint on how to get over this.
Thanks in advance!!

Lei

_________________________________________________________
This message was sent through the NU ECE webmail gateway.
_______________________________________________
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→]