OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Cross-Compile Basic Path Problem...help!!!
doc
post Mar 16 2004, 11:44 AM
Post #1





Group: Members
Posts: 191
Joined: 16-March 04
From: Indianapolis
Member No.: 2,346



I'm trying to cross-compile just the basic Qtopia example. I followed the instructions for "Red Hat 9" and am able to get the qvfb x86 version working, but when I source the dev-arm-qpe.sh script, I can't do anything.

I try to build the Makefile using "tmake -o Makefile example.pro"
and get the message:

/usr/bin/perl: error while loading shared libraries: /opt/Qtopia/sharp/lib/libc.so.6: ELF file OS ABI invalid

Even just doing an "ls" I get errors!

ls: error while loading shared libraries: /opt/Qtopia/sharp/lib/libc.so.6: ELF file OS ABI invalid

I'm sure it is a path problem, when I run the dev-x86-qpe.sh script, everything works just fine and my paths look like:

echo $LD_LIBRARY_PATH
/opt/Qtopia/lib:/usr/local/lib:/home/mcdoc/lib:

echo $PATH
/opt/Qtopia/bin:/opt/Qtopia/bin:/home/mcdoc/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/java/j2re1.4.2_02/bin:.:/opt/Embedix/tools/arm-linux/bin

When I run the dev-arm-qpe.sh script my paths look like:

echo $LD_LIBRARY_PATH
/opt/Qtopia/sharp/lib:/usr/local/lib:/home/mcdoc/lib:

echo $PATH
/opt/Qtopia/sharp/bin:/opt/Qtopia/sharp/bin:/opt/Embedix/tools/arm-linux/bin:/home/mcdoc/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/java/j2re1.4.2_02/bin:.

Am I seriously overlooking something???

Can anyone clue me in???

Thanks,
Doc
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
BlackCardinal
post Mar 18 2004, 07:48 PM
Post #2





Group: Members
Posts: 70
Joined: 9-March 04
From: Albany, Oregon USA
Member No.: 2,232



lardman,

That's a very good point. Why would you need to change dynamic libraries for cross compiling? Sorry, I guess wasn't thinking very thoroughly here. I just saw there were library paths being changed and jumped to a conclusion. :oops:
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2014 - 09:56 AM