Re: [Gems-users] ruby failing to compile on fresh install


Date: Fri, 20 Oct 2006 16:54:57 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] ruby failing to compile on fresh install
Philip,
Have you set the SIMICS_VERSION flag correctly in Makefile.simics_version? UNKNOWN_SIMICS_VERSION is a dummy error message that the Makefiles insert when they don't comprehend the SIMICS_VERSION variable.

If I remember correctly, SIMICS_VERSION must be set to one of {2.2.X, 3.0.X}. There should be a comment in $GEMS/common/Makefile.simics_version that says what the acceptible values are.

Regards,
Dan

Philip Garcia wrote:

I recently obtained a new workstation, and am having some trouble
getting ruby to compile on it.  Initially I tried simply copying over my
old simics directory, but ran into problems, so I went ahead and
reinstalled gems and simics onto my system (including the new license
file etc).   I'm using gems 1.3 on a ubuntu system, and compiling with
gcc 3.4.6.
When I try to compile I get all sorts of errors, here is a tail of the
errors.  If anyone has seen similar problems or might know of a way to
fix it I'd greatly appreciate it.

thanks,
Phil

g++-3.4: UNKNOWN_SIMICS_VERSION: No such file or directory
/bin/sh -ec 'g++-3.4 -MM -MG -DIS_RUBY -DTARGET_SPARC_V9
-DTARGET_VA_BITS=64 -DTARGET_PA_BITS=64 -Wall -W -Wwrite-strings
-Woverloaded-virtual -Wno-unused  -march=i686 -g -ggdb -g3 -O0 -w
-DSIMICS_2_2 -DSIMICS_2_2  -DRUBY_DEBUG=false  -Inetwork/simple -I.
-I../common -I../common/gzstream -Ibuffers -Icommon -Islicc_interface
-Iprofiler -Iconfig -Ieventqueue -Isystem -Iinterfaces -Isimics -Itester
-Irecorder -Ilog_tm -Inuca -Igenerated/MOSI_SMP_bcast -I../common/ioutil
-Inetwork UNKNOWN_SIMICS_VERSION
generated/MOSI_SMP_bcast/AccessPermission.C | sed -e '\''s@^\(.*
\)\.o:@x86-linux/generated/MOSI_SMP_bcast/obj/AccessPermission.d:@'\'' |
sed -e '\''s@^\(.*\)\.d:@\1.d \1.o:@'\'' >
x86-linux/generated/MOSI_SMP_bcast/obj/AccessPermission.d #'
g++-3.4: UNKNOWN_SIMICS_VERSION: No such file or directory
/bin/sh -ec 'g++-3.4 -MM -MG -DIS_RUBY -DTARGET_SPARC_V9
-DTARGET_VA_BITS=64 -DTARGET_PA_BITS=64 -Wall -W -Wwrite-strings
-Woverloaded-virtual -Wno-unused  -march=i686 -g -ggdb -g3 -O0 -w
-DSIMICS_2_2 -DSIMICS_2_2  -DRUBY_DEBUG=false  -Inetwork/simple -I.
-I../common -I../common/gzstream -Ibuffers -Icommon -Islicc_interface
-Iprofiler -Iconfig -Ieventqueue -Isystem -Iinterfaces -Isimics -Itester
-Irecorder -Ilog_tm -Inuca -Igenerated/MOSI_SMP_bcast -I../common/ioutil
-Inetwork UNKNOWN_SIMICS_VERSION
generated/MOSI_SMP_bcast/AccessModeType.C | sed -e '\''s@^\(.*
\)\.o:@x86-linux/generated/MOSI_SMP_bcast/obj/AccessModeType.d:@'\'' |
sed -e '\''s@^\(.*\)\.d:@\1.d \1.o:@'\'' >
x86-linux/generated/MOSI_SMP_bcast/obj/AccessModeType.d #'
g++-3.4: UNKNOWN_SIMICS_VERSION: No such file or directory
/bin/sh -ec 'g++-3.4 -MM -MG -DIS_RUBY -DTARGET_SPARC_V9
-DTARGET_VA_BITS=64 -DTARGET_PA_BITS=64 -Wall -W -Wwrite-strings
-Woverloaded-virtual -Wno-unused  -march=i686 -g -ggdb -g3 -O0 -w
-DSIMICS_2_2 -DSIMICS_2_2  -DRUBY_DEBUG=false  -Inetwork/simple -I.
-I../common -I../common/gzstream -Ibuffers -Icommon -Islicc_interface
-Iprofiler -Iconfig -Ieventqueue -Isystem -Iinterfaces -Isimics -Itester
-Irecorder -Ilog_tm -Inuca -Igenerated/MOSI_SMP_bcast -I../common/ioutil
-Inetwork UNKNOWN_SIMICS_VERSION  generated/MOSI_SMP_bcast/attrlex.c |
sed -e '\''s@^\(.*
\)\.o:@x86-linux/generated/MOSI_SMP_bcast/obj/attrlex.d:@'\'' | sed -e
'\''s@^\(.*\)\.d:@\1.d \1.o:@'\'' >
x86-linux/generated/MOSI_SMP_bcast/obj/attrlex.d #'
g++-3.4: UNKNOWN_SIMICS_VERSION: No such file or directory
/bin/sh -ec 'g++-3.4 -MM -MG -DIS_RUBY -DTARGET_SPARC_V9
-DTARGET_VA_BITS=64 -DTARGET_PA_BITS=64 -Wall -W -Wwrite-strings
-Woverloaded-virtual -Wno-unused  -march=i686 -g -ggdb -g3 -O0 -w
-DSIMICS_2_2 -DSIMICS_2_2  -DRUBY_DEBUG=false  -Inetwork/simple -I.
-I../common -I../common/gzstream -Ibuffers -Icommon -Islicc_interface
-Iprofiler -Iconfig -Ieventqueue -Isystem -Iinterfaces -Isimics -Itester
-Irecorder -Ilog_tm -Inuca -Igenerated/MOSI_SMP_bcast -I../common/ioutil
-Inetwork UNKNOWN_SIMICS_VERSION  generated/MOSI_SMP_bcast/attrparse.c |
sed -e '\''s@^\(.*
\)\.o:@x86-linux/generated/MOSI_SMP_bcast/obj/attrparse.d:@'\'' | sed -e
'\''s@^\(.*\)\.d:@\1.d \1.o:@'\'' >
x86-linux/generated/MOSI_SMP_bcast/obj/attrparse.d #'
g++-3.4: UNKNOWN_SIMICS_VERSION: No such file or directory
make[1]: Leaving directory
`/mnt/nfs/simics-images/backup/simics-test/ruby'
make[1]: Entering directory
`/mnt/nfs/simics-images/backup/simics-test/ruby'
make[1]: Circular x86-linux/generated/MOSI_SMP_bcast/obj/init.o <-
default_param.h dependency dropped.
make[1]: *** No rule to make target `simics/api.h', needed by
`x86-linux/generated/MOSI_SMP_bcast/obj/attrparse.o'.  Stop.
make[1]: Leaving directory
`/mnt/nfs/simics-images/backup/simics-test/ruby'
make: *** [all] Error 2


_______________________________________________
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→]