Programming This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-24-2009, 04:02 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2009
Posts: 4
Rep:
|
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
thanx for helping me in advance
|
|
|
|
06-25-2009, 01:44 PM
|
#2
|
|
LQ Newbie
Registered: Jun 2009
Location: Toronto
Distribution: Ubuntu, Fedora
Posts: 24
Rep:
|
Have you tried rebuilding lesstif from source?
|
|
|
|
06-26-2009, 02:16 AM
|
#3
|
|
LQ Newbie
Registered: Jun 2009
Posts: 4
Original Poster
Rep:
|
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"
please help me
|
|
|
|
06-26-2009, 11:45 AM
|
#4
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,615
|
*
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.
.....
Last edited by knudfl; 06-26-2009 at 11:48 AM.
|
|
|
|
06-27-2009, 07:31 AM
|
#5
|
|
LQ Newbie
Registered: Jun 2009
Posts: 4
Original Poster
Rep:
|
thankyou "knudfl" for your reply but I am a newbie to linux and don't know how to cross compile the dependencies
it would be really helpful if you guide me the process of doing the same
i could tell you
i have lesstif in folder"/home/user1/"
after entering lesstif folder i just used "./configure ,make and then make install" for installling lesstif
to cross compile i have no idea
pls help
any other info needed would be sahred as soon as possible
thanks in advance
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:15 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|