: I've written a C program with Tk_CreateMainWindow, but when I compile,
: all the X procedures come up undefined. Is there something else I should
: have that I do not? Thanks.
Did you put -lX11 after -ltk? The order of the libraries is important.
Ioi