I was compile the source of XFree86-4.0.1 and excute "XFree86 -configure" command.
There is no strange message, so I type the "startx" command.
I've got below error message.

xterm: error in loading shared libraries: libXaw.so.7: cannot open shared object file: No such file or directory

My graphic card is Matrox G400.
Do you have any idea?
Thank you.