After day by day searching code from many forums, I lastly did compile Qt4.6.2 successfully on my Ubuntu 10.04. After that work, 'fluid program' run perfectly on the mini2440 board. Also, my own programs which are written in QtCreator could run on the board (I will write the instructions on later article)
And now, the way of upgrading Qt4.6.2 in mini2440 is listed below.
At first, you should have general view of the work:
1. tslib compilation
2. Qt4.6.2 compilation
3. Copy library of tslib and Qt4.6.2 into mini2440 board.
4. Configure the environment in mini2440 board.
5. Run Qt example program.
................................................................................................................
Sorry readers, I will not continue this blog. All content is transfer to new blog.
Please visit here engineeryou.blogspot.com
Thank you
Great ! After about 3 weeks trying to compile buildroot you have come with a surprising solution. Congratulations from Manoel Gomes de Andrade (andrade.manoel@gmail.com)
ReplyDeleteHi, i have a problem. in step 2, when i call make command
ReplyDelete#then, you will wait for about 5 miniutes
$make <---- this make
#it will take nearly one hour on my due core 1.7GHz laptop, too long!
i have this error:
./../corelib/tools/qbytearray.cpp:54:18: error: zlib.h: No such file or directory
../../corelib/tools/qbytearray.cpp: In function ‘QByteArray qCompress(const uchar*, int, int)’:
../../corelib/tools/qbytearray.cpp:467: error: ‘::compress2’ has not been declared
../../corelib/tools/qbytearray.cpp:470: error: ‘Z_OK’ was not declared in this scope
../../corelib/tools/qbytearray.cpp:477: error: ‘Z_MEM_ERROR’ was not declared in this scope
../../corelib/tools/qbytearray.cpp:481: error: ‘Z_BUF_ERROR’ was not declared in this scope
../../corelib/tools/qbytearray.cpp:485: error: ‘Z_BUF_ERROR’ was not declared in this scope
../../corelib/tools/qbytearray.cpp: In function ‘QByteArray qUncompress(const uchar*, int)’:
../../corelib/tools/qbytearray.cpp:548: error: ‘::uncompress’ has not been declared
../../corelib/tools/qbytearray.cpp:552: error: ‘Z_OK’ was not declared in this scope
../../corelib/tools/qbytearray.cpp:568: error: ‘Z_MEM_ERROR’ was not declared in this scope
../../corelib/tools/qbytearray.cpp:572: error: ‘Z_BUF_ERROR’ was not declared in this scope
../../corelib/tools/qbytearray.cpp:576: error: ‘Z_DATA_ERROR’ was not declared in this scope
you have an idea some this?? A solution?'
thanks for your patient
sudo apt-get install zlib1g-dev
DeleteHi ThX. It seems that you lacked file named "zlib.h" so that it made the following errors. I'm not sure with reason for this kind of error. Did you get qt-everywhere-opensource-src-4.6.2.tar.gz from the Qt site? If yes, I suggest you delete them all and try to download again from Qt's website, extract it and cross-compile again.
ReplyDeleteIn my computer, i've two zlib.h files on:
/usr/local/qt-everywhere-opensource-src-4.6.2/src/3rdparty/freetype/src/gzip
and on:
/usr/local/qt-everywhere-opensource-src-4.6.2/src/3rdparty/zlib
check your computer to find whether it is existed. Tell me the result you got. Good luck
Hi, thanks. for your disponition. Yesterday i resolve the problem, trough your tips and other ;)
ReplyDeleteSo, i has re-download from official site the qt-everywhere-opensource-src-4.6.2 and extrac it. I make the same step in your guide but i has the same problem. I search the tslib in my system but there was present in the same directory that you show in precedent response. So, i download and isntall the package:
zlib-bin
zlib1g-dev
zlib1g
with apt-get. After this the compialtion of Qt are succeded and i'm very very happy ;)
thanks a lot for your disponition.
Hi ThX, i'm glad when your works get result (The happiness comes only when results go after hard work, doesn't it?). Good luck with coding :)
ReplyDeleteHello, i have a problem. in step 2, when i call
ReplyDelete./configure -embedded arm -xplatform qws/linux-arm-g++ -prefix /usr/local/Qt -qt-mouse-tslib -little-endian -no-webkit -no-qt3support -no-cups -no-largefile -optimized-qmake -no-openssl -nomake tools -qt-sql-sqlite -no-3dnow -system-zlib -qt-gif -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -no-opengl -gtkstyle -no-openvg -no-xshape -no-xsync -no-xrandr -qt-freetype -qt-gfx-linuxfb -qt-kbd-tty -qt-kbd-linuxinput -qt-mouse-tslib -qt-mouse-linuxinput
i have this error:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/usr/local/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm-g++.
root@ignacio-desktop:/usr/local/qt-everywhere-opensource-src-4.6.2#
you have an idea some this??
thanks
I personally think that the qmake in your computer has a problem (improper installation, i guess)
ReplyDeletePlease run two commands and do cross-compile Qt again.
sudo apt-get install qt3-dev-tools
sudo apt-get install libqt3-mt-dev
That's just what i guess. Please tell me what you get, if it's still not success, tell me so that i will find other ways.
Good luck
Hi I'm José Nunes.
DeleteI've had the same problem as Anonymous and I've followed your steps:
sudo apt-get install qt3-dev-tools
sudo apt-get install libqt3-mt-dev
But I'm still with the problem, could you please help me to solve this problem?
I've compiled the tslib with no problem.
sorry.... now it's work. Before intall the package qt3-dev-tools and libqt3-mt-dev, I has to re-download from official site the qt-4.6.2 and extrac it. I make the same step in your guide and it finish ok.
ReplyDeletetks for your help and your time.
nice, i'm glad to hear that :)
ReplyDeleteHi Phucxu,
ReplyDeletewhen di tslib compilation, i have some problem:
$cd /usr/local
$sudo git clone http://github.com/kergoth/tslib.git
$export PATH=/usr/local/arm/4.3.2/bin:$PATH
$export CROSS_COMPILE=arm-none-linux-gnueabi-
$export CC=${CROSS_COMPILE}gcc
$export CFLAGS=-march=armv4t
$export CXX=${CROSS_COMPILE}"g++"
$export AR=${CROSS_COMPILE}"ar"
$export AS=${CROSS_COMPILE}"as"
$export RANLIB=${CROSS_COMPILE}"ranlib"
$export LD=${CROSS_COMPILE}"ld"
$export STRIP=${CROSS_COMPILE}"strip"
$export ac_cv_func_malloc_0_nonnull=yes
$cd /usr/local/tslib
$./autogen-clean.sh
Removing autogenned files...
Done
$./autogen.sh
./autogen.sh: 3:autoreconf: not found
$./configure --host=arm-linux --prefix=/home/tslib --enable-shared=yes --enable-static=yes
bash: ./configure:No such file or directory
$make
$make install
I have a problem with the ./autogen.sh
Do you have a solution?
Should i start from beginning again to install tslib??
Thanks,
Hi, I personally think that you should start from beginning, download tslib again from command "git clone ...". Tell me what you get.
ReplyDeletephucxu said...
ReplyDeleteHi, I personally think that you should start from beginning, download tslib again from command "git clone ...". Tell me what you get.
Hi again Phucxu,
Now it's work. The solution, I have to install autoreconf.
Yet, i have problem again in installing Qt. When i do "make install" i found some error
../../corelib/tools/qbytearray.cpp:54:18: error: zlib.h: No such file or directory
../../corelib/tools/qbytearray.cpp: In function ‘QByteArray qCompress(const uchar*, int, int)’:
../../corelib/tools/qbytearray.cpp:467: error: ‘::compress2’ has not been declared
../../corelib/tools/qbytearray.cpp:470: error: ‘Z_OK’ was not declared in this scope
../../corelib/tools/qbytearray.cpp:477: error: ‘Z_MEM_ERROR’ was not declared in this scope
../../corelib/tools/qbytearray.cpp:481: error: ‘Z_BUF_ERROR’ was not declared in this scope
../../corelib/tools/qbytearray.cpp:485: error: ‘Z_BUF_ERROR’ was not declared in this scope
../../corelib/tools/qbytearray.cpp: In function ‘QByteArray qUncompress(const uchar*, int)’:
../../corelib/tools/qbytearray.cpp:548: error: ‘::uncompress’ has not been declared
../../corelib/tools/qbytearray.cpp:552: error: ‘Z_OK’ was not declared in this scope
../../corelib/tools/qbytearray.cpp:568: error: ‘Z_MEM_ERROR’ was not declared in this scope
../../corelib/tools/qbytearray.cpp:572: error: ‘Z_BUF_ERROR’ was not declared in this scope
../../corelib/tools/qbytearray.cpp:576: error: ‘Z_DATA_ERROR’ was not declared in this scope
make[1]: *** [.obj/release-static-emb-arm/qbytearray.o] Error 1
make[1]: Leaving directory `/usr/local/qt-everywhere-opensource-src-4.6.2/src/tools/bootstrap'
make: *** [sub-tools-bootstrap-make_default-ordered] Error 2
Any ideas??
Thanks,
Hi again Phucxu,
ReplyDeleteWe wanna install QT 4.6.2 as your command, What if QT 4.6.3 has been installed in Mini2440?
Should we do reinstall QT4.6.3 first or just do your instruction above??
Many thanks,
-Paul-
Hi Paul, i'm sorry i fully don't get your means. If your board already has Qt4.6.3 inside, there is no needed to install previous version. If the board has Qt4.6.3 but you still want to install Qt4.6.2, just do the instructions above. And finally, if you want to install Qt4.6.3, i think it is possible to apply the same way upgrading Qt4.6.2 for Qt4.6.3
ReplyDeleteStill query, feel free ask me here :)
Hi Anonymous, cross-compile is a hard job with a lot of unnamed errors. And your errors seem had been done by previous comments. Anyway, in your case, you should install those package with apt-get:
ReplyDeletezlib-bin
zlib1g-dev
zlib1g
good luck!
Hi Phucxu,
ReplyDeleteSorry i cannot comment on your blog again.
Please check your yahoo email.
thanks,
-Paul-
Hi
ReplyDeleteFrom few weeks I fighting with Segmentation fault error, I try use toolchain 4.3.2 and 4.4.3 , effect is the same. If you use image with system from FriendlyARM downloads tell me which one do you use.
1. Can this be applied on TQ2440 board?
ReplyDelete2. The board has Qtopia 2.2.0, following this tutorial, can I successfully develop apps on TQ2440 board.
3. I know it is EmbedSky board, but it might not make a big difference.
How did you menage to copy the tslib files on SD card when there are symbolic links? What FS is on your SD card?
ReplyDeleteI'll answer my two questions :)
ReplyDelete1. Yes it can be applied.
2. Yep again.
3. It might not make a big difference.
---------------------------------------
1. Compress the files in *.tar, copy to uSD card and uncompress them in the board FS.
i have problem like this:
ReplyDelete./fluidlauncher: error while loading shared libraries: libts-0.0.so.0: cannot op
en shared object file: No such file or directory
, does anyone know what should i do..??
spectrum demo can't load Audio device ???
ReplyDeletehow to init audio device when start...
Hi,
ReplyDeleteThanks for this tutorial. I need help with Touchscreen.
I compiled Qt and tslib successfully.
Typing "cat /dev/input/ts" works as mentioned (weird chars when touched).
ts_calibrate and ts_test work fine too (touch screen is working fine).
If I use "export QWS_MOUSE_PROTO=tslib:/dev/input/ts" it shows "Segmentation fault". When I replace this line by just "export QWS_MOUSE_PROTO=" (without driver:options" the my "Hello World" shows perfectly, but no touch screen.
Compiling Qt with "-no-freetype" generates the same result: "Segmentation fault".
I can't find a way to work touch with my app.
Any suggestion?
Thank you.
Afonso.
I've managed to work with QMAKE_CFLAGS_RELEASE += -O2 set. Nice :)
ReplyDeleteHi Anonymous, for error: "./fluidlauncher: error while loading shared libraries: libts-0.0.so.0: cannot open shared object file: No such file or directory"
ReplyDeleteMake sure that you do the step 3 and 4 CORRECTLY. I also faced this problem before because of giving wrong PATH NAME of library.
@ Pham Thuan, sorry, i didn't do anything with audio before, i will try later
ReplyDelete@Afonso, how about with "export QWS_MOUSE_PROTO=tslib:/dev/input/event0", it works fine? i supposed it'll be fine. I 've checked the MY board, there's no file "/dev/input/ts" but only "/dev/input/event0" and ".../mice".
ReplyDeleteHi phuxcu gr8 post man and vry helpful for beginners ..
ReplyDeleteI m stuck in ste 2 where it give error:
The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/usr/local/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm-g++.
i didnot have net connection on that computer so i downloaded a tar file of tslib and used it on my pc.
i followed your methodology but i dont stand this step
export PATH=/usr/local/arm/4.3.2/bin:$PATH
because when i searched this path there was no such path
could you please explain me what is the meaning of this path may be in fedora some packages are installed on diff locations so i can give the right path and i could complete the following steps..
please try to rely me as soon as possible
Thanks
@Abhishek: After installing tslib, reboot the system OR export all variables except PATH to empty string.
ReplyDeleteAnd if you have error like: "word unexpected (expecting ")")" there is a GREAT possibility that you have cross-compiled the qmake, that you shouldn't do.
ReplyDelete@Abhishek: the path "PATH=/usr/local/arm/4.3.2/bin" is an "arm-linux-gcc-4.3.2 toolchain". You should find it and install it on your computer first; then, do those steps again. Every thing will be fine
ReplyDeleteGreat post phucxu ihav done it in 2nd attempt it is very helpful ...thx a lot
ReplyDeleteI have performance issues. The GUI seems to work slow... any ideas or experience with that kind of issue?
ReplyDeleteI'm a "newbie" to Linux and I am trying to cross compile an application to run on the mini2440. I'm running Ubuntu 10.0.4 within VirtualBox on a Win7 PC.
ReplyDeleteI have been following your examples and have run into a similar problem that was posted by "Anonymous" on June 26, 2011. I tried to follow the suggestions posted but my attempts to cross compile still fail with the following messages:
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")") ...
Any other thoughts or things to look for or try out? Any help would be much appreciated.
Thanks
From October 12
ReplyDelete"And if you have error like: "word unexpected (expecting ")")" there is a GREAT possibility that you have cross-compiled the qmake, that you shouldn't do."
After installing tslib, reboot the system OR export all variables except PATH to empty string.
And delete the current folder with Qt that you have tried to compile and untar the source again and start the procedure from the beginning but follow the suggestions above.
ReplyDeleteHey thanks!!! I was able to compile qt opensource on another pc and obtained the generated files..
ReplyDeleteNow i want to know that can i use those file to cross compile qt application on other pc..
I copied the following set of files on pasted it on location /usr/local/Qt and in Qt creator i am giving the path but it is not compiling on that path..
in my mini2440, i found an app named start Qt 4.6.3, does it mean, the device has already run on 4.6.3? so why should we change to 4.6.2?
ReplyDeleteHey Phucxu ....
ReplyDeleteI have successfully completed the task and now my application is running on board..
i want to ask one thing that is there any way that as soon as i switch on the board my application opens ..
because i have to install the application where i will not be having access to a computer so if there is any way that boards directly opens my application....
After finishing step 4, and rebooting ARM it just stopped at "Starting leds service ...". After a while, nothing happened! Can anyone help us?? What is the next step?
ReplyDelete@Anonymous
ReplyDeleteyou need skip this step:
#Configure the environment in mini2440:
$cd /etc/
$vi profile
#add those lines at the end of file
export LD_LIBRARY_PATH=/usr/local/tslib/lib
export QTDIR=/usr/local/Qt
export QWS_MOUSE_PROTO=tslib:/dev/input/event0
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=/usr/local/etc/ts.conf
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_PLUGINDIR=/usr/local/tslib/lib/ts
export TSLIB_TSDEVICE=/usr/local/tslib/lib/ts
export TSLIB_TSEVENTTYPE=INPUT
export QWS_DISPLAY=LinuxFB:mmWidth=105:mmHeight=140
#save it.
this step is cause here.
I-ve done that, but we found another problem. Now we have a error QWSTslibMouseHandlerPrivate:ts_config() failed with error: 'No such file or directory'
ReplyDeletePlease check your tslib instalation
Thanks for your help in advance!
Hi,
ReplyDeleteI new to Linux and I'm guite lost!
As someone wrote before I have a problem with the libts library. The message I get is the next:
./flickable: error while loading shared libraries: libts-0.0.so.0: cannot open shared object file: No such file or directory
I have checked the contents of the folders and I think they are okay. In the tslib/lib folder I have libts-1.0.so.0 instead of libts-0.0.so.0.
Is it possible to change this?
Thanks for your help in advance!
Hello,
ReplyDeleteI tried to run Qt example program, following steps 3, 4 and 5 but I find this error:
Couldnt open tslib config file: No such file or directory
QWSTslibMouseHandlerPrivate: ts_config() failed with error: 'No such file or directory'
Please check your tslib installation!
I check the Path wrote in the file "profile" of /etc directory, but all seems ok.
Could you help me?
Thanks a lot.
Gio
Hi!
ReplyDeleteNice post!! :)
I managed to complie tslib and qt4.7.4 under Ubuntu 11.10 32bit with arm-linux-gcc 4.3.2.
Now I transfered the complied Qt/lib files and the demos and tslib to my mini2440 board. I follow your instructions.
But when I try to modify the rcS file I get this error in console on my host pc:
VFS: Mounted root (yaffs filesystem) on device 31:3.
Freeing init memory: 108K
cannot run '/etc/init.d/rcS': Permission denied
Please press Enter to activate this console.
can't open /dev/tty2: No such file or directory
can't open /dev/tty3: No such file or directory
can't open /dev/tty4: No such file or directory
can't open /dev/tty2: No such file or directory
can't open /dev/tty4: No such file or directory
can't open /dev/tty3: No such file or directory
...... etc
I tried to do this command after the modification : chmod -x rcS
but the result is the same...
What do you think? Where did I mistake?
Thank you!!!
Hi,thanks. its work.
ReplyDeleteHi,
ReplyDeleteI need some help :)
I typed:
./configure host=arm-linux prefix=/home/tslib enable-shared=yes enable-static=yes
And I got:
...
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-gcc... gcc
checking whether the C compiler works... no
configure: error: in `/usr/local/tslib':
configure: error: C compiler cannot create executables
See `config.log' for more details
How can I set the C compiler?
I have ELLK but it doesn't contains anything about GUI.
Thank you :)
David
Hi,
ReplyDeleteIs this "export TSLIB_TSDEVICE=/usr/local/tslib/lib/ts" right?
It didn't worked to me.
TSLIB_TSDEVICE=/dev/input/event0 worked well.
It took me for a week to find it.
By the way this is a great tutorial. :-)
fekda
Hi,
DeleteI am facing the problem that touchscreen does not work.
I can see the display, but no touch screen.
I changed TSLIB_TSDEVICE to /dev/input/event0, but still touch screen not working.
How did you solve this problem ??
hey i got this error
ReplyDelete./configure: 4463: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4472: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4490: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4499: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4518: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4860: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4860: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4860: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/which.test: Permission denied
./configure: 4860: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4860: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4860: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4860: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4860: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4860: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4860: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4860: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4877: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 4940: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 5037: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 5037: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 5037: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
./configure: 5532: /usr/local/qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test: Permission denied
The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/usr/local/qt-everywhere-opensource-src-4.6.3/mkspecs/qws/linux-arm-g++.
thanks in advance sara...
hey i too got the same error...
Deletebut i did it by placing "sudo" in front of each command.
and i've checked My compiled tslib is in the /home/tslib/ (bin, etc, include, lib) and
ReplyDeleteqmake.conf has got following remarks ;
QMAKE_INCDIR += /home/tslib/include
QMAKE_LIBDIR += /home/tslib/lib
and i tried “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
again i tried to make but same problem persists
thanks in advance....
Hi i hav d/l your file n trying to run the "fluidlauncher" then ia m getting the below message...
ReplyDeleteCould not read calibration: "/etc/pointercal"
-- the application is displayed on my board but when i touch the screen the app got erased y i dont know ?
plz helpp
Thanks in Adv.
Hi....
ReplyDeleteand I am getting this error on step.... make stage.
Error: selected processor does not support Thumb mode `swp r4,r3,[r2]'
Can anyone help ?
Hi,
ReplyDeleteI used the pre-compiled version to test my mini2440. I set Qt Versions as it is mentioned above. But I got “Qt version is not properly installed, please run make install” error message.
Does anybody know the way to set qmake properly?
I suppose I have to set QT libraries and so on ... but I am not sure.
Thanks, David
hi
ReplyDeletethanks for post.I have a question.
when we want compile Qt, we must use CC,CXX,... as we use for tslib?
i mean CC must be arm-none-linux-gnueabi-gcc ,...?
hi.
ReplyDeleteI in previous comment ask for CXX,CC,...
really after compile tslib,i restart computer and just set export PATH=/usr/local/arm/4.3.2/bin:$PATH
and compile qt as you said.so there is no nag for The tslib functionality test failed!
let me test a qt program i will send you if work or not.
Hi,
ReplyDeleteI still have a problem:
"[root@FriendlyARM fluidlauncher]# ./fluidlauncher -qws
./fluidlauncher: error while loading shared libraries: libts-1.0.so.0: cannot open shared object file: No such file or directory"
I did pp.3-4 a couple of times (suspecting I forgot something), but the result is still the same.
Do you have a clue about this problem?
Just one thing: the symbolic links could not be copied to the USB-disk and then to the mini2440, so I build them myself (using "ln -s" command). But listing "ls -all" the same on mini and on PC, so I don't think that it's the problem...
hello i m prashant from last 3 weeks i m trying to compile qt-4.6.2 but everytime i m getting following errors as
ReplyDelete/mini2400WS/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/mini2400WS/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/mini2400WS/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/mini2400WS/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm-g++.
i m using ubuntu-10.04 and kernel version-2.6.32-38-generic
i m following same steps as mentioned above still problem exists
Dear all,
ReplyDeleteplease anyone help me.
while compiling qt-everywhere-opensource-src-4.6.2
i got following Error
ine 69: /usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot
execute binary file
/usr/local/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test:
line 69: /usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot
execute binary file
The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/usr/local/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm-g++.
[root@localhost qt-everywhere-opensource-src-4.6.2]#
please help me
thank you
Dear Sunil, for the problem of "The tslib functionality test failed!", I found that we should change link of "sh" file in /bin:
ReplyDelete$cd /bin
$ls -l sh
after this command, you will get result:
sh->dash
so, we will change sh->bash
$ln -s bash sh
$ls -l sh
you will get sh->bash
Okay, now restart computer and cross-compile again. Good luck.
Dear phucxu,
Deletei followed your suggestions and i get following result..
[root@localhost bin]# ls -l sh
lrwxrwxrwx. 1 root root 4 Nov 20 19:20 sh -> bash
please reply
thank you
Hi Sunil,
DeleteI also have a similar problem. How did you fix this? When i follow phucxu's advice, I get the following message.
$ln -s bash sh
ln: failed to create symbolic link 'sh' : File exists
Thanks,
Anvesh
make[1]: *** [.obj/release-shared-emb-arm/qabstractitemview.o] Error 1
ReplyDeletemake[1]: Leaving directory `/usr/local/qt-everywhere-opensource-src-4.6.4/src/gui'
make: *** [sub-gui-install_subtargets-ordered] Error 2
I have this error in compiling both 4.6.2 and 4.6.4
Could you copy more line of error, i have no glue with those. By the way, did you install some tool like:
ReplyDeletesudo apt-get install qt3-dev-tools
sudo apt-get install libqt3-mt-dev
Dear phucxu,
ReplyDeleteThanks for your Help.
I will follow your suggestions and reply you soon.
Please help me in future.
and while compiling tslib
when i enter make Command,
i am getting following Error
fbutils.o testutils.o font_8x8.o font_8x16.o ../src/.libs/libts.so -ldl -Wl,-rpath -Wl,/home/tslib/lib
make[2]: Leaving directory `/usr/local/tslib/tests'
make[2]: Entering directory `/usr/local/tslib'
make[2]: Leaving directory `/usr/local/tslib'
make[1]: Leaving directory `/usr/local/tslib'
Thank you.
Hi phucxu,
DeleteThanks for this great site. I am have same error as Sunil.
.libs/ts_fd.o: could not read symbols File in wrong format
Please i need your kind support.
Regards,
Jone
Dear phucxu,
ReplyDeleteI am new to the Linux and Qt programming.
This site is really Very useful to me,
i am following your sites from last 20 days,
http://mini2440vietnam.blogspot.in/2011/04/upgrade-qt462-in-mini2440.html?showComment=1354081536485#c1718322612473817653
and
http://mini2440vietnam.blogspot.in/2011/05/programming-application-for-mini2440-by.html
i am getting Errors but i don't want to quit from this..
i need your support,
please help me.
i am using Fedora 17 System.
and i installed qt-sdk-linux-x86-opensource-2010.02.bin
on my system.
i want to create Qt Application in my PC and i want to Run on mini2440.
i Don't know the Requirement for this,
please reply.
i hope you will help me,
Thanks and Regards.
Sunil
while you compile tslib
ReplyDeleteyou got those "Error"
fbutils.o testutils.o font_8x8.o font_8x16.o ../src/.libs/libts.so -ldl -Wl,-rpath -Wl,/home/tslib/lib
make[2]: Leaving directory `/usr/local/tslib/tests'
make[2]: Entering directory `/usr/local/tslib'
make[2]: Leaving directory `/usr/local/tslib'
make[1]: Leaving directory `/usr/local/tslib'
It seems good, so let's try with next step of Qt4.6.2 cross-compilation to see if there is any error. Good luck
Dear phucxu,
DeleteThank you Very Much for your Information..
This Blog Really Helped me a lot...
Now i am able to cross-compile Qt and tslib.
and create Qt Application using Qt creator and i am able to run Qt Application on mini2440(Loading automatically my own program before qtopia ).
Dear phucxu,
Deletenow i am able to cross compile and run Qt application on mini2440 by using "-qws "
command in terminal.
but how to install Qt application on mini2440 so that directly by Double click on the icon we can able to Run the program..
for this what i have to do.?
please help me...
Thanks and Regards.
Sunil
it's nice to hear you can run a QtCreator program on mini2440. Sorry about your next issue, I forgot the way making icon on mini2440 screen but it is also easy. Let's try to see how mini2440's icon works. Let's manage yourself, good luck
ReplyDeleteDear phucxu,
DeleteThanks for your support...
i Will try to Create icon on mini2440..
If you get any information then please help me,
Thanks and Regards.
Sunil
i have bought new mini2440 lcd w35,before it is mini 2440 lcd n35. i have this install in virtual box Linux just include Qt,lib and tslib copied from original mini 2440 lcd n35 to mini 2440 lcd w35 and the Qt application works with this command ./(application name) -qws.
ReplyDeleteBut i have a problem when i am booting with serial port mini 2440 lcdw35,when i boot in NOR flash it is black screen. i have tried by solving changing male cable connector usb to serial to device but it is not working and also booting with sd card just black screen but when i read from sd card by telnet with mini2440 lcd w35 it can copy. I wonder where would it be wrong?
Please help.
Thanks and reagrds,
Iqbal H.
Hi,
ReplyDeleteI now get the following error. Please help.
-L/usr/local/qt-everywhere-opensource-src-4.6.2/qt-everywhere-opensource-src-4.6.2/lib -L/home/tslib/lib/ -lpthread -lz -lm -ldl
/home/tslib/lib//libts.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[1]: *** [../../lib/libQtCore.so.4.6.2] Error 1
make[1]: Leaving directory `/usr/local/qt-everywhere-opensource-src-4.6.2/qt-everywhere-opensource-src-4.6.2/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2
root@ubuntu:/usr/local/qt-everywhere-opensource-src-4.6.2/qt-everywhere-opensource-src-4.6.2#
PS: I have excluded -qt-mouse-tslib argument becuase i was getting tslib functionality failed error.
Thanks,
Anvesh
Hi,
ReplyDeleteI am trying to use the following files.
Qt4.6.2 (pre-compiled)
http://www.mediafire.com/?tytlz6cvuvbt661
tslib (pre-compiled)
http://www.mediafire.com/?0kb9kai5n7nt0i7
But after i gunzip the files, I get a file of unrecognized type. Please help.
Thanks,
Anvesh
Can some one help me solve the below issue? I get the following error:
ReplyDeleteconfigure:3273: arm-none-linux-gnueabi-gcc-4.3.2 -march=armv4t conftest.c >&5
Assembler messages:
Fatal error: invalid -march= option: `armv4t’
Below is my config.log
configure:2915: checking for arm-linux-gcc
configure:2942: result: arm-none-linux-gnueabi-gcc-4.3.2
configure:3211: checking for C compiler version
configure:3220: arm-none-linux-gnueabi-gcc-4.3.2 –version >&5
arm-none-linux-gnueabi-gcc-4.3.2 (Sourcery G++ Lite 2008q3-72) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3231: $? = 0
configure:3220: arm-none-linux-gnueabi-gcc-4.3.2 -v >&5
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: /scratch/julian/lite-respin/linux/src/gcc-4.3/configure –build=i686-pc-linux-gnu –host=i686-pc-linux-gnu –target=arm-none-linux-gnueabi –enable-threads –disable-libmudflap –disable-libssp –disable-libstdcxx-pch –with-gnu-as –with-gnu-ld –enable-languages=c,c++ –enable-shared –enable-symvers=gnu –enable-__cxa_atexit –with-pkgversion=’Sourcery G++ Lite 2008q3-72′ –with-bugurl=https://support.codesourcery.com/GNUToolchain/ –disable-nls –prefix=/opt/codesourcery –with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc –with-build-sysroot=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/libc –with-gmp=/scratch/julian/lite-respin/linux/obj/host-libs-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr –with-mpfr=/scratch/julian/lite-respin/linux/obj/host-libs-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr –disable-libgomp –enable-poison-system-directories –with-build-time-tools=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/bin –with-build-time-tools=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/bin
Thread model: posix
gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72)
configure:3231: $? = 0
configure:3220: arm-none-linux-gnueabi-gcc-4.3.2 -V >&5
arm-none-linux-gnueabi-gcc-4.3.2: ‘-V’ option must have argument
configure:3231: $? = 1
configure:3220: arm-none-linux-gnueabi-gcc-4.3.2 -qversion >&5
arm-none-linux-gnueabi-gcc-4.3.2: unrecognized option ‘-qversion’
arm-none-linux-gnueabi-gcc-4.3.2: no input files
configure:3231: $? = 1
configure:3251: checking whether the C compiler works
configure:3273: arm-none-linux-gnueabi-gcc-4.3.2 -march=armv4t conftest.c >&5
Assembler messages:
Fatal error: invalid -march= option: `armv4t’
configure:3277: $? = 1
configure:3315: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME “tslib”
| #define PACKAGE_TARNAME “tslib”
| #define PACKAGE_VERSION “1.0.0″
| #define PACKAGE_STRING “tslib 1.0.0″
| #define PACKAGE_BUGREPORT “kergoth@handhelds.org”
| #define PACKAGE_URL “”
| #define PACKAGE “tslib”
| #define VERSION “1.0.0″
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3320: error: in `/usr/local/tslib’:
configure:3322: error: C compiler cannot create executables
See `config.log’ for more details
Hi phucxu,
ReplyDeleteThanks for your guidelines. They were very helpful. After 5 straight days of labouring behind it, I finally got everything working flawlessy. To everyone else here, I've experienced most, if not all the problems you guys have specified. Keep working at it and it'll work out :)
Thanks,
Daniel
How to install to root_qtopia-128M.img and i don`t know the address of the to store in the in DNW I have work on the friendly arm M2440 board
ReplyDeleteHi All,
ReplyDeleteI get this error after I followed everything as per the document
"./calculator: error while loading shared libraries: libts-0.0.so.0: cannot open shared object file: No such file or directory"
The same application when I launch from the terminal enabling qtopia gets launched. Pls help...
Mình đang cài QT everywhere 4.6.3 trong qua trình cài đặt ok hết. Khi viết chương trinh và building với qmake mới cài đặt thì nó báo lỗi này . Mọi ngườ ai biết chỉ mình với mình sửa mấy ngay nay vẫn chưa được.
ReplyDelete/opt/qte/include/QtCore/qatomic_arm.h:-1: error: Assembler messages:
/opt/qte/include/QtCore/qatomic_arm.h:131: error: no such instruction: `swpb %bl,%al,[%edx]'
i have this error:
ReplyDelete/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
/usr/local/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/usr/local/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm-g++.
plz solve this issue
Dear phucxu,
ReplyDeleteI tried the procedure givenby you and finally managed to compile qt using
qt-everywhere-opensource-src-4.6.2.tar.gz
I also copied tslib and Qt libraries with demos to the mini2440
Now, if I try
./fluidlauncher -qws or any other demo,
I get the error
error while loading shared libraries : libz.so.1 Cannot open shared obj
file: No such file or directory
My linux platform is Fedora 10 and toolchain is arm-linux-gcc-4.5.1
The file libz.so.1.2.3 and its link libz.so.1 is present on the host under
/lib
I could not locate libz.so.1.2.3 anywhere under
/toolschain/4.5.1/arm-none-linux-gnueabi/lib so that I could copy it to the
mini2440
So I am stuck up.
Also,how to download the following to the mini2440 to test the fluidlauncher demo ?
Qt4.6.2 (pre-compiled)
tslib (pre-compiled)
Do I use supervivi, if yes what is the procedure ?
Please help me, I have been struggling for almost four weeks now.
.
Thanks in advance
make[2]: *** [install-libLTLIBRARIES] Error 127
ReplyDeleteWhen I install tslib the following errors are came
Please help me
make[2]: Leaving directory `/usr/local/tslib/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/local/tslib/src'
make: *** [install-recursive] Error 1
jenny here.
ReplyDeleteI had complete all the step except the last step. After edit profile file in the board. I reboot thee board, it stop at "Loading sound card config" then forever there. Please help me.
I'm using FriendlyARM Mini210s board, Ubuntu 14.04LTS, Tools Chain is 4.5.1 version. Board mini210s cannot support your tutorial here?
Thanks
hello experts,
ReplyDeletewhen i command in /usr/local/QT$ make
make: *** No targets specified and no makefile found. Stop....
is occured...
now also i make install gives the same results
Hi,i'm new to mini2440..problem is mini2440 stops by showing Starting Qtopia, please waiting...and doesn't load desktop icons on the screen..what to do..? please help..
ReplyDeletehi
ReplyDeleteI need some help :)
I typed:
./configure host=arm-linux prefix=/home/tslib enable-shared=yes enable-static=yes
And I got:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... arm-none-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-gcc... arm-none-linux-gnueabi-gcc
checking whether the C compiler works... no
configure: error: in `/usr/local/tslib':
configure: error: C compiler cannot create executables
See `config.log' for more details
please help me
Thank u
hi
ReplyDeletewhile i am configure a qt source(./configure) ,i am getting the following error
Creating qmake. Please wait...
arm-none-linux-gnueabi-g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/usr/local/qt-everywhere-opensource-src-4.6.2/include -I/usr/local/qt-everywhere-opensource-src-4.6.2/include/QtCore -I/usr/local/qt-everywhere-opensource-src-4.6.2/src/corelib/global -I/usr/local/qt-everywhere-opensource-src-4.6.2/src/corelib/xml -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/local/qt-everywhere-opensource-src-4.6.2/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
gmake: arm-none-linux-gnueabi-g++: Command not found
gmake: *** [project.o] Error 127
please help ....
Thanks
./test -qws
ReplyDeleteblit setup(): Screen depth 32 not supported!
aborted
i using tinny 4412
what must i do?
please help thanks
cross compile Qt 4.8.5
ReplyDeletei cant compile this
ReplyDeletegenerators/makefiledeps.cpp:48: fatal error: qplatformdefs.h: No such file or directory
ReplyDeletecompilation terminated.
Can any one please help me from above error.
I configured with below command
./configure -platform mkspecs/qws/linux-arm-g++/ -embedded arm -xplatform qws/linux-arm-g++ -prefix /usr/local/QT -qt-mouse-tslib -little-endian -no-webkit -no-qt3support -no-cups -no-largefile -optimized-qmake -no-openssl -nomake tools -qt-sql-sqlite -no-3dnow -system-zlib -qt-gif -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -no-opengl -gtkstyle -no-openvg -no-xshape -no-xsync -no-xrandr -qt-freetype -qt-gfx-linuxfb -qt-kbd-tty -qt-kbd-linuxinput -qt-mouse-tslib -qt-mouse-linuxinput
Hi,
ReplyDeleteDuring compiling tslib as per above steps, I am getting the below error.
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src -DTS_POINTERCAL=\"/home/jignesh/tslib/etc/pointercal\" -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -MT input-raw.lo -MD -MP -MF .deps/input-raw.Tpo -c input-raw.c -fPIC -DPIC -o .libs/input-raw.o
input-raw.c: In function 'check_fd':
input-raw.c:112:14: error: 'SYN_MAX' undeclared (first use in this function)
input-raw.c:112:14: note: each undeclared identifier is reported only once for each function it appears in
input-raw.c:112:7: warning: unused variable 'synbit' [-Wunused-variable]
input-raw.c: In function 'ts_input_read_mt':
input-raw.c:496:11: error: 'ABS_MT_TOOL_X' undeclared (first use in this function)
input-raw.c:501:11: error: 'ABS_MT_TOOL_Y' undeclared (first use in this function)
make[2]: *** [input-raw.lo] Error 1
make[2]: Leaving directory `/usr/local/tslib/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/tslib'
make: *** [all] Error 2
I am using Ubuntu 12.04(32bit).
Hello, was there any fix for this? I mean the error: input-raw.c:496:11: error: 'ABS_MT_TOOL_X' undeclared (first use in this function)
Delete