qtopia-phone-x11 build error

Shakthi Kannan shakthimaan at gmail.com
Thu Jan 1 13:17:51 CET 2009


Hi,

I am trying to setup a build environment (setup-machine-om-gta02) with
MokoMakefile on Debian. It exits with the following error messages
when building qtopia-phone-x11 with "make image":

=== OUTPUT ===

| ...
| Cleaning your Qtopia Core (target) build tree. Please wait...
| filter_system
/home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/configure
-embedded arm -platform linux-g++ -xplatform
/home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/devices/ficgta01/mkspecs/qws/linux-oe-g++
-DQTOPIA_NO_ICONV_OPEN_ERRORS -prefix
/home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/build/qtopiacore/target
-make src -make tools -no-stl -no-exceptions -no-qt3support -no-glib
-no-cups -no-accessibility -DQT_QWS_DISABLE_FLUSHCLIPPING
-confirm-license -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql
-no-sql-sqlite -no-sql-sqlite2 -qt-sql-sqlite -release -qt-gif
-verbose -DMEDIA_SERVER -no-separate-debug-info -DQT_KEYPAD_NAVIGATION
-I/home/foo/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/include/freetype2
-I/home/foo/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/include/fontconfig
-I/home/foo/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/include/dbus-1.0
-little-endian -buildkey arm-angstrom-linux-gnueabi -qt-libjpeg
-qt-zlib -qt-libpng -no-iconv -no-sm -fontconfig -xrender -xrandr 2>&1
|
| This is the Qt/X11 Open Source Edition.
|
| Performing shadow build...
| Preparing build tree...
| Determining system architecture... (Linux:2.6.23-1-486:i686)
|     'arm' is supported
| System architecture: 'arm'
| Precompiled-headers support disabled.
| Symbol visibility control disabled.
| You are licensed to use this software under the terms of either
| the Q Public License (QPL) or the GNU General Public License (GPL)
| versions 2 or 3
|
| You have already accepted the terms of the  license.
|
| Creating qmake. Please wait...
| floatmath auto-detection... ()
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/floatmath/floatmath.cpp:3:
warning: unused parameter 'argc'
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/floatmath/floatmath.cpp:3:
warning: unused parameter 'argv'
| floatmath enabled.
| mmx auto-detection... ()
| cc1plus: error: unrecognized command line option "-mmmx"
| make[1]: *** [mmx.o] Error 1
| mmx disabled.
| 3dnow auto-detection... ()
| cc1plus: error: unrecognized command line option "-m3dnow"
| make[1]: *** [3dnow.o] Error 1
| 3dnow disabled.
| sse auto-detection... ()
| cc1plus: error: unrecognized command line option "-msse"
| make[1]: *** [sse.o] Error 1
| sse disabled.
| sse2 auto-detection... ()
| cc1plus: error: unrecognized command line option "-msse2"
| make[1]: *** [sse2.o] Error 1
| sse2 disabled.
| libtiff auto-detection... ()
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libtiff/libtiff.cpp:1:20:
error: tiffio.h: No such file or directory
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libtiff/libtiff.cpp:4:6:
error: #error "Required libtiff not found"
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libtiff/libtiff.cpp:
In function 'int main(int, char**)':
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libtiff/libtiff.cpp:11:
error: 'tdata_t' was not declared in this scope
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libtiff/libtiff.cpp:11:
error: expected `;' before 'buffer'
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libtiff/libtiff.cpp:12:
error: 'buffer' was not declared in this scope
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libtiff/libtiff.cpp:12:
error: '_TIFFfree' was not declared in this scope
| make[1]: *** [libtiff.o] Error 1
| libtiff disabled.
| libmng auto-detection... ()
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libmng/libmng.cpp:1:20:
error: libmng.h: No such file or directory
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libmng/libmng.cpp:9:2:
error: #error System libmng version is less than 1.0.9; using built-in
version instead.
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libmng/libmng.cpp:
In function 'int main(int, char**)':
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libmng/libmng.cpp:5:
error: 'mng_handle' was not declared in this scope
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libmng/libmng.cpp:5:
error: expected `;' before 'hMNG'
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libmng/libmng.cpp:6:
error: 'hMNG' was not declared in this scope
| /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/config.tests/unix/libmng/libmng.cpp:6:
error: 'mng_cleanup' was not declared in this scope
| make[1]: *** [libmng.o] Error 1
| libmng disabled.
| NIS auto-detection... ()
| nis.o: In function `main':
| nis.cpp:(.text+0xc): undefined reference to `yp_get_default_domain'
| collect2: ld returned 1 exit status
| make[1]: *** [nis] Error 1
| NIS disabled.
| D-Bus auto-detection... ()
| dbus.o: In function `main':
| dbus.cpp:(.text+0x8): undefined reference to `dbus_shutdown'
| collect2: ld returned 1 exit status
| make[1]: *** [dbus] Error 1
| D-Bus disabled.
| Detecting broken X11 headers...
(/home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/devices/ficgta01/mkspecs/qws/linux-oe-g++
yes /home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt
/home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/build/qtopiacore/target)
| X11 headers look good.
| OpenGL auto-detection... ()
| /opt/toolchains/arm920t-eabi/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/../../../../arm-angstrom-linux-gnueabi/bin/ld:
cannot find -lGL
| collect2: ld returned 1 exit status
| make[1]: *** [opengl] Error 1
| OpenGL disabled.
| Xcursor auto-detection... ()
| Xcursor enabled.
| Xfixes auto-detection... ()
| Xfixes enabled.
| Xrandr auto-detection... ()
| Xrandr enabled.
| Xrender auto-detection... ()
| Xrender enabled.
| FontConfig auto-detection... ()
| /opt/toolchains/arm920t-eabi/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/../../../../arm-angstrom-linux-gnueabi/bin/ld:
cannot find -lfreetype
| collect2: ld returned 1 exit status
| make[1]: *** [fontconfig] Error 1
| FontConfig disabled.
| FontConfig support cannot be enabled due to functionality tests!
|  Turn on verbose messaging (-v) to
/home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/configure
to see the final report.
|  If you believe this message is in error you may use the continue
|  switch (-continue) to
/home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/qtopiacore/qt/configure
to continue.
| configure exited with value 101 at
/home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/src/build/bin/configure
line 3325
|       main::configure_qt('/home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnuea...',
'Qtopia Core (target)', 'qte_config') called at
/home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/git/src/build/bin/configure
line 2644
| make: *** [src/build/mkconf/configure] Error 2
NOTE: Task failed:
/home/foo/moko/build/tmp/work/om-gta02-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2/temp/log.do_configure.14710
NOTE: package qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab-r39.2:
task do_configure: failed
ERROR: TaskFailed event exception, aborting
NOTE: package qtopia-phone-x11-4.3.2+git0+563d5f4c781efe1a11680c6a055b409034b528ab:
failed
ERROR: Build of
/home/foo/moko/openembedded/packages/qtopia-phone/qtopia-phone-x11_git.bb
do_configure failed
ERROR: Task 1529
(/home/foo/moko/openembedded/packages/qtopia-phone/qtopia-phone-x11_git.bb,
do_configure) failed
NOTE: Tasks Summary: Attempted 4217 tasks of which 3890 didn't need to
be rerun and 1 failed.
ERROR: '/home/foo/moko/openembedded/packages/qtopia-phone/qtopia-phone-x11_git.bb'
failed
NOTE: build 200901011630: completed
make: *** [openmoko-asu-image] Error 1
 $

=== END ===

Any suggestions?

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com



More information about the support mailing list