* Problem in Compiling Qt-4.6.3
@ 2012-03-20 6:37 Navani Srivastava
2012-03-20 16:42 ` Paul Eggleton
0 siblings, 1 reply; 2+ messages in thread
From: Navani Srivastava @ 2012-03-20 6:37 UTC (permalink / raw)
To: yocto; +Cc: Praveen Vk
[-- Attachment #1: Type: text/plain, Size: 6347 bytes --]
Hi,
I am facing difficulty in compiling qt4-embedded_4.6.3.bb. I am compiling
qt for arm1136 arch. I have changed configuration parameters of qt in
qt4.inc as -
" -opensource -embedded arm -confirm-license -release -shared -xmlpatterns
-make libs -nomake docs -nomake demos -nomake tools -qt-gfx-linuxfb
-qt-gfx-directfb -qt-gfx-vnc -qt-gfx-qvfb -qt-gfx-transformed
-qt-gfx-multiscreen -qt-kbd-tty -qt-kbd-linuxinput -qt-kbd-qvfb
-qt-mouse-pc -qt-mouse-linuxinput -no-mouse-linuxtp -qt-mouse-tslib
-qt-mouse-qvfb -depths all -no-sql-sqlite -no-sql-ibase -no-sql-mysql
-no-sql-odbc -no-sql-psql -no-sql-sqlite2 -accessibility -no-qt3support
-no-mmx -no-3dnow -no-sse -no-sse2 -no-neon -no-glib -no-openssl -no-opengl
-no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-webkit
-no-cups -no-nis -no-dbus -no-libmng -no-libtiff -no-gif -no-libjpeg
-no-scripttools -exceptions -iconv -largefile "
On issuing " bitbake -v meta-toolchain-qte" command I am getting following
error-
floatmath auto-detection... ()
| compiling floatmath.cpp
| floatmath.cpp:44:5: warning: unused parameter 'argc'
| floatmath.cpp:44:5: warning: unused parameter 'argv'
| linking floatmath
| floatmath enabled.
| zlib auto-detection... ()
| compiling zlib.cpp
| linking zlib
| zlib enabled.
| libpng auto-detection... ()
| compiling libpng.cpp
| linking libpng
| libpng enabled.
| DB2 auto-detection... ()
| compiling db2.cpp
| db2.cpp:42:20: fatal error: sqlcli.h: No such file or directory
| compilation terminated.
| make: *** [db2.o] Error 1
| DB2 disabled.
| OCI auto-detection... ()
| compiling oci.cpp
| oci.cpp:42:17: fatal error: oci.h: No such file or directory
| compilation terminated.
| make: *** [oci.o] Error 1
| OCI disabled.
| unknown SQL driver: sqlite_symbian
| TDS auto-detection... ()
| compiling tds.cpp
| tds.cpp:42:22: fatal error: sybfront.h: No such file or directory
| compilation terminated.
| make: *** [tds.o] Error 1
| TDS disabled.
| EGL (EGL/egl.h) auto-detection... ()
| compiling egl.cpp
| egl.cpp:42:21: fatal error: EGL/egl.h: No such file or directory
| compilation terminated.
| make: *** [egl.o] Error 1
| EGL (EGL/egl.h) disabled.
| EGL (GLES/egl.h) auto-detection... ()
| compiling egl4gles1.cpp
| egl4gles1.cpp:42:22: fatal error: GLES/egl.h: No such file or directory
| compilation terminated.
| make: *** [egl4gles1.o] Error 1
| EGL (GLES/egl.h) disabled.
| DirectFB auto-detection... ()
| compiling directfb.cpp
Stdint enabled.
| ./configure: line 6403: $(OE_QMAKE_CXX): command not found
| Testing size of pointers ...
(/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/mkspecs/linux-gnueabi-oe-g++
yes
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3)
| rm -f ptrsizetest.o
| rm -f *~ core *.core
| arm-poky-linux-gnueabi-g++ -march=armv6j -mtune=arm1136jf-s
-mfloat-abi=softfp
-mfpu=vfp -mthumb-interwork -mno-thumb
--sysroot=/home/navani/Poky/poky-bernard-5.0/build/tmp/sysroots/EBboard -c
-pipe
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb
-feliminate-unused-debug-types -fexpensive-optimizations
-fomit-frame-pointer
-frename-registers -O2 -ggdb -feliminate-unused-debug-types -fpermissive
-fvisibility-inlines-hidden -Wall -W -I../../../mkspecs/linux-g++ -I. -o
ptrsizetest.o ptrsizetest.cpp
| ptrsizetest.cpp: In function 'int main(int, char**)':
| ptrsizetest.cpp:59:12: error: 'PointerSize' is not a member of
'QPointerSizeTest<4>'
| make: *** [ptrsizetest.o] Error 1
| Pointer size: 4
|
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/bin/qmake
-spec
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/mkspecs/linux-gnueabi-oe-g++
-o
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/./src/phonon
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/src/phonon/
phonon.pro
|
| Qt is now configured for building. Just run 'make'.
| Once everything is built, you must run 'make install'.
| Qt will be installed into /usr/
|
| To reconfigure, run 'make confclean' and 'configure'.
|
| sed: can't read
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/translations/Makefile:
No such file or directory
| ERROR: Function 'do_configure' failed (see
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/temp/log.do_configure.27870
for further information)
NOTE: package qt4-embedded-4.6.3-r26.1: task do_configure: Failed
ERROR: Task 546
(/home/navani/Poky/poky-bernard-5.0/meta-EB/recipes-qt/qt4/
qt4-embedded_4.6.3.bb, do_configure)
failed with exit code '1'
My question lies here-
>> "db2.cpp:42:20: fatal error: sqlcli.h: No such file or directory"
>> "oci.cpp:42:17: fatal error: oci.h: No such file or directory"
Am I configuring Qt in wrong manner?
>> Stdint enabled.
| ./configure: line 6403: $(OE_QMAKE_CXX): command not found
Not able to understand what error is this.
>> | sed: can't read
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/translations/Makefile:
No such file or directory
| ERROR: Function 'do_configure' failed (see
/home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/qt4-embedded-4.6.3-r26.1/temp/log.do_configure.27870
for further information)
On removing
"sed -e '/QMAKE_TARGET /d' -e '/TARGET /d' -i ${S}/translations/Makefile"
from qt-4.6.3.inc and this error got resolved. But I don't think this is
the correct way.
Can you please come up with the correct way to resolve these errors?
Thank You..
[-- Attachment #2: Type: text/html, Size: 7002 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Problem in Compiling Qt-4.6.3
2012-03-20 6:37 Problem in Compiling Qt-4.6.3 Navani Srivastava
@ 2012-03-20 16:42 ` Paul Eggleton
0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2012-03-20 16:42 UTC (permalink / raw)
To: Navani Srivastava; +Cc: yocto, Praveen Vk
On Tuesday 20 March 2012 12:07:37 Navani Srivastava wrote:
> >> "db2.cpp:42:20: fatal error: sqlcli.h: No such file or directory"
> >> "oci.cpp:42:17: fatal error: oci.h: No such file or directory"
The above errors are just passed through from the configure tests and despite
saying "fatal" they actually aren't.
The real problem appears to be this error:
> | sed: can't read
>
> /home/navani/Poky/poky-bernard-5.0/build/tmp/work/armv6-poky-linux-gnueabi/q
> t4-embedded-4.6.3-r26.1/qt-everywhere-opensource-src-4.6.3/translations/Make
> file: No such file or directory
> On removing
> "sed -e '/QMAKE_TARGET /d' -e '/TARGET /d' -i ${S}/translations/Makefile"
> from qt-4.6.3.inc and this error got resolved. But I don't think this is
> the correct way.
It's not obvious, but looking through Qt 4.6.3's configure script, it seems
that if you specify a "-make xxx" option you won't get the default items
("libs tools examples demos docs translations") unless you state them
explicitly, although "-nomake xxx" will not trigger this. Thus by having "-
make libs" in your configure command line it has disabled all of the other
defaults including translations.
So I think you have two options to fix this:
a) Remove the "-make libs" option and add "-nomake xxx" for anything you don't
want in the default items listed above, or
b) Add "-make translations" and possibly "-make xxx" for anything other than
libs from the above list that you do want.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-20 16:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-20 6:37 Problem in Compiling Qt-4.6.3 Navani Srivastava
2012-03-20 16:42 ` Paul Eggleton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.