This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem compiling motif program


Hi,

yes you are missing the library. Normally it is placed in
/usr/X11R6/lib/libXm.* you can get the sources from
http://www.opengroup.org/openmotif/ but you should be
able to get binary packages as well (could be called
something like libmotif-dev, openmotif etc.).

Note that this kind of questions are off-topic on this list!

Ziza

On Mon, Jan 31, 2005 at 10:38:48AM +0000, Arun Prakash wrote:
> Hi all,
> 
>     i am new to Motif programming. when i complie my
> first motif program, the compiler throws me an error.
> 
> /usr/bin/ld: cannot find -lXm
> collect2: ld returned 1 exit status
> 
> how can i fix this error. i think i am missing Motif
> libraries( am i correct ). 
> if yes where can i find it.
> what is the location of the motif library if it is
> installed in my system?
> 
> thanks in advance.
> Arun Prakash
> 
> 
> 	
> 	
> 		
> ___________________________________________________________ 
> ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
> 

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]