Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Compiling problem on arm920t board
PostPosted: Thu Oct 30, 2008 10:13 am 
Offline

Joined: Sat Dec 29, 2007 11:59 am
Posts: 10
Hi all, I'm now working with the MINI2440 development board from http://www.developmentboard.net. the board seems to be perfect, it came with a detailed manual, following which I am testing this board, installed Redhat 9.0, arm-linux-gcc-3.3.2, Qt/embedded, now I'm trying to compile the example program "Hello,world!", where I saw the error information below:

Code:
[root@localhost hello]# make 
/usr/lib/qt-3.1/bin/uic hello_base.ui -o ./hello_base.h 
/usr/lib/qt-3.1/bin/uic: error while loading shared libraries: 
libqt-mt.so.3: cannot open shared object file: No such file or directory 
make: *** [hello_base.h] Error 127 


What does this mean?
what should I do with this?
Any information will be helpful, thanks in advance!


Last edited by wuke on Fri Aug 07, 2009 10:53 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Compiling problem on arm920t board
PostPosted: Mon Nov 10, 2008 9:45 am 
Offline

Joined: Wed Jun 06, 2007 5:21 pm
Posts: 26
Location: Latvia
wuke wrote:
What does this mean?

It means that there is no libqt-mt.so.3 on your system, which is required by your makefile OR path to this library is bad.

wuke wrote:
what should I do with this?

Build/get this library OR fix makefile if libqt-mt.so.3 is present on your system.


Top
 Profile  
 
 Post subject: Re: Compiling problem on arm920t board
PostPosted: Tue Nov 11, 2008 8:14 am 
Offline

Joined: Sat Dec 29, 2007 11:59 am
Posts: 10
rybo wrote:
wuke wrote:
What does this mean?

It means that there is no libqt-mt.so.3 on your system, which is required by your makefile OR path to this library is bad.

wuke wrote:
what should I do with this?

Build/get this library OR fix makefile if libqt-mt.so.3 is present on your system.


Yes! this is the answer. you're really helpful, thanks a lot


Top
 Profile  
 
 Post subject: Re: Compiling problem on arm920t board
PostPosted: Tue Nov 11, 2008 9:57 am 
Offline

Joined: Wed Jun 06, 2007 5:21 pm
Posts: 26
Location: Latvia
wuke wrote:
Yes! this is the answer. you're really helpful, thanks a lot

I'm glad this helped!


Top
 Profile  
 
 Post subject: Re: Compiling problem on arm920t board
PostPosted: Fri Aug 07, 2009 11:02 am 
Offline

Joined: Sat Dec 29, 2007 11:59 am
Posts: 10
Sorry to bring this back. But I'm actually facing another problem when doing this same thing on my another MINI2440 board.
I was trying to use QT embedded in order to have powerfull applications shown on the 7" display, referring toa tutorial from the vendor. Now, the system is started but when I try to launch my own program in "/bin", I have the following message :
Code:
relocation error: /opt/build/lib/libQtGui.so.4: symbol_floatsisf, version GCC_3.0 not defined in file libgcc_s.so.1 with link time reference


Anyone here gets any idea about this? Please help me. thanks in advance


Top
 Profile  
 
 Post subject: Re: Compiling problem on arm920t board
PostPosted: Fri Aug 07, 2009 12:15 pm 
Offline

Joined: Wed Jun 06, 2007 5:21 pm
Posts: 26
Location: Latvia
wuke wrote:
Code:
relocation error: /opt/build/lib/libQtGui.so.4: symbol_floatsisf, version GCC_3.0 not defined in file libgcc_s.so.1 with link time reference

I have not much ideas, but IMO this could be the situation when your toolchain libraries on build machine differs from the ones on your target device. In this case when you transfer your fresh QT library build to your device, they just can't link against some standart libs, because of the different versions. If this is really the case, you have a lot to do - rebuild your filesystem for your MINI board, so they will link against newer libraries, OR rebuild QT and your program linking them to the versions you have on your device (but I doubt that you may have appropriate toolchain for your board, as I never got one in numerous devkits).
Another thing that I want to mention, it looks weird for me that QT mentions libgcc. Is this debug build? Can you post the info from executing following command on your program binary:
Code:
readelf -hl <program>

Take in mind, that you may have a prefix before a readelf, usually arm-linux-


Top
 Profile  
 
 Post subject: Re: Compiling problem on arm920t board
PostPosted: Fri Aug 07, 2009 4:45 pm 
Offline

Joined: Sat Jan 24, 2009 4:02 pm
Posts: 40
Location: Szczecin, Poland
I would suggest trying OpenEmbedded (or buildroot maybe) instead of doing such builds by hand. Creation of root filesystems for embedded devices takes time which can be spent on other things (such as development of application).

And mini2440 is already supported in OE. Device is great choice for embedded work - everything needed is available (serial, ethernet, screen etc).


Top
 Profile  
 
 Post subject: Re: Compiling problem on arm920t board
PostPosted: Fri Aug 07, 2009 5:56 pm 
Offline

Joined: Wed Jun 06, 2007 5:21 pm
Posts: 26
Location: Latvia
marcin.juszkiewicz wrote:
I would suggest trying OpenEmbedded (or buildroot maybe) instead of doing such builds by hand. Creation of root filesystems for embedded devices takes time which can be spent on other things (such as development of application).

Absolute truth.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: