Compiling QT app for mini2440

Sergio
Attachment: test1.zip (19.17 KB)
I am using a toolchain, in my linux machine, based on buildroot, to compile
for the mini2440.
I have luck and got to compile one small application to test in my
mini2440.
I cross-compiled using this command (the project is test1):

ssaguiar@ssaguiar:~/build2440/buildroot-2011.02/output/build/qt-everywhere-opens
ource-src-4.7.1/demos/test$/home/ssaguiar/build2440/buildroot-2011.02/output/bui
ld/qt-everywhere-opensource-src-4.7.1/bin/qmake
-spec
/home/ssaguiar/build2440/buildroot-2011.02/output/build/qt-everywhere-opensource
-src-4.7.1/mkspecs/qws/linux-arm-g++
o
"/home/ssaguiar/build2440/buildroot-2011.02/output/build/qt-everywhere-open
source-src-4.7.1/./demos/test1"
"/home/ssaguiar/build2440/buildroot-2011.02/output/build/qt-everywhere-open
source-src-4.7.1/demos/test1/test1.pro"

Following the command above, I execute make in the test1 project´s folder
and get the executable test1.
The problem is when I put the program in the mini2440 root folder, change
it to execute (chmod 777), I get this error:
"tes1 not found"
I think that this can be caused by the uClib version (in the buildroot I
have downloaded, the version is:
uClibc C library Version (uClibc 0.9.31.x)

Can anybody help?

Thanks

Sergio
Sorry, there´s an error in the post

Change:
The problem is when I put the program in the mini2440 root folder, change
it to execute (chmod 777), I get this error:
"tes1 not found"

to:

The problem is when I put the program in the mini2440 root folder, change
it to execute (chmod 777), and call it, I get this error:
"test1 not found"

sportlover
The problem is exactly what he says it is: there is something not found!
Run: 'ldd test1' on your mini2440 to get the info you need!

Goodluck!

Juergen Beisert
You see this kind of message, when a required shared library is not
available at runtime. Run the "readelf" tool from your cross toolchain on
your 'test1' executable first. It will output a list of share libraries
marked as "(NEEDED)". All these libraries must be present on your target to
make 'test1' run.