Sunday, July 6th 2008, 12:10am UTC+1

You are not logged in.

  • Login
  • Register

21

Tuesday, February 12th 2008, 11:00am

RE: RE:libqt.so.2

hi RamanDeep,

I think that you are doing a little mistake ..............

I have attached the screen shot how both files will look............

Is your files looking same........ Check the properties of link you have made that it is linking to libqt.so.2.3.1.....

And also send me the command your r executing ............
Bargi has attached the following file:
  • Screenshot-.png (33.56 kB - 92 times downloaded - Last download: Jul 2nd 2008, 6:15pm)

This post has been edited 1 times, last edit by "Bargi" (Feb 12th 2008, 11:04am)

  • Go to the top of the page

ramandeep

Trainee

Posts: 99

Location: India

Occupation: embedded software

22

Tuesday, February 12th 2008, 11:29am

RE: RE:libqt.so.2

Hi,
the files look exactly the same....i checked the properties of the link i.e. Link target : /usr/lib/libqt.so.2.3.1
well this is the entire sequence I have followed

ON THE PC
copy the source files hello2.cpp to the location /opt/Embedix/tools/bin
then I carry out the following

[root@localhost ~]# cd /opt/Embedix/tools/bin
[root@localhost bin]# ls
arm-linux-addr2line arm-linux-gasp arm-linux-objdump hello1
arm-linux-ar arm-linux-gcc arm-linux-ranlib hello1.cpp
arm-linux-as arm-linux-gcj arm-linux-readelf hello1.o
arm-linux-c++ arm-linux-ld arm-linux-size hello2
arm-linux-c++filt arm-linux-nm arm-linux-strings hello2.cpp
arm-linux-g++ arm-linux-objcopy arm-linux-strip hello2.o
[root@localhost bin]# ./arm-linux-g++ -I /opt/Qtopia/sharp/include/ -DQWS -fno-rtti -o hello2.o -c hello2.cpp
[root@localhost bin]# ./arm-linux-g++ -L /opt/Qtopia/sharp/lib/ -o hello2 hello2.o -lqte -lqpe -ljpeg -luuid
[root@localhost bin]# ./arm-linux-strip hello2
[root@localhost bin]# file hello2
hello2: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), for GNU/Linux 2.0.0, stripped
[root@localhost bin]# ls
arm-linux-addr2line arm-linux-gasp arm-linux-objdump hello1
arm-linux-ar arm-linux-gcc arm-linux-ranlib hello1.cpp
arm-linux-as arm-linux-gcj arm-linux-readelf hello1.o
arm-linux-c++ arm-linux-ld arm-linux-size hello2
arm-linux-c++filt arm-linux-nm arm-linux-strings hello2.cpp
arm-linux-g++ arm-linux-objcopy arm-linux-strip hello2.o

The executable hello2 which is the output is a ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), for GNU/Linux 2.0.0, stripped

now I transfer the file hello2 to the arm board through ftp

ON THE ARM BOARD
I change permissions on the board and execute it...... get an error
root@ts7000:ramandeep# ls
g.c hello1* hello2* output* outputg*
root@ts7000:ramandeep# chmod 0777 hello2
root@ts7000:ramandeep# ./hello2
./hello2: error while loading shared libraries: libqte.so.2: cannot open shared object file: No such file or directory
root@ts7000:ramandeep#

thanks,
ramandeep
  • Go to the top of the page

23

Tuesday, February 12th 2008, 11:52am

RE: RE:libqt.so.2

Hi RamanDeep,

I have not installed the Arm Board on my system ..........give me link to download and I'll try it on my system.................

You have wait for a little while......... :(
  • Go to the top of the page

ramandeep

Trainee

Posts: 99

Location: India

Occupation: embedded software

24

Tuesday, February 12th 2008, 12:15pm

RE: RE:libqt.so.2

The arm board is an evaluation board of technologic systems
you can visit
www.embeddedarm.com for more info.
they provide certain SBC which we have purchased.mine is ts7300.I have attached the manual.
You can go through it...
ramandeep has attached the following file:
  • Go to the top of the page

25

Tuesday, February 12th 2008, 12:50pm

RE: RE:libqt.so.2

Can u tell me how u upload it to arm board ????
  • Go to the top of the page

ramandeep

Trainee

Posts: 99

Location: India

Occupation: embedded software

26

Tuesday, February 12th 2008, 1:06pm

RE: RE:libqt.so.2

If you mean the code I do that through ftp.We have to configure the board as ftp server,then access the board ,then upload the file on to the board.
once you configure the board you have to just use put <file name> to upload files.

ramandeep

This post has been edited 1 times, last edit by "ramandeep" (Feb 12th 2008, 1:33pm)

  • Go to the top of the page

27

Tuesday, February 12th 2008, 1:51pm

Check for pemissions

Hi RamanDeep,

I was little bit confused by reading the manual..........actually I was predicting that you r doing development locally...........

But u r using separate hardware for this.......

This totally changed the scenario.....

I have no experience in working of ts-7300.....but I'll do my best to resolve it............

Now our approach will be changed.......

First of all tell me, how your ts-7300 hardware interact with your linux OS ?

Is there some option by which you can make link with OS ??

Check that ts-7300 has permissions to access your root directory , if it not then give it permission..........

Also , I have googled and found a similar application development link using http........

You can try it and check the results........

Quoted



One more thing ,you should read documentation thoroughly of ts-7300 regarding it's functionality,settings,configuration...It may help u....since I don't have ts-7300 so you have to do that............

Catch u tomorrow ......... keep trying and smiling......... It leads u to your goal.........

LINUX IS ALL ABOUT OF R & D :)

Bye
  • Go to the top of the page

ramandeep

Trainee

Posts: 99

Location: India

Occupation: embedded software

28

Wednesday, February 13th 2008, 4:43am

RE: Check for pemissions

Hi,
I will explain you the whole setup I have here.I have Fedora6 installed on my PC which I am using for cross development for TS7300.My plan is to compile the source code on the PC using cross compilers ,transfer the executable on the board using ftp and execute it there.I have a 800X600 resolution TFT LCD connected to the VGA out of TS7300.
Now my application involves displaying graphics on the TFT LCD connected to the ARM board.So I was trying to install Qtopia on the PC.

The ts7300 has Debian Linux preinstalled on it.I have connected the board to my PC through minicom(for console) and I transfer the file to the board through ftp.I can carry out file transfers between the two through ftp.

Thanks,
ramandeep
  • Go to the top of the page

29

Friday, February 15th 2008, 7:01am

RE: Check for pemissions

Have u tried the link which I have provided ????????????

What's the status of your application ??
  • Go to the top of the page

Rate this thread