hi, im traing to create a good environment in linux centOS who can compile my QT for mini 2440, can anyone say me what I have to install to compile without any problems? I've got so many problems with the ./configure it seems that linux don't find the gcc, but gcc works fine. so, what I have to "sudo apt-get install" that is fundamental? thanks.
Create linux developping environment for QT 4.6 mini Mini2440
apt-get install build-essential automake autoconf libtool and start reading http://www.kerneltravel.net/downloads/Building.Embedded.Linux.Systems.pdf How "do you know gcc works, but Linux can't find it"? Tell us what version of GCC you are running for cross-compiling?
thank you so much i've done all correct thanks to Paolo Sereno tutorial, but i've got a problem with the compiling of tslib so i have removed them, from the ./configure
hey diego, this tslib ist always such a big deal to compile. I made a code listing. I think that will help you. http://projektender.blogspot.com/
Andreo, One issue: - I thought it had to be armv4t as per some other threads recently. Could you please confirm? Thanks for making the effort to document the procedure. Regards, Dave
Hi Davef, Actually i dont tested with armv4t flag, may be would be work with both of variants?? What was woundered me is, that everybody says that we have to use linux-arm-gnueabi compiler but i couldnt work with him. I had to use arm-linux-gcc. For the flags, you can test it if you wanna get work with your favorite flags. Regards Andreo
thank you so much now the ts lib are compiled.. thanks to all the forum.. and thanks to you Andreo :)
to much easy... gmake trow up an error /home/diegosantinelli/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/ 4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: warning: libts-0.0.so.0, needed by /home/diegosantinelli/qt-everywhere-opensource-src-4.6.2/lib/libQtGui.so, not found (try using -rpath or -rpath-link) /home/diegosantinelli/qt-everywhere-opensource-src-4.6.2/lib/libQtGui.so: undefined reference to `ts_read_raw' /home/diegosantinelli/qt-everywhere-opensource-src-4.6.2/lib/libQtGui.so: undefined reference to `ts_open' /home/diegosantinelli/qt-everywhere-opensource-src-4.6.2/lib/libQtGui.so: undefined reference to `ts_fd' /home/diegosantinelli/qt-everywhere-opensource-src-4.6.2/lib/libQtGui.so: undefined reference to `ts_config' /home/diegosantinelli/qt-everywhere-opensource-src-4.6.2/lib/libQtGui.so: undefined reference to `ts_close' /home/diegosantinelli/qt-everywhere-opensource-src-4.6.2/lib/libQtGui.so: undefined reference to `ts_read' collect2: ld returned 1 exit status gmake[3]: *** [animatedtiles] Error 1 gmake[3]: Leaving directory `/home/diegosantinelli/qt-everywhere-opensource-src-4.6.2/examples/animation/ani matedtiles' gmake[2]: *** [sub-animatedtiles-make_default] Error 2 gmake[2]: Leaving directory `/home/diegosantinelli/qt-everywhere-opensource-src-4.6.2/examples/animation' gmake[1]: *** [sub-animation-make_default] Error 2 gmake[1]: Leaving directory `/home/diegosantinelli/qt-everywhere-opensource-src-4.6.2/examples' gmake: *** [sub-examples-make_default-ordered] Error 2 tslib are located in usr/local/tslibs is inserted also in the $PATH
hmm i remember i had a similar error, check your Makefile of QtGUI. Maybe the linking of tslib was not successfull. You can add it manually. Just type end of the LIBS command "-lts", also tslib it would be nice if this happen automaticly, but i dont remember when and why i get once this error, and how fixed it. Anyhow, with Makefile, you can fix everything
oh yea, may be you have the rest of a previously qt-compilation. untar the qt.tar file again and compile. boring but, has to be done. i compiled more than 10 times, till i get the right configuration
mhm ok i have to do both? the makefile is very long... where can i find? do you remember the correct String?
now im'compiling i've solved with : nano qt-everywhere-opensource-src-4.6.0/mkspecs/qws/linux-arm-g++/qmake.conf QMAKE_CC = arm-linux-gcc -lts QMAKE_CXX = arm-linux-g++ -lts QMAKE_LINK = arm-linux-g++ -lts QMAKE_LINK_SHLIB = arm-linux-g++ -lts