Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems compoling ctwm

Status
Not open for further replies.

relz

Technical User
Joined
May 5, 2002
Messages
23
Location
IL
Hi,
I'm trying to install a window manager called CTWM it can be seen at:
But when I run 'make' I get stuck with this message:

[0]root@slicer:/usr/local/ctwm-3.6#make
/usr/ccs/bin/yacc -d gram.y

conflicts: 8 shift/reduce
mv y.tab.c gram.c
mv y.tab.h gram.h
cc -O -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -DUSEM4 -DXPM -c -o gram.o gram.c
ucbcc: unrecognized option `-Xs'
ucbcc: unrecognized option `-Xc'
ucbcc: language cg92 not recognized
ucbcc: gram.c: linker input file unused because linking not done
ucbcc: -lucb: linker input file unused because linking not done
ucbcc: -lsocket: linker input file unused because linking not done
ucbcc: -lnsl: linker input file unused because linking not done
ucbcc: -lelf: linker input file unused because linking not done
ucbcc: -laio: linker input file unused because linking not done
/usr/ccs/bin/lex -t lex.l > lex.c
cc -O -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -DUSEM4 -DXPM -c -o lex.o lex.c





And it goes on and on...
Does any one know what are those flags '-Xc' and '-Xs' that aren't recognized, and how do I get around the problem?
 
Try using the gcc compiler.. (Gnu C Compiler).

Free package, download and install from
Make sure the compiler is pathed correctly after install..

Good luck.
 
I always preffer using gcc, it seems to work better usually, but this time when I changed the makefile to set the variable CC = gcc I got exactly the same errors.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top