gcc gives me errors when i specify the Xm libs. what`s the problem? P.S. using RH6.2 on x86 |
|||
|
User login |
|
|
All trademarks and copyrights on this page are properties of their respective owners. The rest is copyright © Integrated Computer Solutions Inc., 2003 - 2012 |
Anonymous
linker probs
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.
Anonymous
linker probs
it tells me it can`t find the libs at all.
Mark
linker probs
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
Anonymous
linker probs
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