Qtopia 1.7 App: executing on mini2440 gives relocation error

Post Reply
khire_s
Posts: 12
Joined: Wed Sep 23, 2009 9:52 pm
Location: Pune
Contact:

Qtopia 1.7 App: executing on mini2440 gives relocation error

Post by khire_s » Wed Sep 30, 2009 10:17 am

Hello,

I am using mini2440 board with 3.5 inch Touch pad, with Linux and Qtopia 1.7
Using qtopia 1.7 SDK, KDevelop IDE and arm-linux gcc cross-toolchain 2.95.3

I have ceated a Qtopia application in KDevelop C++. It is working fine for native (i386 Linux with FC10)
I sucessfully cross compiled it with arm-linux-gcc 2.95.3, and downloaded the executable on my mini2440 board at location /usr/sbin
When I executed it on the board using minicom terminal
it gave me following error:-

> [root@FriendlyARM /]# /usr/sbin/qtopiatest1 -qws &
> [root@FriendlyARM /]# /usr/sbin/qtopiatest1: error while loading shared libraries: libqtopia.so.1: cannot open shared object file: No such y
>
> [1] + Done(127) /usr/sbin/qtopiatest1 -qws
>
//////////////////

So to resolve this error I set the LD_LIBRARY paths on the board as follows:-

[root@FriendlyARM sbin]# export LD_LIBRARY_PATH=/opt/qt/lib:$LD_LIBRARY_PATH
[root@FriendlyARM sbin]#
[root@FriendlyARM sbin]# echo $LD_LIBRARY_PATH
/opt/qt/lib:/opt/qtopia/lib:
[root@FriendlyARM sbin]#
////////////////

But this time I got relocation error as follows:-

[root@FriendlyARM sbin]#
[root@FriendlyARM sbin]# ./qtopiatest1
./qtopiatest1: relocation error: ./qtopiatest1: undefined symbol: _7QString.shared_null
[root@FriendlyARM sbin]#

Can you please help me getting out of above relocation error?

Thanks and Regards,

Satish K

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests