[Qt-interest] Problem compiling Qt4.6.2-maemo5 libs from source
Carl Snellman
carl.snellman at gmail.com
Wed Mar 10 00:11:31 CET 2010
Hey,
I'm trying to compile Qt libs for Maemo5 inside Scratchbox using the
following commands:
[sbox-FREMANTLE_ARMEL: ~/qt-maemo5-opensource-src-4.6.2] > ./configure
-maemo5 -static -opengl es2 --prefix=~/qt4.6.2-maemo5-static
[sbox-FREMANTLE_ARMEL: ~/qt-maemo5-opensource-src-4.6.2] make
After few hours, I see the following:
>>>>>>>>>>>>>>>>>>>>>>
g++ -Wl,-rpath-link,/usr/lib
-Wl,-rpath-link,/home/csnellman/qt-maemo5-opensource-src-4.6.2/lib
-Wl,-O1 -Wl,--hash-style=gnu
-Wl,-rpath,/home/csnellman/qt-maemo5-opensource-src-4.6.2/~/qt4.6.2-maemo5-static/lib
-Wl,-rpath,/home/csnellman/qt-maemo5-opensource-src-4.6.2/~/qt4.6.2-maemo5-static/lib
-o domtraversal .obj/release-static/main.o
.obj/release-static/window.o .obj/release-static/moc_window.o
-L/home/csnellman/qt-maemo5-opensource-src-4.6.2/lib -lQtWebKit
-L/home/csnellman/qt-maemo5-opensource-src-4.6.2/lib -L/usr/X11R6/lib
-lphonon -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -lQtXmlPatterns -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -pthread -lQtGui -pthread -pthread -pthread -lpng
-lEGL -lSM -lICE -lXrender -lfontconfig -lfreetype -lXext -lX11
-lQtNetwork -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lQtDBus
-pthread -pthread -pthread -pthread -pthread -pthread -lQtXml -pthread
-pthread -pthread -pthread -pthread -pthread -pthread -pthread
-pthread -pthread -lQtCore -lz -lm -ldl -pthread -lgthread-2.0 -lrt
-lglib-2.0 -lpthread
/home/csnellman/qt-maemo5-opensource-src-4.6.2/lib/libQtGui.a(qapplication.o):
In function `qt_sendSpontaneousEvent(QObject*, QEvent*)':
qapplication.cpp:(.text+0x1bdc): multiple definition of
`qt_sendSpontaneousEvent(QObject*, QEvent*)'
/home/csnellman/qt-maemo5-opensource-src-4.6.2/lib/libQtWebKit.a(qwebview.o):qwebview.cpp:(.text._Z23qt_sendSpontaneousEventP7QObjectP6QEvent+0x0):
first defined here
collect2: ld returned 1 exit status
make[3]: *** [domtraversal] Error 1
make[3]: Leaving directory
`/home/csnellman/qt-maemo5-opensource-src-4.6.2/examples/webkit/domtraversal'
make[2]: *** [sub-domtraversal-make_default] Error 2
make[2]: Leaving directory
`/home/csnellman/qt-maemo5-opensource-src-4.6.2/examples/webkit'
make[1]: *** [sub-webkit-make_default] Error 2
make[1]: Leaving directory
`/home/csnellman/qt-maemo5-opensource-src-4.6.2/examples'
make: *** [sub-examples-make_default-ordered] Error 2
<<<<<<<<<<<<<<<<<<<<<<<<
Is this a known problem? Does anyone know any remedy?
Thanks,
Carl
My enviroment: Ubuntu9.10, Scratchbox etc. installed using Maemo SDK
Gui installer (maemo-sdk-install-wizard_5.0.py)
More information about the Qt-interest-old
mailing list