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 |
|
|
|
![]() |
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: |
|
|
|
doc Cross-Compile Basic Path Problem...help!!! Mar 16 2004, 11:44 AM
BlackCardinal It sounds to me like your linker is only using the... Mar 16 2004, 12:00 PM
doc That didn't seem to work, but it sounds like that ... Mar 16 2004, 12:04 PM
markb Hi Doc,
You're not the 1st to have this problem.
... Mar 16 2004, 12:17 PM
lardman Hear hear to markb's post.
Where are people getti... Mar 16 2004, 02:17 PM
markb I can't remember where I got my setup scripts from... Mar 16 2004, 02:47 PM
doc Thanks! Mar 16 2004, 03:33 PM
doc Ok, no go still. The script may be wrong but here... Mar 17 2004, 05:25 AM
lardman So do you have libuuid.so.1 and libjpeg.so.62 in /... Mar 17 2004, 06:26 AM
doc yes/no
libuuid.so is in /opt/Qtopia/sharp/lib whic... Mar 17 2004, 06:35 AM
doc I should have paid more attention to:
http://www.... Mar 17 2004, 07:21 AM
BlackCardinal You know, instead of just commenting out the LD_LI... Mar 17 2004, 09:43 AM
markb The fixed env setup script dev-arm-qpe.sh has been... Mar 17 2004, 12:32 PM
lardman @blackcardinal: But LD_LIBRARY_PATH should never b... Mar 18 2004, 04:32 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 01:45 PM |