You need to provide your link line. You should also confirm that where the libs actually exist on your system. With these two pieces of info, the problem should be solvable.
You might also look at a couple other postings. Getting these link lines right for the first "Hello World" program is a common first problem.
Do you tell it where the libs are using something like
gcc xyz.c -L/usr/X11R6/lib -lXm , etc...
If not, please send a one liner to indicate how you are trying to compile.
-scorch
You gave no indication of what the errors are, but I suspect that you need to make sure you link in the printing libs with -lXp on your link line.
it tells me it can`t find the libs at all.
You need to provide your link line. You should also confirm that where the libs actually exist on your system. With these two pieces of info, the problem should be solvable.
You might also look at a couple other postings. Getting these link lines right for the first "Hello World" program is a common first problem.
Regards,
Mark
Do you tell it where the libs are using something like
gcc xyz.c -L/usr/X11R6/lib -lXm , etc...
If not, please send a one liner to indicate how you are trying to compile.
-scorch