Re: [Gems-users] Ruby compile fail, g++: could


Date: Sun, 31 Aug 2008 10:20:23 +1200
From: "Fuad Tabba" <fuad@xxxxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] Ruby compile fail, g++: could
Hi Patrick,

I apologize if I'm stating the obvious, but have you followed the instructions at:-
http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/Setup_for_Simics_3.0.X [if you're using simics 3]
http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/Setup [for simics 2]

particularly the last step? These documents mention all the places in the configuration and make files that need to be adjusted for different environments...

Plus more info on your environment could be helpful, which linux distro are you running, simics version, gcc version, etc...

Cheers,
/Fuad


On Sun, Aug 31, 2008 at 3:45 AM, Teague, Patrick <patrick.teague@xxxxxxxxxxx> wrote:
Somewhere in all the continuous lines of makefiles, the path to g++/gcc is getting really messed up.  I don't know why this is.

pj@bagend:~/gems/ruby$ make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast
ls: cannot access generated/MOSI_SMP_bcast/*.C: No such file or directory
Ruby: Building protocol: MOSI_SMP_bcast
Ruby: Making slicc
cd ../slicc; make
make[1]: Entering directory `/home/pj/gems/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory `/home/pj/gems/slicc'
make[2]: `generated/generated' is up to date.
make[2]: Leaving directory `/home/pj/gems/slicc'
SLICC: Building slicc executable
make amd64-linux/bin/slicc.exec
make[2]: Entering directory `/home/pj/gems/slicc'
/usr/bin/g++ -V 3.4.6 -o amd64-linux/obj/parser.o -c generated/parser.c -DYY_NO_UNPUT -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused  -m64 -march=x86-64 -fPIC -g -ggdb -g3 -O2 -finline-functions -DNO_VECTOR_BOUNDS_CHECKS -DMULTIFACET_NO_OPT_WARN   -I. -I../common -Igenerated -Isymbols -Igenerator -Iast
-----------------------
g++: couldn't run '/usr/bin/x86_64-linux-gnu-gcc-3.4.6': No such file or directory
-----------------------
make[2]: *** [amd64-linux/obj/parser.o] Error 1
make[2]: Leaving directory `/home/pj/gems/slicc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/pj/gems/slicc'
make: *** [all] Error 2

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