can`t find -lXm

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
can`t find -lXm

Submitted by Anonymous on Mon, 11/11/2002 - 04:06. General Questions
Hi,

I`ve been tring to compile simple C++/Motif program but I got this message. Can anyone tell me what I have to do to run this program...? ( I just upgraded, of course, with with developer`s packages.)

// Error messages
g++ -o ttt -g -lXm -lXt -lX11 ttt-main.o game.o board.o dialog.o
/usr/i486-suse-linux/bin/ld cannot find -lXm
collect2 ld returned 1 exit status
make *** [ttt] Error 1

Anonymous

im not sure about g++ but in gcc, you would put -L/usr/X11R6/lib

My system cant seem to find anything unless i tell it where it is hehe.