You need to specify to gcc the X library that contains all those functions. Try something like: gcc -L/usr/X11R6/lib file.c -lXt -lXaw The profileration of those -l options isone reason that makefiles are so popular. Carl