Qt Forum - programming with C++ and Qt
Register Calendar Members List Team Members Search Frequently Asked Questions Go to the Main Page

Qt Forum - programming with C++ and Qt » QtForum.org » Qt » Qt Embedded, Qtopia, QSA » Error while building qt » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites
Post New Thread Post Reply
Go to the bottom of this page Error while building qt
Author
Post « Previous Thread | Next Thread »
Ajac
Assistant


Registration Date: 26.04.2008
Posts: 2

Level: 3 [?]
Experience: 41
Next Level: 54

13 points of experience needed for next level

Fragezeichen Error while building qt Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

hello ,
i'm building qtopia free 2.2.0 for arm . following error i got plz help me to resolve this error.

my configuration:
./configure \
-release -shared -no-sm -qt-zlib -system-jpeg \
-xplatform linux-arm-g++ -embedded -depths 16,32 -no-vnc -no-xft\

Errror is as



arm-g++-no-keypad/dialogs/qtabdialog.o tmp/release-shared-linux-arm-g+
+-no-keypad/dialogs/qwizard.o tmp/release-shared-linux-arm-g++-no-
keypad/iconview/qiconview.o tmp/release-shared-linux-arm-g++-no-keypad/
workspace/qworkspace.o tmp/release-shared-linux-arm-g++-no-keypad/
network/qdns.o tmp/release-shared-linux-arm-g++-no-keypad/network/
qftp.o tmp/release-shared-linux-arm-g++-no-keypad/network/
qhostaddress.o tmp/release-shared-linux-arm-g++-no-keypad/network/
qnetwork.o tmp/release-shared-linux-arm-g++-no-keypad/network/
qserversocket.o tmp/release-shared-linux-arm-g++-no-keypad/network/
qsocket.o tmp/release-shared-linux-arm-g++-no-keypad/network/
qsocketdevice.o tmp/release-shared-linux-arm-g++-no-keypad/network/
qsocketdevice_unix.o tmp/release-shared-linux-arm-g++-no-keypad/canvas/
qcanvas.o tmp/release-shared-linux-arm-g++-no-keypad/table/qtable.o
tmp/release-shared-linux-arm-g++-no-keypad/xml/qxml.o tmp/release-
shared-linux-arm-g++-no-keypad/xml/qdom.o -lm -ljpeg && mv libqte.so.
2.3.12 /lib/; cd /lib/ && rm -f libqte.so libqte.so.2 libqte.so.2.3;
ln -s libqte.so.2.3.12 libqte.so; ln -s libqte.so.2.3.12 libqte.so.2;
ln -s libqte.so.2.3.12 libqte.so.2.3
/usr/local/buildroot/build_arm/staging_dir/lib/gcc/arm-linux-uclibc/
4.1.1/../../../../arm-linux-uclibc/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
make[2]: Leaving directory `/home/qtopia_free_new/qtopia-free-/qt2/
src'
cd tools; make
make[2]: Entering directory `/home/qtopia_free_new/qtopia-free-/qt2/
tools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/qtopia_free_new/qtopia-free-/qt2/
tools'
cd tutorial; make
make[2]: Entering directory `/home/qtopia_free_new/qtopia-free-/qt2/
tutorial'
for i in t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14; do ( if [ -d
$i ]; then cd $i ; pro=`basename $i`.pro ; tmake $pro -o Makefile;
grep "TEMPLATE.*subdirs" $pro 2>/dev/null >/dev/null && make -f
Makefile tmake_all || true; fi; ) ; done
/bin/sh: tmake: command not found
/bin/sh: tmake: command not found
/bin/sh: tmake: command not found
/bin/sh: tmake: command not found
/bin/sh: tmake: command not found
/bin/sh: tmake: command not found
/bin/sh: tmake: command not found
/bin/sh: tmake: command not found
/bin/sh: tmake: command not found
/bin/sh: tmake: command not found
/bin/sh: tmake: command not found
/bin/sh: tmake: command not found
/bin/sh: tmake: command not found
/bin/sh: tmake: command not found
cd t1; make
make[3]: Entering directory `/home/qtopia_free_new/qtopia-free-/qt2/
tutorial/t1'
arm-linux-gcc -L/home/qtopia_free_new/qtopia-free-/qt2/lib -Wl,-rpath,/
home/qtopia_free_new/qtopia-free-/qt2/lib -o ./t1 main.o -lqte -lm
/usr/local/buildroot/build_arm/staging_dir/lib/gcc/arm-linux-uclibc/
4.1.1/../../../../arm-linux-uclibc/bin/ld: cannot find -lqte
collect2: ld returned 1 exit status
make[3]: *** [t1] Error 1
make[3]: Leaving directory `/home/qtopia_free_new/qtopia-free-/qt2/
tutorial/t1'
make[2]: *** [t1] Error 2
make[2]: Leaving directory `/home/qtopia_free_new/qtopia-free-/qt2/
tutorial'
make[1]: *** [sub-tutorial] Error 2
make[1]: Leaving directory `/home/qtopia_free_new/qtopia-free-/qt2'
make: *** [init] Error 2
[root@localhost qt2]#

i have used jpeg from qtopia core 4.3.3 and i didnt get abt tmake error ..
can any one help me?
Thanks in advance!!!!!!!!!!!!!!!!!
26.04.2008 15:10 Ajac is offline Send an Email to Ajac Search for Posts by Ajac Add Ajac to your Buddy List
Ajac
Assistant


Registration Date: 26.04.2008
Posts: 2

Level: 3 [?]
Experience: 41
Next Level: 54

13 points of experience needed for next level

Thread Starter Thread Started by Ajac
building qt Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

sorry i didnt get answer for above ok.. at last i tried qt 2.3.10 to compiling for arm. i got libraries but now i got error in tutorial..
as follows . also i excluded jpeg option from my confgure.


arm-linux-g++ -c -I/home/qt-2.3.10/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -o main.o main.cpp
arm-linux-gcc -L/home/qt-2.3.10/lib -Wl,-rpath,/home/qt-2.3.10/lib -o ./t1 main.o -lqte -lm
/home/qt-2.3.10/lib/libqte.so: undefined reference to `operator new[](unsigned int)'
/home/qt-2.3.10/lib/libqte.so: undefined reference to `operator delete(void*)'
/home/qt-2.3.10/lib/libqte.so: undefined reference to `__cxa_pure_virtual'
/home/qt-2.3.10/lib/libqte.so: undefined reference to `operator delete[](void*)'
/home/qt-2.3.10/lib/libqte.so: undefined reference to `__cxa_guard_release'
/home/qt-2.3.10/lib/libqte.so: undefined reference to `operator new(unsigned int)'
/home/qt-2.3.10/lib/libqte.so: undefined reference to `__cxa_guard_acquire'
collect2: ld returned 1 exit status
make[4]: *** [t1] Error 1
make[4]: Leaving directory `/home/qt-2.3.10/tutorial/t1'
make[3]: *** [t1] Error 2
make[3]: Leaving directory `/home/qt-2.3.10/tutorial'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/qt-2.3.10/tutorial'
make[1]: *** [sub-tutorial] Error 2
12.05.2008 15:59 Ajac is offline Send an Email to Ajac Search for Posts by Ajac Add Ajac to your Buddy List
Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
Qt Forum - programming with C++ and Qt » QtForum.org » Qt » Qt Embedded, Qtopia, QSA » Error while building qt

views today: 9.108 | views yesterday: 17.520 | total views: 10.242.477


Klebekork Shop - Linux Shop - Kontaktanzeigen - Linux Forum -  SMS Gewinnspiel -  Hotels -  Stadtpläne -  Branchenbuch & Stadtplan

Branchenbuch Österreich - Branchenbuch Niederlande - Portugal Branchenverzeichnis - Spanien Branchenverzeichnis 
Telefonbuch - Branchenbuch Frankreich