qt-everywhere-4.7.3-ARM交叉编译移植(二)

26 篇文章 0 订阅
Glib auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W  -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0 -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/glib-2.0/include -o glib.o glib.cpp
glib.cpp: In function 'int main(int, char**)':
glib.cpp:55: warning: 'pollfd' is used uninitialized in this function
arm-none-linux-gnueabi-g++ -Wl,-O1 -o glib glib.o     -L/home/linuxsir/arm-linux/arm-2009q1/lib\ -lgthread-2.0\ -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm\ -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib\ -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer\ -pthread\ -pthread\ -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib\ -lgthread-2.0\ -lglib-2.0 
glib.o: In function `main':
glib.cpp:(.text+0x0): undefined reference to `g_threads_got_initialized'
glib.cpp:(.text+0x4): undefined reference to `g_threads_got_initialized'
glib.cpp:(.text+0x18): undefined reference to `g_thread_init'
glib.cpp:(.text+0x1c): undefined reference to `g_main_context_default'
glib.cpp:(.text+0x28): undefined reference to `g_source_new'
glib.cpp:(.text+0x30): undefined reference to `g_source_add_poll'

$vim arm-linux.sh

-L "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib -lgthread-2.0 -lglib-2.0" \

/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgthread-2.0
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libz.so.1, needed by /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so, not found (try using -rpath or -rpath-link)
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlFindCharEncodingHandler@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlParseFile@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_realloc_n'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlNewDocNode@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlSaveFormatFileTo@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlNewChild@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_malloc0_n'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_assertion_message_expr'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlDocGetRootElement@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlParseMemory@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_once_init_enter_impl'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlNewNs@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlFree@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlNewDoc@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_mapped_file_unref'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlOutputBufferCreateFile@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlSearchNsByHref@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_assertion_message'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_thread_get_initialized'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_slice_copy'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_malloc_n'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_once_init_leave'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlParseCharEncoding@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlNodeGetContent@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlFreeDoc@LIBXML2_2.4.30'
collect2: ld returned 1 exit status
make: *** [gstreamer] Error 1
GStreamer disabled.

cp /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/lib/libgstreamer-1.10.* ./

-----------------------------------------------------------------------------------------
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libz.so.1, needed by /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so, not found (try using -rpath or -rpath-link)


/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libz.so.1, needed by /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so, not found (try using -rpath or -rpath-link)
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_malloc_n'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `deflateInit2_'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `deflate'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `deflateEnd'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `crc32'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `inflate'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `inflateInit2_'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `inflateEnd'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_once_init_enter_impl'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_assertion_message'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `gzwrite'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `gzopen'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_realloc_n'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_once_init_leave'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_malloc0_n'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `gzdirect'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_mapped_file_unref'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_slice_copy'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `gzclose'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_assertion_message_expr'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `gzdopen'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_thread_get_initialized'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `gzread'
collect2: ld returned 1 exit status
make: *** [gstreamer] Error 1


cp /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/lib/libz.* ./


cp /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/lib/libxml2.* ./


cp /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/lib/libgthread.* ./
-------------------------------------------------------------------------------------

/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgthread-2.0.so: undefined reference to `g_thread_gettime'
collect2: ld returned 1 exit status
make: *** [glib] Error 1
Glib disabled.
Phonon support cannot be enabled due to functionality tests!


cp /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/lib/libxml2.* ./

-------------------------------------------------------------------------------------

arm-none-linux-gnueabi-g++ -Wl,-O1 -o gstreamer gstreamer.o     -L/home/linuxsir/arm-linux/arm-2009q1/lib\ -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm\ -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/glib-2.0\ -lglib-2.0 -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/gstreamer-0.10\ -lgstreamer-0.10 -pthread -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lm -lglib-2.0 -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10 
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libz.so.1, needed by /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so, not found (try using -rpath or -rpath-link)
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `deflateInit2_'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `deflate'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `deflateEnd'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `crc32'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `inflate'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `inflateInit2_'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `inflateEnd'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `gzwrite'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `gzopen'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `gzdirect'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `gzclose'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `gzdopen'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libxml2.so: undefined reference to `gzread'
collect2: ld returned 1 exit status
make: *** [gstreamer] Error 1
GStreamer disabled.

$vim arm-config.sh

-I "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/lib -lz" \
---------------------------------------------------------------------------------------
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W  -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/lib\ /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0\ /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/glib-2.0/include -o glib.o glib.cpp
glib.cpp:44:18: error: glib.h: No such file or directory
glib.cpp: In function 'int main(int, char**)':
glib.cpp:49: error: 'GSource' was not declared in this scope
glib.cpp:49: error: 'source' was not declared in this scope
glib.cpp:50: error: 'GPollFD' was not declared in this scope
glib.cpp:50: error: 'pollfd' was not declared in this scope
glib.cpp:51: error: 'g_thread_supported' was not declared in this scope
glib.cpp:52: error: 'NULL' was not declared in this scope
glib.cpp:52: error: 'g_thread_init' was not declared in this scope
glib.cpp:53: error: 'g_main_context_default' was not declared in this scope
glib.cpp:54: error: 'g_source_new' was not declared in this scope
glib.cpp:55: error: 'g_source_add_poll' was not declared in this scope
make: *** [glib.o] Error 1
Glib disabled.

linuxsir@ubuntu:~/dvsdk/qt-everywhere-opensource-src-4.7.3-arm/config.tests/unix/gstreamer$ arm-none-linux-gnueabi-g++ -Wl,-O1 -o gstreamer gstreamer.o     -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib -L/home/linuxsir/arm-linux/arm-2009q1/lib -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/lib -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib\ -pthread\ -lgstreamer-0.10\ -lgobject-2.0\ -lgmodule-2.0\ -ldl\ -lgthread-2.0\ -lxml2\ -lglib-2.0\ -lgstinterfaces-0.10\ -lgstvideo-0.10\ -lgstbase-0.10\  -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lglib-2.0 -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lz
linuxsir@ubuntu:~/dvsdk/qt-everywhere-opensource-src-4.7.3-arm/config.tests/unix/gstreamer$ ls
gstreamer  gstreamer.cpp  gstreamer.o  gstreamer.pro  Makefile

$vim arm-config.sh

-nomake examples -nomake demos -nomake docs \
 -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/glib-2.0/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/libxml2/libxmlinclude -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0/glib -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib -L/home/linuxsir/arm-linux/arm-2009q1/lib -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/lib -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib -lpthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lgthread-2.0 -lxml2 -lglib-2.0 -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lz -v

instead of 

 -L "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/lib" -L "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib" -L "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm"  -L "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer"  -I "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa"  -I "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus" -I "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus" -I "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/include" -ldbus-1

past!
--------------------------------------------------------------------------------------------
/NEON/

$vim arm-config.sh

-opengl \
-openvg \
-xmlpatterns \

delete -no-neon,NEON support ........... yes.
----------------------------------------------------------------------------------------
/opeGL/

OpenGL ES 2.x disabled.
OpenGL ES 1.x auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W  -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/glib-2.0/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/libxml2/libxmlinclude -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0/glib -o opengles1.o opengles1.cpp
opengles1.cpp:42:21: error: GLES/gl.h: No such file or directory
opengles1.cpp: In function 'int main(int, char**)':
opengles1.cpp:46: error: 'GLfloat' was not declared in this scope
opengles1.cpp:46: error: expected `;' before 'a'
opengles1.cpp:47: error: 'a' was not declared in this scope
opengles1.cpp:47: error: 'glColor4f' was not declared in this scope
opengles1.cpp:48: error: 'GL_COLOR_BUFFER_BIT' was not declared in this scope
opengles1.cpp:48: error: 'glClear' was not declared in this scope
make: *** [opengles1.o] Error 1
OpenGL ES 1.x disabled.
All the OpenGL ES functionality tests failed!
 You might need to modify the include and library search paths by editing
 QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in


../share/qtopia/mkspecs/unsupported/linux-host-g++/qmake.conf:QMAKE_LIBS_OPENGL_ES1 = -lGLES_CM
../share/qtopia/mkspecs/unsupported/linux-host-g++/qmake.conf:QMAKE_LIBS_OPENGL_ES1CL = -lGLES_CL
../share/qtopia/mkspecs/unsupported/linux-host-g++/qmake.conf:QMAKE_LIBS_OPENGL_ES2 = -lGLESv2


$vim arm-config.sh


-I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL/GLES
-L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg -lOpenVG -lIMGegl -lsrv_um

$vim config.tests/unix/opengles1/opengles1.cpp


 42 #include "gl.h"

$vim config.tests/unix/opengles2/opengles2.cpp


 42 #include "gl2.h"

$vim gl.h

  4 #include "glplatform.h"

$cp ../KHR/khrplatform.h ./

$~/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL/GLES$ vim glplatform.h 


 19 #include "khrplatform.h"


$vim egl.h


 35 #include "eglplatform.h"


OpenGL support ......... yes (OpenGL ES 2.x)

past!!!
-----------------------------------------------------------------------------------------

/opeVg/

/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libIMGegl.so, needed by /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so, not found (try using -rpath or -rpath-link)
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libsrv_um.so, needed by /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so, not found (try using -rpath or -rpath-link)
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `KEGLUnbindImage'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVReallocUserModeMemTracking'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `SGXQueueTransfer'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVFreeAppHintState'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVCreateMutex'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVCallocUserModeMem'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVGetAppHint'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVDebugAssertFail'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVDestroyMutex'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVCallocUserModeMemTracking'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `SGXKickTA'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVUnlockMutex'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVDebugPrintf'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVMemCopy'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVFreeUserModeMemTracking'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVAllocUserModeMem'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVReallocUserModeMem'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `KEGLGetImageSource'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVPollForValue'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVAllocUserModeMemTracking'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVCreateAppHintState'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `KEGLResizeRenderSurface'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVAllocDeviceMem'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `KEGLGetDrawableParameters'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVLockMutex'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `KEGLBindImage'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVFreeDeviceMem'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVEventObjectWait'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVMemSet'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libOpenVG.so: undefined reference to `PVRSRVFreeUserModeMem'
collect2: ld returned 1 exit status
make: *** [glib] Error 1
Glib disabled.
Phonon support cannot be enabled due to functionality tests!

----------------------------------------------------------------------------------------
make: *** [openvg.o] Error 1
OpenVG disabled.
OpenVG (lc includes) auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -DQT_LOWER_CASE_VG_INCLUDES -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/glib-2.0/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/libxml2/libxmlinclude -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0/glib -o openvg.o openvg.cpp
openvg.cpp:46:23: error: vg/openvg.h: No such file or directory
openvg.cpp: In function 'int main(int, char**)':
openvg.cpp:53: error: 'VGint' was not declared in this scope
openvg.cpp:53: error: expected `;' before 'i'
openvg.cpp:54: error: 'i' was not declared in this scope
openvg.cpp:55: error: 'vgFlush' was not declared in this scope
make: *** [openvg.o] Error 1
OpenVG (lc includes) disabled.
OpenVG (lc includes) auto-detection... ()

./share/qtopia/mkspecs/unsupported/linux-host-g++/qmake.conf:QMAKE_LIBS_OPENVG     = -lOpenVG
./share/qtopia/mkspecs/features/win32/openvg.prf:QMAKE_LIBS += $$QMAKE_LIBS_OPENVG
./share/qtopia/mkspecs/features/unix/openvg.prf:!isEmpty(QMAKE_LIBS_OPENVG): LIBS += $$QMAKE_LIBS_OPENVG
./share/qtopia/mkspecs/common/symbian/symbian.conf:QMAKE_LIBS_OPENVG       = -llibOpenVG -lfbscli -lbitgdi -lgdi
./share/qtopia/mkspecs/common/symbian/symbian.conf:    QMAKE_LIBS_OPENVG += -lsgresource

$sudo cp /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/omap35x_graphics_sdk_4.00.00.01/gfx_dbg_es2.x/* /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/

$vim arm-config.sh

-L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg
 
cp /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/omap35x_graphics_sdk_4.00.00.01/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include/ /home/linxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OVG/VG/


$vim config.tests/unix/openvg/openvg.cpp

 45 #if defined(QT_LOWER_CASE_VG_INCLUDES)
 46 *#include "openvg.h"
 47 *//#else
 48 *//#include <VG/openvg.h>

$~/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OVG/VG$ vim openvg.h


 33 #define _OPENVG_H
 34 
 *35 #include "vgplatform.h"
 36 
 37 #ifdef __cplusplus

----------------------------------------------------------------------------------------
/xmlpatter/
QtXmlPatterns module ... no

Stdint enabled.
QtXmlPatterns was requested, but it can't be built due to exceptions being disabled.


$vim configure 
--
if [ "$CFG_XMLPATTERNS" = "yes" -a "$CFG_EXCEPTIONS" = "no" ]; then
    echo "QtXmlPatterns was requested, but it can't be built due to exceptions being disabled."
    exit 1
--
CFG_EXCEPTIONS=unspecified
--


./configure -h
--
    -no-exceptions ..... Disable exceptions on compilers that support it.
 *  -exceptions ........ Enable exceptions on compilers that support it.
--


$vim arm-config.sh
 
 -exceptions \


$ ./arm-config.sh


qmake vars .......... cat: .qmake.vars: No such file or directory
qmake switches ......... 
Build .................. libs translations
Configuration ..........  cross_compile release shared dll embedded largefile stl precompile_header neon  minimal-config small-config medium-config large-config full-config qt3support phonon phonon-backend accessibility egl openvg opengl opengles2 embedded reduce_exports ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify png freetype zlib nis glib gstreamer dbus nas alsa xmlpatterns multimedia audio-backend svg script scripttools declarative release
Debug .................. no
Qt 3 compatibility ..... yes
QtDBus module .......... yes (run-time)
QtConcurrent code ...... yes
QtGui module ........... yes
QtScript module ........ yes
QtScriptTools module ... yes
QtXmlPatterns module ... yes
Phonon module .......... yes
Multimedia module ...... yes
SVG module ............. yes
WebKit module .......... yes
JavaScriptCore JIT ..... To be decided by JavaScriptCore
Declarative module ..... yes
Declarative debugging ...yes
Support for S60 ........ no
Symbian DEF files ...... no
STL support ............ yes
PCH support ............ yes
MMX/3DNOW/SSE/SSE2/SSE3. no/no/no/no/no
SSSE3/SSE4.1/SSE4.2..... no/no/no
AVX..................... no
iWMMXt support ......... no
NEON support ........... yes
IPv6 support ........... yes
IPv6 ifname support .... yes
getaddrinfo support .... yes
getifaddrs support ..... yes
Accessibility .......... yes
NIS support ............ yes
CUPS support ........... no
Iconv support .......... no
Glib support ........... yes
GStreamer support ...... yes
PulseAudio support ..... no
Large File support ..... yes
GIF support ............ plugin
TIFF support ........... plugin (qt)
JPEG support ........... plugin (qt)
PNG support ............ yes (qt)
MNG support ............ plugin (qt)
zlib support ........... yes
Session management ..... no
Embedded support ....... arm
Freetype2 support ...... auto (yes)
Graphics (qt) .......... linuxfb multiscreen
Graphics (plugin) ...... 
Decorations (qt) ....... styled windows default
Decorations (plugin) ... 
Keyboard driver (qt) ... tty
Keyboard driver (plugin) .. 
Mouse driver (qt) ...... pc linuxtp tslib
Mouse driver (plugin) .. 
OpenGL support ......... yes (OpenGL ES 2.x)
EGL support ............ yes <EGL/egl.h>
OpenVG support ......... yes
SQLite support ......... qt (qt)
OpenSSL support ........ no 
Alsa support ........... yes
ICD support ............ no
-
-
-
  skipping /home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3-arm/src/opengl/util/generator.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/local/qt-emembeded-4.7.3-arm-linux


To reconfigure, run 'make confclean' and 'configure'.


past !!!
----------------------------------------------------------------------------
/make/


linuxsir@ubuntu:~/dvsdk/qt-everywhere-opensource-src-4.7.3-arm$ make
cd src/tools/bootstrap/ && make -f Makefile 
make[1]: Entering directory `/home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3-arm/src/tools/bootstrap'
/home/linuxsir/arm-linux/qt-everywhere-opensource-src-4.7.3-arm/bin/qmake -spec ../../../mkspecs/qws/linux-x86-g++ -o Makefile bootstrap.pro
make[1]: /home/linuxsir/arm-linux/qt-everywhere-opensource-src-4.7.3-arm/bin/qmake: Command not found
make[1]: *** [Makefile] Error 127
make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3-arm/src/tools/bootstrap'
make: *** [sub-tools-bootstrap-make_default-ordered] Error 2


It's better that don't move the dir of /src/tools/bootstrap
-----------------------------------------------------------------------------------------
/reconfigure & make /




$vim arm-config.sh


-I -lOpenVG -lIMGegl -lsrv_um -lpthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lgthread-2.0 -lxml2 -lglib-2.0 -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lz \


$vim mkspecs/qws/linux-omap-g++/qmake.conf


QMAKE_LIBDIR            = /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib /home/linuxsir/arm-linux/arm-2009q1/lib /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/lib /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib




$vim arm-config.sh


#!/bin/sh


./configure \
        -prefix /usr/local/qt-emembeded-4.7.3-arm-linux \
        -opensource \
        -release \
        -shared \
        -system-nas-sound \
        -qt-sql-sqlite \
        -qt-zlib \
        -optimized-qmake \
        -confirm-license \
        -embedded arm \
        -platform qws/linux-x86-g++ \
        -xplatform qws/linux-omap-g++ \
        -depths 16,18,24,32 \
        -release \
        -fast \
        -pch \
        -dbus \
        -force-pkg-config \
        -phonon \
        -phonon-backend \
        -qt-libjpeg \
        -qt-libpng \
        -qt-libtiff \
        -multimedia \
        -qt-libmng \
        -qt-freetype \
        -qt-mouse-tslib \
        -exceptions \
        -opengl \
        -openvg \
        -xmlpatterns \
        -no-mmx -no-3dnow -no-sse -no-sse2 -no-sse3 -no-sse4.1 -no-sse4.2 \
        -no-avx -no-openssl -no-cups -no-ssse3 \
        -nomake examples -nomake demos -nomake docs \
        -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include \
        -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib \
        -v


$vim mkspecs/qws/linux-omap-g++/qmake.conf 




LIBS += -lz
QMAKE_LIBDIR_OPENGL     = /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg
QMAKE_INCDIR_OPENGL     = /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg
QMAKE_LIBS_OPENGL       = -L$$QMAKE_LIBDIR_OPENGL -lIMGegl -lsrv_um
QMAKE_LIBS_OPENVG       = -L$$QMAKE_LIBDIR_OPENGL -lOpenVG -lIMGegl -lsrv_um
QMAKE_LIBS_EGL          +=-L$$QMAKE_LIBDIR_OPENGL -lOpenVG -lIMGegl -lsrv_um
QMAKE_INCDIR_OPENGL_ES1 = /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL/GLES
QMAKE_INCDIR_OPENGL_ES2 = /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL2/GLES2
QMAKE_LIBS_OPENGL_ES1   = -L$$QMAKE_LIBDIR_OPENGL -lOpenVG -lIMGegl -lsrv_um -lGLES_CM
QMAKE_LIBS_OPENGL_ES2   = -L$$QMAKE_LIBDIR_OPENGL -lOpenVG -lIMGegl -lsrv_um -lGLES_CM




#
#QMAKE
#
QMAKE_INCDIR            = /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL2/GLES2 /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL/GLES /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OVG/VG /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/include /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/glib-2.0/include /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/libxml2/libxmlinclude /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0/glib


QMAKE_LIBDIR            = /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib /home/linuxsir/arm-linux/arm-2009q1/lib /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/lib /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib


$./arm-config.sh


qmake vars .......... cat: .qmake.vars: No such file or directory
qmake switches ......... 
Build .................. libs translations
Configuration ..........  cross_compile release shared dll embedded largefile stl precompile_header neon  minimal-config small-config medium-config large-config full-config qt3support phonon phonon-backend accessibility egl openvg opengl opengles1 embedded reduce_exports ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify png freetype zlib nis glib gstreamer dbus nas alsa xmlpatterns multimedia audio-backend svg script scripttools declarative release
Debug .................. no
Qt 3 compatibility ..... yes
QtDBus module .......... yes (run-time)
QtConcurrent code ...... yes
QtGui module ........... yes
QtScript module ........ yes
QtScriptTools module ... yes
QtXmlPatterns module ... yes
Phonon module .......... yes
Multimedia module ...... yes
SVG module ............. yes
WebKit module .......... yes
JavaScriptCore JIT ..... To be decided by JavaScriptCore
Declarative module ..... yes
Declarative debugging ...yes
Support for S60 ........ no
Symbian DEF files ...... no
STL support ............ yes
PCH support ............ yes
MMX/3DNOW/SSE/SSE2/SSE3. no/no/no/no/no
SSSE3/SSE4.1/SSE4.2..... no/no/no
AVX..................... no
iWMMXt support ......... no
NEON support ........... yes
IPv6 support ........... yes
IPv6 ifname support .... yes
getaddrinfo support .... yes
getifaddrs support ..... yes
Accessibility .......... yes
NIS support ............ yes
CUPS support ........... no
Iconv support .......... no
Glib support ........... yes
GStreamer support ...... yes
PulseAudio support ..... no
Large File support ..... yes
GIF support ............ plugin
TIFF support ........... plugin (qt)
JPEG support ........... plugin (qt)
PNG support ............ yes (qt)
MNG support ............ plugin (qt)
zlib support ........... yes
Session management ..... no
Embedded support ....... arm
Freetype2 support ...... yes
Graphics (qt) .......... linuxfb multiscreen
Graphics (plugin) ...... 
Decorations (qt) ....... styled windows default
Decorations (plugin) ... 
Keyboard driver (qt) ... tty
Keyboard driver (plugin) .. 
Mouse driver (qt) ...... pc linuxtp tslib
Mouse driver (plugin) .. 
OpenGL support ......... yes (OpenGL ES 1.x Common profile)
EGL support ............ yes <EGL/egl.h>
OpenVG support ......... yes
SQLite support ......... qt (qt)
OpenSSL support ........ no 
Alsa support ........... yes
ICD support ............ no




$make 


---------------------------------------------------------------------------------


tools/qelapsedtimer_unix.cpp
arm-none-linux-gnueabi-g++ -pipe -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include  -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fvisibility=hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-omap-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL2/GLES2 -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL/GLES -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OVG/VG -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/glib-2.0/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/libxml2/libxmlinclude -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0/glib -x c-header -c global/qt_pch.h -o .pch/release-shared-emb-arm/QtCore.gch/c
arm-none-linux-gnueabi-g++:  -O3: No such file or directory
make[1]: *** [.pch/release-shared-emb-arm/QtCore.gch/c] Error 1
make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3/src/corelib'




$vim src/corelib/global/qt_pch.h


$cd .pch/release-shared-emb-arm


$make


----------------------------------------------------------------------------------------------
/lib/lib-arm/include/glib-2.0/glib -o .obj/release-shared-emb-arm/adler32.o ../3rdparty/zlib/adler32.c
arm-none-linux-gnueabi-g++:  -O3: No such file or directory
cc1plus: error: .pch/release-shared-emb-arm/QtCore: No such file or directory
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
../3rdparty/zlib/adler32.c:57: error: 'uLong adler32' redeclared as different kind of symbol
../3rdparty/zlib/zlib.h:1271: error: previous declaration of 'uLong adler32(uLong, const Bytef*, uInt)'
../3rdparty/zlib/adler32.c:57: error: 'adler' was not declared in this scope
../3rdparty/zlib/adler32.c:57: error: 'buf' was not declared in this scope
../3rdparty/zlib/adler32.c:57: error: 'len' was not declared in this scope
../3rdparty/zlib/adler32.c:61: error: expected unqualified-id before '{' token




vim /home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3/src/3rdparty/zlib/zlib.h


 35 #include "/usr/include/qt4/QtCore/qconfig.h"


$make


------------------------------------------------------------------------------------------------
/-no-pch/


cd src/corelib/ && make -f Makefile 


../3rdparty/zlib/adler32.c
arm-none-linux-gnueabi-g++:  -O3: No such file or directory
cc1plus: error: .pch/release-shared-emb-arm/QtCore: No such file or directory
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
../3rdparty/zlib/adler32.c:57: error: 'uLong adler32' redeclared as different kind of symbol
../3rdparty/zlib/zlib.h:1271: error: previous declaration of 'uLong adler32(uLong, const Bytef*, uInt)'
../3rdparty/zlib/adler32.c:57: error: 'adler' was not declared in this scope
../3rdparty/zlib/adler32.c:57: error: 'buf' was not declared in this scope
../3rdparty/zlib/adler32.c:57: error: 'len' was not declared in this scope
../3rdparty/zlib/adler32.c:61: error: expected unqualified-id before '{' token
make[1]: *** [.obj/release-shared-emb-arm/adler32.o] Error 1
make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2




$vim arm-config.sh


-no-pch


$./arm-config.sh


$make


--------------------------------------------------------------------------------------------------
/-O2/


arm-none-linux-gnueabi-g++ -c -pipe  -O2 -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp -fvisibility=hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-omap-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL2/GLES2 -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL/GLES -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OVG/VG -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/glib-2.0/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/libxml2/libxmlinclude -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0/glib -o .obj/release-shared-emb-arm/adler32.o ../3rdparty/zlib/adler32.c
arm-none-linux-gnueabi-g++:  -O2: No such file or directory




$vim mkspecs/qws/linux-omap-g++/qmake.conf


keep the codec is right.Maybe it is chinese codec.


$make 


--------------------------------------------------------------------------------------------------------------------
/'uLong adler32' redeclared/




 -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0/glib -o .obj/release-shared-emb-arm/adler32.o ../3rdparty/zlib/adler32.c
../3rdparty/zlib/adler32.c:57: error: 'uLong adler32' redeclared as different kind of symbol
../3rdparty/zlib/zlib.h:1271: error: previous declaration of 'uLong adler32(uLong, const Bytef*, uInt)'
../3rdparty/zlib/adler32.c:57: error: 'adler' was not declared in this scope
../3rdparty/zlib/adler32.c:57: error: 'buf' was not declared in this scope
../3rdparty/zlib/adler32.c:57: error: 'len' was not declared in this scope
../3rdparty/zlib/adler32.c:61: error: expected unqualified-id before '{' token
make[1]: *** [.obj/release-shared-emb-arm/adler32.o] Error 1
make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3-arm/src/corelib'


make[1]: Entering directory `/home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3-arm/src/3rdparty/zlib'
gcc -O3 -DUSE_MMAP   -c -o example.o example.c
In file included from example.c:9:
zlib.h:35:21: error: qconfig.h: No such file or directory


$vim ../3rdparty/zlib/adler32.c




56 //extern "C" {
 57 /* ========================================================================= */
 58 uLong ZEXPORT adler32(ulong adler, const Bytef *buf, uInt len)
 59 //    uLong adler;
 60 //    const Bytef *buf;
 61 //    uInt len;


129 uLong ZEXPORT adler32_combine(uLong adler1, uLong adler2, z_off_t len2)
130 //    uLong adler1;
131 //    uLong adler2;
132 //    z_off_t len2;




$vim ../3rdparty/zlib/compress.c




22 int ZEXPORT compress2 (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level)
 23 //    Bytef *dest;
 24 //    uLongf *destLen;
 25 //    const Bytef *source;
 26 //    uLong sourceLen;
 27 //    int level;
 28 {




62 int Q_ZEXPORT compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
 63 //    Bytef *dest;
 64 //    uLongf *destLen;
 65 //    const Bytef *source;
 66 //    uLong sourceLen;
 67 {


75 uLong ZEXPORT compressBound (uLong sourceLen)
 76 //    uLong sourceLen;






262 local unsigned long crc32_little(unsigned long crc, const unsigned char FAR *buf, unsigned len)
263     //unsigned long crc;
264     //const unsigned char FAR *buf;
265     //unsigned len;


302 local unsigned long crc32_big(unsigned long crc, const unsigned char FAR *buf, unsigned len)
303 //    unsigned long crc;
304 //    const unsigned char FAR *buf;
305 //    unsigned len;


219 unsigned long ZEXPORT crc32(unsigned long crc, const unsigned char FAR *buf, unsigned len)
220 //    unsigned long crc;
221 //    const unsigned char FAR *buf;
222 //    unsigned len;




-----------------------------------------------------------------------------------------------------------------






 -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0/glib -o .obj/release-shared-emb-arm/inffast.o ../3rdparty/zlib/inffast.c
../3rdparty/zlib/inffast.c: In function 'void inflate_fast(z_stream*, unsigned int)':
../3rdparty/zlib/inffast.c:90: error: expected unqualified-id before 'this'
../3rdparty/zlib/inffast.c:127: error: invalid use of 'this' in non-member function
../3rdparty/zlib/inffast.c:129: error: invalid use of 'this' in non-member function
../3rdparty/zlib/inffast.c:132: error: invalid use of 'this' in non-member function
../3rdparty/zlib/inffast.c:137: error: invalid use of 'this' in non-member function
../3rdparty/zlib/inffast.c:140: error: invalid use of 'this' in non-member function
../3rdparty/zlib/inffast.c:158: error: invalid use of 'this' in non-member function
../3rdparty/zlib/inffast.c:160: error: invalid use of 'this' in non-member function
../3rdparty/zlib/inffast.c:163: error: invalid use of 'this' in non-member function
../3rdparty/zlib/inffast.c:165: error: invalid use of 'this' in non-member function
../3rdparty/zlib/inffast.c:262: error: invalid use of 'this' in non-member function
../3rdparty/zlib/inffast.c:262: error: invalid use of 'this' in non-member function
../3rdparty/zlib/inffast.c:272: error: invalid use of 'this' in non-member function
../3rdparty/zlib/inffast.c:272: error: invalid use of 'this' in non-member function




$vim src/corelib/../3rdparty/zlib/inffast.c


amend "this" to "thisco".




$vim src/corelib/../3rdparty/zlib/gzio.c
$vim src/corelib/../3rdparty/zlib/inffast.c
$vim src/corelib/../3rdparty/zlib/inflate.c
$vim src/corelib/../3rdparty/zlib/inftrees.c
$vim src/corelib/../3rdparty/zlib/trees.c
$vim src/corelib/../3rdparty/zlib/uncompr.c
$vim src/corelib/../3rdparty/zlib/zutil.c






------------------------------------------------------------------------------------------------------------------------






 -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0/glib -o .obj/release-shared-emb-arm/harfbuzz-buffer.o ../3rdparty/harfbuzz/src/harfbuzz-buffer.c
../3rdparty/harfbuzz/src/harfbuzz-buffer.c: In function 'HB_Error hb_buffer_ensure(HB_BufferRec_*, HB_UInt)':
../3rdparty/harfbuzz/src/harfbuzz-buffer.c:77: error: invalid conversion from 'void*' to 'HB_PositionRec_*'
../3rdparty/harfbuzz/src/harfbuzz-buffer.c:81: error: invalid conversion from 'void*' to 'HB_GlyphItemRec_*'
../3rdparty/harfbuzz/src/harfbuzz-buffer.c:86: error: invalid conversion from 'void*' to 'HB_GlyphItemRec_*'
../3rdparty/harfbuzz/src/harfbuzz-buffer.c:97: error: invalid conversion from 'void*' to 'HB_GlyphItemRec_*'
../3rdparty/harfbuzz/src/harfbuzz-buffer.c: In function 'HB_Error hb_buffer_duplicate_out_buffer(HB_BufferRec_*)':
../3rdparty/harfbuzz/src/harfbuzz-buffer.c:115: error: invalid conversion from 'void*' to 'HB_GlyphItemRec_*'
../3rdparty/harfbuzz/src/harfbuzz-buffer.c: In function 'HB_Error hb_buffer_new(HB_BufferRec_**)':
../3rdparty/harfbuzz/src/harfbuzz-buffer.c:134: error: invalid conversion from 'void*' to 'HB_BufferRec_*'
../3rdparty/harfbuzz/src/harfbuzz-buffer.c: In function 'HB_Error _hb_buffer_clear_positions(HB_BufferRec_*)':
../3rdparty/harfbuzz/src/harfbuzz-buffer.c:215: error: invalid conversion from 'void*' to 'HB_PositionRec_*'
make[1]: *** [.obj/release-shared-emb-arm/harfbuzz-buffer.o] Error 1
make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3-arm/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2




$vim src/corelib/../3rdparty/harfbuzz/src/harfbuzz-buffer.c


 77           //if ( REALLOC_ARRAY( buffer->positions, new_allocated, HB_PositionRec ) )
 78             //return error;


97               //if ( REALLOC_ARRAY( buffer->alt_string, new_allocated, HB_GlyphItemRec ) )
 98                 //return error;
`
`
`




-----------------------------------------------------------------------------------------------------------------------




-I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0/glib -o .obj/release-shared-emb-arm/harfbuzz-gdef.o ../3rdparty/harfbuzz/src/harfbuzz-gdef.c
../3rdparty/harfbuzz/src/harfbuzz-gdef.c: In function 'HB_Error HB_New_GDEF_Table(HB_GDEFHeader**)':
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:64: error: invalid conversion from 'void*' to 'HB_GDEFHeader*'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c: In function 'HB_Error Load_AttachPoint(HB_AttachPoint*, HB_StreamRec_*)':
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:246: error: invalid conversion from 'void*' to 'HB_UShort*'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c: In function 'HB_Error Load_AttachList(HB_AttachList*, HB_StreamRec_*)':
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:310: error: invalid conversion from 'void*' to 'HB_AttachPoint*'
../3rdparty/harfbuzz/src/harfbuzz-gAttachPoint,def.c: In function 'HB_Error Load_LigGlyph(HB_LigGlyph*, HB_StreamRec_*)':
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:493: error: invalid conversion from 'void*' to 'HB_CaretValue*'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c: In function 'HB_Error Load_LigCaretList(HB_LigCaretList*, HB_StreamRec_*)':
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:582: error: invalid conversion from 'void*' to 'HB_LigGlyph*'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c: In function 'HB_Error HB_GDEF_Get_Glyph_Property(HB_GDEFHeader*, HB_UShort, HB_UShort*)':
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:694: error: expected unqualified-id before '=' token
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:706: error: expected primary-expression before 'class'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:711: error: expected primary-expression before 'class'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:711: error: expected `;' before 'class'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:716: error: expected primary-expression before 'class'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:724: error: expected unqualified-id before '=' token
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:726: error: expected primary-expression before 'class'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:726: error: expected `)' before 'class'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c: At global scope:
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:757: error: expected identifier before ')' token
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:757: error: two or more data types in declaration of 'parameter'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c: In function 'HB_Error Make_ClassRange(HB_ClassDefinition*, HB_UShort, HB_UShort)':
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:768: error: invalid conversion from 'void*' to 'HB_ClassRangeRecord*'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:780: error: expected primary-expression before 'class'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:780: error: expected `;' before 'class'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c: In function 'HB_Error HB_GDEF_Build_ClassDefinition(HB_GDEFHeader*, HB_UShort, HB_UShort, HB_UShort*, HB_UShort*)':
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:757: error: too many arguments to function 'HB_Error Make_ClassRange(HB_ClassDefinition*, HB_UShort, HB_UShort)'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:834: error: at this point in file
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:757: error: too many arguments to function 'HB_Error Make_ClassRange(HB_ClassDefinition*, HB_UShort, HB_UShort)'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:852: error: at this point in file
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:757: error: too many arguments to function 'HB_Error Make_ClassRange(HB_ClassDefinition*, HB_UShort, HB_UShort)'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:875: error: at this point in file
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:894: error: invalid conversion from 'void*' to 'HB_UShort**'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:909: error: invalid conversion from 'void*' to 'HB_UShort*'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:916: error: invalid conversion from 'void*' to 'HB_UShort*'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:924: error: invalid conversion from 'void*' to 'HB_UShort*'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:932: error: invalid conversion from 'void*' to 'HB_UShort*'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c: In function 'HB_Error _HB_GDEF_Add_Glyph_Property(HB_GDEFHeader*, HB_UShort, HB_UShort)':
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:987: error: expected unqualified-id before ',' token
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:987: error: two or more data types in declaration of 'new_class'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:987: error: two or more data types in declaration of 'index'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:995: error: expected primary-expression before 'class'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1007: error: 'new_class' was not declared in this scope
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1034: error: ISO C++ forbids comparison between pointer and integer
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1034: error: invalid types 'HB_ClassRangeRecord*[char* ()(const char*, int)throw ()]' for array subscript
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1036: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'HB_UShort'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1037: warning: the address of 'char* index(const char*, int)' will never be NULL
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1040: error: pointer to a function used in arithmetic
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1040: error: invalid types 'HB_ClassRangeRecord*[char* (*)(const char*, int)throw ()]' for array subscript
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1044: error: pointer to a function used in arithmetic
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1044: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'HB_UShort'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1045: error: invalid types 'HB_ClassRangeRecord*[char* ()(const char*, int)throw ()]' for array subscript
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1050: error: expected unqualified-id before '=' token
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1054: error: expected primary-expression before 'class'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1054: error: expected `)' before 'class'
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1056: error: 'new_class' was not declared in this scope
../3rdparty/harfbuzz/src/harfbuzz-gdef.c: At global scope:
../3rdparty/harfbuzz/src/harfbuzz-gdef.c:652: warning: 'HB_UShort Get_New_Class(HB_GDEFHeader*, HB_UShort, HB_UShort)' defined but not used
make[1]: *** [.obj/release-shared-emb-arm/harfbuzz-gdef.o] Error 1




$vim src/corelib/../3rdparty/harfbuzz/src/harfbuzz-gdef.c


1194 //  if ( ALLOC_ARRAY( ppf1->PairSet, count, HB_PairSet ) )
1195 //    return error;
`
`
`


"class" to "classHB"
"new_class" to "new_classHBU"
 


vim src/corelib/../3rdparty/harfbuzz/src/harfbuzz-gpos.c
vim src/corelib/../3rdparty/harfbuzz/src/harfbuzz-open.c




1194 //  if ( ALLOC_ARRAY( ppf1->PairSet, count, HB_PairSet ) )
1195 //    return error;
`
`
`


"class" to "classHB"
"new_class" to "new_classHBU"


$make


----------------------------------------------------------------------------------------------------------------
delete"-qt-sql-sqlite \"


eabi/usr/include -o .obj/release-shared-emb-arm/sqlite3.o ../3rdparty/sqlite/sqlite3.c
../3rdparty/sqlite/sqlite3.c: In function 'void strftimeFunc(sqlite3_context*, int, sqlite3_value**)':
../3rdparty/sqlite/sqlite3.c:11904: error: invalid conversion from 'void*' to 'char*'
../3rdparty/sqlite/sqlite3.c: In function 'void sqlite3RegisterDateTimeFunctions()':
../3rdparty/sqlite/sqlite3.c:12098: warning: deprecated conversion from string constant to 'char*'
../3rdparty/sqlite/sqlite3.c:12098: warning: deprecated conversion from string constant to 'char*'
../3rdparty/sqlite/sqlite3.c:12098: warning: deprecated conversion from string constant to 'char*'
../3rdparty/sqlite/sqlite3.c:12098: warning: deprecated conversion from string constant to 'char*'
../3rdparty/sqlite/sqlite3.c:12098: warning: deprecated conversion from string constant to 'char*'
../3rdparty/sqlite/sqlite3.c:12098: warning: deprecated conversion from string constant to 'char*'
../3rdparty/sqlite/sqlite3.c:12098: warning: deprecated conversion from string constant to 'char*'
../3rdparty/sqlite/sqlite3.c:12098: warning: deprecated conversion from string constant to 'char*'
../3rdparty/sqlite/sqlite3.c: In function 'void* sqlite3MemMalloc(int)':
../3rdparty/sqlite/sqlite3.c:12607: error: invalid conversion from 'void*' to 'sqlite3_int64*'
../3rdparty/sqlite/sqlite3.c: In function 'void* sqlite3MemRealloc(void*, int)':
../3rdparty/sqlite/sqlite3.c:12646: error: invalid conversion from 'void*' to 'sqlite3_int64*'
../3rdparty/sqlite/sqlite3.c: In function 'sqlite3_mutex* pthreadMutexAlloc(int)':
../3rdparty/sqlite/sqlite3.c:15176: error: invalid conversion from 'void*' to 'sqlite3_mutex*'
../3rdparty/sqlite/sqlite3.c:15195: error: invalid conversion from 'void*' to 'sqlite3_mutex*'
../3rdparty/sqlite/sqlite3.c: In function 'char* sqlite3DbStrDup(sqlite3*, const char*)':
../3rdparty/sqlite/sqlite3.c:16312: error: invalid conversion from 'void*' to 'char*'
../3rdparty/sqlite/sqlite3.c: In function 'char* sqlite3DbStrNDup(sqlite3*, const char*, int)':
../3rdparty/sqlite/sqlite3.c:16324: error: invalid conversion from 'void*' to 'char*'
../3rdparty/sqlite/sqlite3.c: In function 'void sqlite3VXPrintf(StrAccum*, int, const char*, va_list)':
../3rdparty/sqlite/sqlite3.c:16864: warning: deprecated conversion from string constant to 'char*'




$vim arm-config.sh


delete"-qt-sql-sqlite \"


$./arm-config.sh


$make


-------------------------------------------------------------------------------------------------------
/painting/qgrayraster.c/


-I/home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/include -o .obj/release-shared-emb-arm/qgrayraster.o painting/qgrayraster.c
painting/qgrayraster.c: In function 'int QT_FT_Outline_Decompose(const QT_FT_Outline*, void*)':
painting/qgrayraster.c:1458: error: invalid conversion from 'void*' to 'TWorker_*'
painting/qgrayraster.c:1458: error:   initializing argument 2 of 'int gray_move_to(const QT_FT_Vector*, TWorker_*)'
painting/qgrayraster.c:1478: error: invalid conversion from 'void*' to 'TWorker_*'
painting/qgrayraster.c:1478: error:   initializing argument 2 of 'int gray_line_to(const QT_FT_Vector*, TWorker_*)'
painting/qgrayraster.c:1506: error: invalid conversion from 'void*' to 'TWorker_*'
painting/qgrayraster.c:1506: error:   initializing argument 3 of 'int gray_conic_to(const QT_FT_Vector*, const QT_FT_Vector*, TWorker_*)'
painting/qgrayraster.c:1519: error: invalid conversion from 'void*' to 'TWorker_*'
painting/qgrayraster.c:1519: error:   initializing argument 3 of 'int gray_conic_to(const QT_FT_Vector*, const QT_FT_Vector*, TWorker_*)'
painting/qgrayraster.c:1528: error: invalid conversion from 'void*' to 'TWorker_*'
painting/qgrayraster.c:1528: error:   initializing argument 3 of 'int gray_conic_to(const QT_FT_Vector*, const QT_FT_Vector*, TWorker_*)'
painting/qgrayraster.c:1558: error: invalid conversion from 'void*' to 'TWorker_*'
painting/qgrayraster.c:1558: error:   initializing argument 4 of 'int gray_cubic_to(const QT_FT_Vector*, const QT_FT_Vector*, const QT_FT_Vector*, TWorker_*)'
painting/qgrayraster.c:1564: error: invalid conversion from 'void*' to 'TWorker_*'
painting/qgrayraster.c:1564: error:   initializing argument 4 of 'int gray_cubic_to(const QT_FT_Vector*, const QT_FT_Vector*, const QT_FT_Vector*, TWorker_*)'
painting/qgrayraster.c:1571: error: invalid conversion from 'void*' to 'TWorker_*'
painting/qgrayraster.c:1571: error:   initializing argument 2 of 'int gray_line_to(const QT_FT_Vector*, TWorker_*)'
painting/qgrayraster.c: In function 'int gray_raster_new(TRaster_**)':
painting/qgrayraster.c:1883: error: invalid conversion from 'void*' to 'TRaster_*'
make[1]: *** [.obj/release-shared-emb-arm/qgrayraster.o] Error 1
make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3-arm/src/gui'
make: *** [sub-gui-make_default-ordered] Error 2




$vim ./src/gui/painting/qgrayraster.c


1881   gray_raster_new( QT_FT_Raster*  araster )
1882   {
1883 //    *araster = malloc(sizeof(TRaster));
 *araster = (TRaster_*)malloc(sizeof(TRaster));
1884     if (!*araster) {
1885         *araster = 0;
1886         return ErrRaster_Memory_Overflow;
1887     }


$make


------------------------------------------------------------------------------------------------------------------------
/EGL/egl.h: No such file or directory/


-I/home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/include -o .obj/release-shared-emb-arm/qegl.o egl/qegl.cpp
In file included from egl/qegl.cpp:48:
egl/qegl_p.h:66:24: error: EGL/egl.h: No such file or directory
In file included from egl/qegl.cpp:48:
egl/qegl_p.h:116: error: 'NativeWindowType' does not name a type
egl/qegl_p.h:117: error: 'NativePixmapType' does not name a type
egl/qegl_p.h:118: error: 'NativeDisplayType' does not name a type
In file included from egl/qegl.cpp:48:
egl/qegl_p.h:206: error: 'EGLConfig' does not name a type
egl/qegl_p.h:208: error: 'EGLConfig' does not name a type
egl/qegl_p.h:209: error: 'EGLSurface' does not name a type
egl/qegl_p.h:216: error: 'EGLint' was not declared in this scope
egl/qegl_p.h:222: error: 'EGLDisplay' does not name a type
egl/qegl_p.h:224: error: 'EGLNativeDisplayType' does not name a type
egl/qegl_p.h:225: error: 'EGLNativeWindowType' does not name a type
egl/qegl_p.h:226: error: 'EGLNativePixmapType' does not name a type
egl/qegl_p.h:229: error: 'EGLDisplay' was not declared in this scope
egl/qegl_p.h:229: error: 'EGLContext' was not declared in this scope
egl/qegl_p.h:229: error: expected primary-expression before 'target'
egl/qegl_p.h:229: error: expected primary-expression before 'buffer'
egl/qegl_p.h:229: error: expected primary-expression before 'const'
egl/qegl_p.h:229: error: initializer expression list treated as compound expression
egl/qegl_p.h:230: error: 'EGLBoolean' does not name a type
egl/qegl_p.h:231: error: 'EGLBoolean' does not name a type
In file included from ../../include/QtGui/private/qeglproperties_p.h:1,
                 from egl/qeglcontext_p.h:60,
                 from egl/qegl.cpp:49:
../../include/QtGui/private/../../../src/gui/egl/qeglproperties_p.h:70: error: field 'EGLConfig' has incomplete type
../../include/QtGui/private/../../../src/gui/egl/qeglproperties_p.h: In member function 'bool QEglProperties::isEmpty() const':
../../include/QtGui/private/../../../src/gui/egl/qeglproperties_p.h:77: error: 'EGL_NONE' was not declared in this scope
In file included from egl/qegl.cpp:49:
egl/qeglcontext_p.h: At global scope:
egl/qeglcontext_p.h:80: error: 'EGLSurface' does not name a type
egl/qeglcontext_p.h:81: error: 'EGLSurface' has not been declared
egl/qeglcontext_p.h:83: error: 'EGLSurface' has not been declared
egl/qeglcontext_p.h:86: error: 'EGLSurface' has not been declared
egl/qeglcontext_p.h:87: error: 'EGLSurface' has not been declared
egl/qeglcontext_p.h:91: error: 'EGLContext' does not name a type
egl/qeglcontext_p.h:92: error: 'EGLContext' has not been declared
egl/qeglcontext_p.h:94: error: 'EGLDisplay' does not name a type
egl/qeglcontext_p.h:96: error: 'EGLConfig' does not name a type
egl/qeglcontext_p.h:97: error: 'EGLConfig' has not been declared
egl/qeglcontext_p.h:101: error: 'EGLContext' does not name a type
egl/qeglcontext_p.h:102: error: 'EGLConfig' does not name a type
egl/qeglcontext_p.h:103: error: 'EGLSurface' does not name a type
egl/qeglcontext_p.h: In member function 'void QEglContext::setContext(int)':
egl/qeglcontext_p.h:92: error: 'ctx' was not declared in this scope
egl/qeglcontext_p.h: In member function 'void QEglContext::setConfig(int)':
egl/qeglcontext_p.h:97: error: 'cfg' was not declared in this scope
egl/qegl.cpp: In static member function 'static void QEglContextTracker::deref()':
egl/qegl.cpp:67: error: 'display' is not a member of 'QEgl'
egl/qegl.cpp:67: error: 'eglTerminate' was not declared in this scope
egl/qegl.cpp: In constructor 'QEglContext::QEglContext()':
egl/qegl.cpp:91: error: class 'QEglContext' does not have any field named 'ctx'
egl/qegl.cpp:91: error: 'EGL_NO_CONTEXT' was not declared in this scope
egl/qegl.cpp:92: error: class 'QEglContext' does not have any field named 'cfg'
egl/qegl.cpp:92: error: 'EGLConfig' was not declared in this scope
egl/qegl.cpp:93: error: class 'QEglContext' does not have any field named 'currentSurface'
egl/qegl.cpp:93: error: 'EGL_NO_SURFACE' was not declared in this scope
egl/qegl.cpp: In member function 'bool QEglContext::isValid() const':
egl/qegl.cpp:114: error: 'ctx' was not declared in this scope
egl/qegl.cpp:114: error: 'EGL_NO_CONTEXT' was not declared in this scope
egl/qegl.cpp: At global scope:
egl/qegl.cpp:122: error: 'EGLConfig' does not name a type
egl/qegl.cpp:284: error: 'EGLConfig' does not name a type
egl/qegl.cpp: In member function 'bool QEglContext::chooseConfig(const QEglProperties&, QEgl::PixelFormatMatch)':
egl/qegl.cpp:346: error: 'cfg' was not declared in this scope
egl/qegl.cpp:346: error: 'chooseConfig' is not a member of 'QEgl'
egl/qegl.cpp:347: error: 'EGLConfig' was not declared in this scope
egl/qegl.cpp: At global scope:
egl/qegl.cpp:350: error: 'EGLSurface' does not name a type
egl/qegl.cpp: In member function 'bool QEglContext::createContext(QEglContext*, const QEglProperties*)':
egl/qegl.cpp:385: error: 'class QEglContext' has no member named 'ctx'
egl/qegl.cpp:385: error: 'EGL_NO_CONTEXT' was not declared in this scope
egl/qegl.cpp:388: error: 'ctx' was not declared in this scope
egl/qegl.cpp:388: error: 'display' is not a member of 'QEgl'
egl/qegl.cpp:388: error: 'cfg' was not declared in this scope
egl/qegl.cpp:388: error: 'class QEglContext' has no member named 'ctx'
egl/qegl.cpp:388: error: 'eglCreateContext' was not declared in this scope
egl/qegl.cpp:389: error: 'EGL_NO_CONTEXT' was not declared in this scope
egl/qegl.cpp:390: error: no match for call to '(QString) ()'
egl/qegl.cpp:396: error: 'ctx' was not declared in this scope
egl/qegl.cpp:396: error: 'EGL_NO_CONTEXT' was not declared in this scope
egl/qegl.cpp:397: error: 'display' was not declared in this scope
egl/qegl.cpp:397: error: 'cfg' was not declared in this scope
egl/qegl.cpp:397: error: 'eglCreateContext' was not declared in this scope
egl/qegl.cpp:399: error: no match for call to '(QString) ()'
egl/qegl.cpp: At global scope:
egl/qegl.cpp:408: error: variable or field 'destroySurface' declared void
egl/qegl.cpp:408: error: 'EGLSurface' was not declared in this scope
make[1]: *** [.obj/release-shared-emb-arm/qegl.o] Error 1
make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3-arm/src/gui'
make: *** [sub-gui-make_default-ordered] Error 2


$vim ./src/gui/egl/qegl_p.h


 59 #if defined(QT_OPENGL_ES_2)
- 60 #   include "gl2.h"
 61 #endif
 62 
 63 #if defined(QT_GLES_EGL)
- 64 #   include "egl.h"
 65 #else
- 66 #   include "egl.h"
 67 #endif


$make 


---------------------------------------------------------------------------------------------------------------
/undefined reference to `q_gray_rendered_spans'/


 -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg -lOpenVG -lIMGegl -lsrv_um 
.obj/release-shared-emb-arm/qpaintengine_raster.o: In function `QRasterPaintEnginePrivate::rasterize(QT_FT_Outline_*, void (*)(int, QT_FT_Span_ const*, void*), void*, QRasterBuffer*)':
qpaintengine_raster.cpp:(.text+0x1538): undefined reference to `q_gray_rendered_spans'
collect2: ld returned 1 exit status
make[1]: *** [../../lib/libQtGui.so.4.7.3] Error 1
make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3-arm/src/gui'
make: *** [sub-gui-make_default-ordered] Error 2




$find . | xargs grep "HB_GDEFHeader"


$vim ./src/gui/painting/qpaintengine_raster.cpp


4164 
4165 //extern "C" {
4166     int q_gray_rendered_spans(QT_FT_Raster raster);
4167 //}
4168 


$make


past!
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值