Tslib problem when compiling QT

mocugo
Hi Guys,

When I want to .configure the Qt 4.6.2, I get "The tslib functionality test
failed, 
you might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in ......"

My compiled tslib is in the /home/tslib/ (bin, etc, include, lib) and
qmake.conf has got following remarks ;
QMAKE_INCDIR += /home/tslib/include
QMAKE_LIBDIR += /home/tslib/lib
Looks like everything is okey.

I tried "file ts_calibrate" command in /home/tslib/bin , then I got "ELF
32-bit LSB executable, Intel 80386 ....."
Is this the problem? I think this is weird, because arm-linux-gcc 4.3.2 is
installed on system and I compiled the linux kernel for mini2440 before.
(I'm using ubuntu 10.04)

I'm doing the steps from
http://www.sereno-labs.com/qt-4-6-2-installation-procedure-for-friendlya...
and
http://mini2440vietnam.blogspot.com/2011/04/upgrade-qt462-in-mini2440.html
but I couldn't pass the tslib thing yet.

Does anybody help me?

davef
You have not compiled tslib for the ARM platform.

Navigate to where ts_calibrate is located and do:
<readelf -A ts_calibrate>

Show us your script for compiling tslib.

whitebank
Hi mocugo
It seems your ts_calibrate has problem. I think you should re-compile the
tslib.

In my computer, "file ts_calibrate" gets this:

ts_calibrate: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.14, not stripped