problem compiling my program on linux

I wanted to compile and run my openGL program on linux which I run like this…

gcc myProgram.c -o myProgram -lGL -lGLU -lglut -lfreeimage -lX11 -lXi -Xmu 

And I get following error


gcc: unrecognized option '-Xmu'
/usr/local/lib64/libglut.so: undefined reference to `XmuLookupStandardColormap'
collect2: ld returned 1 exit status

I know it is vague description but any suggestion would mean a lot.

-lXmu
Do not forget the ‘l’ …

yeah that work…thank you…now i have another error…


GLUT: Fatal Error in myProgram: could not open display: