I think CC is set to /dev/null when something isn't properly configured.
You may want to have a look at $GEMS/common/Makefile.common to see why
/dev/null is selected as your compiler -- its probably because we
haven't tested compilation on your platform.
Regards,
Dan
Heng (Henry) Du wrote:
Hi,
I have another question, do I need use root account to compile GEMS? since I
have encountered the following errors.
make[2]: Leaving directory `/cs/systems/home/hda2/GEMS/slicc'
make[2]: Entering directory `/cs/systems/home/hda2/GEMS/slicc'
mkdir -p sun4v-sol8-64/bin/
touch sun4v-sol8-64/bin/created
/dev/null -o sun4v-sol8-64/obj/parser.o -c generated/parser.c -DYY_NO_UNPUT
-Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused -g -ggdb -g3 -O2
-finline-functions -DNO_VECTOR_BOUNDS_CHECKS -DMULTIFACET_NO_OPT_WARN -I.
-I../common -Igenerated -Isymbols -Igenerator -Iast
make[2]: execvp: /dev/null: Permission denied
make[2]: *** [sun4v-sol8-64/obj/parser.o] Error 127
make[2]: Leaving directory `/cs/systems/home/hda2/GEMS/slicc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cs/systems/home/hda2/GEMS/slicc'
make: *** [all] Error 2
The permission is denied when access /dev/null.
Thanks
Henry
_______________________________________________
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!
|