pls help, powerpclinux gcc problem for embedding motif
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
pls help, powerpclinux gcc problem for embedding motif
i am new to linux just 2 months and have been assigned to develop an application in motif(Xm) and then create its binary fil to be run on pwerpc.
i successfully implemented Xt and X11 code on (Embedded linux developmnt kit ELDK )using CROSSCOMPILER but the embedded linux gcc gives error on Xm code that
/bin/ld: cant find lXm
and if i provide link to the motif libraries it says incompatible version of libXm.so
anyone please suggest where i am wrong and what should i do how to give ppc-linux gcc's ld the Xm libraries
BY THE WAY I HAVE INSTALLED Lesstif 0.9.5.2 and want to design app for powerpc 74xx series
yes i tried recompiling
i also tried to remove lesstif and install openmotif
but tsill the same
if i provide the library paths using -L/path/ it gives error "skipping incompatible libXm.so" and the "/usr/bin/ld: cannot find -lXm"
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,302
Rep:
*
Cross compiling an application depending on
e.g. libXm : You will have to cross compile (all)
the dependency / dependencies before the application
and "export" the location, when cross compiling the
application.
.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.