It appears that gcc has not been installed on these
machines. You should use their native C compiler cc.
For the make files in this class, you can direct indicate
the choice of compiler with the directive:
make CC=cc ...
Also what you get if you telnet to sun4.andrew.cmu.edu