Motif - RedHat 7.3

Can somebody help me...
I have insalled RedHat 7.3 on my computer
and there is motif 2.x and i want to compile a cource code but it doesn't work it says
Xm/PushB.h not found..something like that..
I'm trying like this :
gcc -o x x.c -lXm -lXt -lX11

pleas help me

Have u installed the full package of GCC?

i think you must install the development package of Motif (sorry, I dont remember the name, openmotif-dev....rpm,lesstiff
dev....rpm????) where the includes of Motif are.
Look in rpmfind.org.

After re-reading your message I see you dont give the path to Motif includes.

Try:

gcc -c -I/usr/...<path to your motif includes> x.c (this produces an x.o file)

and then

gcc -o x x.o -lXm -lXt -lX11

Hope this helps