qt-mobility1.1.3-make
$vim /home/linuxsir/.bashrc
#x86 enviroment
#export PATH=/home/linuxsir/QtSDK/Desktop/Qt/473/gcc/bin:$PATH
#export LD_LIBRARY_PATH=/home/linuxsir/QtSDK/QtCreator/lib/qtmobility/lib:$LD_LIBRARY_PATH
#export PKG_CONFIG_PATH=/usr/lib/pkgconfig:$PKG_CONFIG_PATH
#ARM embedded enviroment
**
export PATH=/usr/local/qt-emembeded-4.7.3-arm-linux/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/qt-emembeded-4.7.3-arm-linux/lib:$LD_LIBRARY_PATH
**
export PATH=/home/linuxsir/arm-linux/arm-2009q1/bin:$PATH
export LD_LIBRARY_PATH=/home/linuxsir/arm-linux/arm-2009q1/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/pkgconfig
export DVSDK=/home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06
$unset LD_LIBRARY_PATH
$source ~/.bashrc
$cd qt-mobility-opensource-src-1.1.3
$./configure -prefix /usr/local/qt-mobility-1.1.3-lib/
$make
------------------------------------------------------------------------------
second method :
$vim /home/linuxsir/.bashrc
#x86 enviroment
#export PATH=/home/linuxsir/QtSDK/Desktop/Qt/473/gcc/bin:$PATH
#export LD_LIBRARY_PATH=/home/linuxsir/QtSDK/QtCreator/lib/qtmobility/lib:$LD_LIBRARY_PATH
#export PKG_CONFIG_PATH=/usr/lib/pkgconfig:$PKG_CONFIG_PATH
#ARM embedded enviroment
**
export PATH=/usr/local/qt-emembeded-4.7.3-arm-linux/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/qt-emembeded-4.7.3-arm-linux/lib:$LD_LIBRARY_PATH
**
export PATH=/home/linuxsir/arm-linux/arm-2009q1/bin:$PATH
export LD_LIBRARY_PATH=/home/linuxsir/arm-linux/arm-2009q1/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/pkgconfig
export DVSDK=/home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06
$unset LD_LIBRARY_PATH
$source ~/.bashrc
$qmake
$make
-------------------------------------------------------------------------------------------
arm-none-linux-gnueabi/bin/ld: cannot find -lX11
make[2]: Entering directory `/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/src/systeminfo'
rm -f libQtSystemInfo.so.1.1.3 libQtSystemInfo.so libQtSystemInfo.so.1 libQtSystemInfo.so.1.1
arm-none-linux-gnueabi-g++ -Wl,--no-undefined -Wl,-rpath,/usr/local/qt-emembeded-4.7.3-arm-linux/lib -Wl,-rpath,/usr/local/qt-mobility-1.1.3-lib/lib -shared -Wl,-soname,libQtSystemInfo.so.1 -o libQtSystemInfo.so.1.1.3 ../../build/Debug/QtSystemInfo/qsystemgeneralinfo.o ../../build/Debug/QtSystemInfo/qsystemdeviceinfo.o ../../build/Debug/QtSystemInfo/qsystemdisplayinfo.o ../../build/Debug/QtSystemInfo/qsystemnetworkinfo.o ../../build/Debug/QtSystemInfo/qsystemscreensaver.o ../../build/Debug/QtSystemInfo/qsystemstorageinfo.o ../../build/Debug/QtSystemInfo/qsysteminfo_linux_common.o ../../build/Debug/QtSystemInfo/qsysteminfo_linux.o ../../build/Debug/QtSystemInfo/qha$vim /home/linuxsir/.bashrclservice_linux.o -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/openGlVg -L/usr/local/qt-emembeded-4.7.3-arm-linux/lib -L/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/lib -lX11 -lXrandr -lQtDBus -L/usr/local/qt-emembeded-4.7.3-arm-linux/lib -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/openGlVg -lQtXml -lQtGui -lQtNetwork -lQtCore -lz -lpthread
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
$cd /home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/src/systeminfo
$vim Makefile
LIBS = -L/home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/omap35x_graphics_sdk_4.00.00.01/gfx_dbg_es3.x/freedesktop/kdrive/usr/X11R6_SGX/lib -lX11 -lXrandr
$./configure -prefix /usr/local/qt-mobility-1.1.3-lib/
$make
---------------------------------------------------------------------------------------------------------
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libgthread-2.0.so.0, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.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: libglib-2.0.so.0, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so, not found (try using -rpath or -rpath-link)
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_set_priority'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_set_can_recurse'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_new'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_ref'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_remove_poll'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_new'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_iteration'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_wakeup'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_thread_init'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_default'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_threads_got_initialized'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_add_poll'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_unref'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_pending'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_destroy'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_unref'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_attach'
collect2: ld returned 1 exit status
make[2]: *** [../../bin/servicedbgen] Error 1
make[2]: Leaving directory `/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/tools/servicedbgen'
make[1]: *** [sub-servicedbgen-make_default] Error 2
make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/tools'
$vim /home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/tools/servicedbgen/Makefile
-L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg -lQtNetwork -lQtCore -lz -lpthread -lglib-2.0 -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: libts-0.0.so.0, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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: libgthread-2.0.so.0, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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: libglib-2.0.so.0, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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: libEGL.so, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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: libOpenVG.so, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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: libIMGegl.so, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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 /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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: libGLES_CM.so, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so, not found (try using -rpath or -rpath-link)
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_threads_got_initialized'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_ref'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_unref'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_default'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglCreateWindowSurface'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglBindAPI'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_pending'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_thread_init'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglCreateContext'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_set_priority'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_unref'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglCreatePixmapSurface'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglMakeCurrent'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `g_source_set_can_recurse'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglDestroySurface'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglGetConfigAttrib'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `g_source_attach'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_iteration'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglGetDisplay'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `ts_read_raw'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglChooseConfig'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_add_poll'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `ts_open'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglInitialize'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglGetProcAddress'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `ts_fd'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_new'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_remove_poll'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglGetConfigs'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglQueryString'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglDestroyContext'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `g_source_new'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `ts_config'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_wakeup'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `ts_close'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglSwapBuffers'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglGetError'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglTerminate'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `g_source_destroy'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `ts_read'
collect2: ld returned 1 exit status
make[2]: *** [../../bin/servicexmlgen] Error 1
make[2]: Leaving directory `/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/tools/servicexmlgen'
make[1]: *** [sub-servicexmlgen-make_default] Error 2
make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/tools'
$vim /home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/tools/servicexmlgen/Makefile
-L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg -lQtNetwork -lQtCore -lz -lpthread -lts -lgthread-2.0 -lglib-2.0 -lEGL -lOpenVG -lIMGegl -lGLES_CM
$make
------------------------------------------------------------------------------------------------
/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 /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so, not found (try using -rpath or -rpath-link)
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `PVRSRVAcquireDeviceData'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libGLES_CM.so: undefined reference to `PVRSRVGetBCBuffer'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libGLES_CM.so: undefined reference to `PVRSRVProfileOutput'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `PVRSRVMetricsGetCPUFreq'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `PVRSRVTrace'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `PVRSRVUnloadLibrary'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `SGXCreateTransferContext'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `PVRSRVGetTimerRegister'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libGLES_CM.so: undefined reference to `PVRSRVEnumerateDeviceClass'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `PVRSRVMetricsTimeNow'
/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/libIMGegl.so: undefined reference to `PVRSRVLoadLibrary'
/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/libGLES_CM.so: undefined reference to `PVRSRVGetBCBufferInfo'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `PVRSRVReleaseTimerRegister'
/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/libIMGegl.so: undefined reference to `PVRSRVDestroyDeviceMemContext'
/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/libIMGegl.so: undefined reference to `PVRSRVDisconnect'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `PVRSRVCreateDeviceMemContext'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `SGXDestroyTransferContext'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libGLES_CM.so: undefined reference to `PVRSRVDeInitProfileOutput'
/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/libIMGegl.so: undefined reference to `SGXDestroyRenderContext'
/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/libGLES_CM.so: undefined reference to `PVRSRVInitProfileOutput'
/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/libIMGegl.so: undefined reference to `PVRSRVReleaseMiscInfo'
/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/libGLES_CM.so: undefined reference to `PVRSRVOpenBCDevice'
/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/libIMGegl.so: undefined reference to `PVRSRVGetLibFuncAddr'
/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/libIMGegl.so: undefined reference to `PVRSRVEnumerateDevices'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libGLES_CM.so: undefined reference to `PVRSRVCloseBCDevice'
/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/libGLES_CM.so: undefined reference to `PVRSRVMapDeviceClassMemory'
/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/libIMGegl.so: undefined reference to `SGXReleaseClientInfo'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `PVRSRVGetMiscInfo'
/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/libIMGegl.so: undefined reference to `SGXRemoveRenderTarget'
/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 `PVRSRVAllocDeviceMem'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `SGXSetContextPriority'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `SGXAddRenderTarget'
/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/libIMGegl.so: undefined reference to `PVRSRVConnect'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `SGXGetClientInfo'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `PVRSRVReleaseThreadQuanta'
/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/libGLES_CM.so: undefined reference to `PVRSRVUnmapDeviceClassMemory'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg/libIMGegl.so: undefined reference to `SGXCreateRenderContext'
/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'
$vim /home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/tools/servicexmlgen/Makefile
-L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg -lQtNetwork -lQtCore -lz -lpthread -lts -lgthread-2.0 -lglib-2.0 -lEGL -lOpenVG -lIMGegl -lGLES_CM -lsrv_um
$make
----------------------------------------------------------------------------------------------------------------------
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libts-0.0.so.0, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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: libgthread-2.0.so.0, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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: libglib-2.0.so.0, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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: libEGL.so, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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: libOpenVG.so, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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: libIMGegl.so, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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 /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.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: libGLES_CM.so, needed by /usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so, not found (try using -rpath or -rpath-link)
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_threads_got_initialized'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_ref'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_unref'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_default'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglCreateWindowSurface'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglBindAPI'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_pending'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_thread_init'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglCreateContext'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_set_priority'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_unref'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglCreatePixmapSurface'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglMakeCurrent'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `g_source_set_can_recurse'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglDestroySurface'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglGetConfigAttrib'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `g_source_attach'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_iteration'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglGetDisplay'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `ts_read_raw'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglChooseConfig'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_add_poll'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `ts_open'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglInitialize'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglGetProcAddress'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `ts_fd'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_new'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_source_remove_poll'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglGetConfigs'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglQueryString'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglDestroyContext'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `g_source_new'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `ts_config'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtCore.so: undefined reference to `g_main_context_wakeup'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `ts_close'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglSwapBuffers'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglGetError'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `eglTerminate'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `g_source_destroy'
/usr/local/qt-emembeded-4.7.3-arm-linux/lib/libQtGui.so: undefined reference to `ts_read'
collect2: ld returned 1 exit status
make[2]: *** [../../bin/icheck] Error 1
make[2]: Leaving directory `/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/tools/icheck'
make[1]: *** [sub-icheck-make_default] Error 2
make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/tools'
vim tools/icheck/Makefile
LIBS + -lts -lgthread-2.0 -lglib-2.0 -lEGL -lOpenVG -lIMGegl -lGLES_CM -lsrv_um
----------------------------------------------------------------------------------------
In file included from qgstreamervideooverlay.cpp:47:
qx11videosurface.h:50:22: error: X11/Xlib.h: No such file or directory
qx11videosurface.h:51:31: error: X11/extensions/Xv.h: No such file or directory
qx11videosurface.h:52:34: error: X11/extensions/Xvlib.h: No such file or directory
In file included from qgstreamervideooverlay.cpp:47:
./configure -prefix /usr/local/qt-mobility-1.1.3-lib/ -libdir "/home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/include/qtopia /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/omap35x_graphics_sdk_4.00.00.01/gfx_dbg_es3.x/freedesktop/kdrive/usr/X11R6_SGX/lib /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib -rpath /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 -lts -lOpenVG -lIMGegl -lsrv_um -lGLES_CM -lX11 -lXrandr -lglib-2.0 -lgthread-2.0 -lEGL" -headerdir "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL/EGL /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/libxml /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0/glib /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/include /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/omap35x_graphics_sdk_4.00.00.01/gfx_dbg_es2.x/freedesktop/kdrive/usr/X11R6_SGX/include"
#vim plugins/multimedia/gstreamer/Makefile
INCLUDE += -I/home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/omap35x_graphics_sdk_4.00.00.01/gfx_dbg_es3.x/freedesktop/kdrive/usr/X11R6_SGX/include
----------------------------------------------------------------------------------------------------
gstengine/qgstreamervideooverlay.o qgstreamervideooverlay.cpp
cc1plus: warning: include location "/usr/include/gstreamer-0.10" is unsafe for cross-compilation
cc1plus: warning: include location "/usr/include/libxml2" is unsafe for cross-compilation
qgstreamervideooverlay.cpp:51: error: 'QGstreamerVideoOverlay' has not been declared
qgstreamervideooverlay.cpp:51: error: ISO C++ forbids declaration of 'QGstreamerVideoOverlay' with no type
qgstreamervideoove vim plugins/multimedia/gstreamer/Makefilerlay.cpp: In function 'int QGstreamerVideoOverlay(QObject*)':
qgstreamervideooverlay.cpp:52: error: only constructors take base initializers
qgstreamervideooverlay.cpp:54: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp:58: error: 'm_videoSink' was not declared in this scope
qgstreamervideooverlay.cpp:64: error: invalid use of 'this' in non-member function
qgstreamervideooverlay.cpp:64: error: 'connect' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:67: error: expected constructor, destructor, or type conversion before '::' token
qgstreamervideooverlay.cpp:75: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp:75: error: non-member function 'WId winId()' cannot have cv-qualifier
qgstreamervideooverlay.cpp: In function 'WId winId()':
qgstreamervideooverlay.c-I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/gstreamer-0.10 -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/libxml2pp:77: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:80: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp: In function 'void setWinId(WId)':
qgstreamervideooverlay.cpp:82: error: 'isReady' was not declared in this scope
qgstreamervideooverlay.cpp:83: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp:86: error: 'readyChanged' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:89: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp:89: error: non-member function 'QRect displayRect()' cannot have cv-qualifier
qgstreamervideooverlay.cpp: In function 'QRect displayRect()':
qgstreamervideooverlay.cpp:91: error: 'm_displayRect' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:94: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp: In function 'void setDisplayRect(const QRect&)':
qgstreamervideooverlay.cpp:96: error: 'm_displayRect' was not declared in this scope
qgstreamervideooverlay.cpp:98: error: 'setScaledDisplayRect' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:101: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp:101: error: non-member function 'Qt::AspectRatioMode aspectRatioMode()' cannot have cv-qualifier
qgstreamervideooverlay.cpp: In function 'Qt::AspectRatioMode aspectRatioMode()':
qgstreamervideooverlay.cpp:103: error: 'm_aspectRatioMode' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:106: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp: In function 'void setAspectRatioMode(Qt::AspectRatioMode)':
qgstreamervideooverlay.c-I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/gstreamer-0.10 -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/libxml2pp:108: error: 'm_aspectRatioMode' was not declared in this scope
qgstreamervideooverlay.cpp:110: error: 'setScaledDisplayRect' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:113: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp:117: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp:117: error: non-member function 'int brightness()' cannot have cv-qualifier
qgstreamervideooverlay.cpp: In function 'int brightness()':
qgstreamervideooverlay.cpp:119: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:122: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp: In function 'void setBrightness(int)':
qgstreamervideooverlay.cpp:124: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp:126: error: 'brightnessChanged' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:129: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp:129: error: non-member function 'int contrast()' cannot have cv-qualifier
qgstreamervideooverlay.cpp: In function 'int contrast()':
qgstreamervideooverlay.cpp:131: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:134: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp: In function 'void setContrast(int)':
qgstreamervideooverlay.cpp:136: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp:138: error: 'contrastChanged' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:141: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp:141: error: non-member function 'int hue()' cannot have cv-qualifier
qgstreamervideooverlay.cpp: In function 'int hue()':
qgstreamervideooverlay.cpp:143: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:146: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp: In function 'void setHue(int)':
qgstreamervideooverlay.cpp:148: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp:150: error: 'hueChanged' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:153: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp:153: error: non-member function 'int saturation()' cannot have cv-qualifier
qgstreamervideooverlay.cpp: In function 'int saturation()':
qgstreamervideooverlay.c-I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/gstreamer-0.10 -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/libxml2pp:155: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:158: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp: In function 'void setSaturation(int)':
qgstreamervideooverlay.cpp:160: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp:162: error: 'saturationChanged' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:165: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp:165: error: non-member function 'bool isFullScreen()' cannot have cv-qualifier
qgstreamervideooverlay.cpp: In function 'bool isFullScreen()':
qgstreamervideooverlay.cpp:167: error: 'm_fullScreen' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:170: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp: In function 'void setFullScreen(bool)':
qgstreamervideooverlay.cpp:172: error: 'm_fullScreen' was not declared in this scope
qgstreamervideooverlay.cpp:172: error: 'fullScreenChanged' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:175: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp:175: error: non-member function 'QSize nativeSize()' cannot have cv-qualifier
qgstreamervideooverlay.cpp: In function 'QSize nativeSize()':
qgstreamervideooverlay.cpp:177: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:180: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp:180: error: non-member function 'QAbstractVideoSurface* surface()' cannot have cv-qualifier
qgstreamervideooverlay.cpp: In function 'QAbstractVideoSurface* surface()':
qgstreamervideooverlay.cpp:182: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:185: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp: In function 'GstElement* videoSink()':
qgstreamervideooverlay.cpp:187: error: 'm_videoSink' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:190: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp: In function 'void surfaceFormatChanged()':
qgstreamervideooverlay.cpp:192: error: 'setScaledDisplayRect' was not declared in this scope
qgstreamervideooverlay.cpp:194: error: 'nativeSizeChanged' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:197: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp: In function 'void setScaledDisplayRect()':
qgstreamervideooverlay.c-I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/gstreamer-0.10 -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/libxml2pp:199: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp:201: error: 'm_aspectRatioMode' was not declared in this scope
qgstreamervideooverlay.cpp:205: error: 'm_displayRect' was not declared in this scope
qgstreamervideooverlay.cpp:215: error: 'm_displayRect' was not declared in this scope
make[3]: *** [../../../build/Debug/qgstengine/qgstreamervideooverlay.o] Error 1
make[3]: Leaving directory `/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/plugins/multimedia/gstreamer'
make[2]: *** [sub-gstreamer-make_default] Error 2
make[2]: Leaving directory `/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/plugins/multimedia'
make[1]: *** [sub-multimedia-make_default] Error 2
make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/plugins'
$vim qgstreamervideooverlay.h
53
54 //#if defined(Q_WS_X11) && !defined(QT_NO_XVIDEO)
55
116 };
117
118 #endif //QT_NO_XVIDEO
119
`
`
`
------------------------------------------------------------------------------------------
gstengine/qgstreamervideooverlay.o qgstreamervideooverlay.cpp
cc1plus: warning: include location "/usr/include/gstreamer-0.10" is unsafe for cross-compilation
cc1plus: warning: include location "/usr/include/libxml2" is unsafe for cross-compilation
qgstreamervideooverlay.cpp:51: error: 'QGstreamerVideoOverlay' has not been declared
qgstreamervideooverlay.cpp:51: error: ISO C++ forbids declaration of 'QGstreamerVideoOverlay' with no type
qgstreamervideooverlay.cpp: In function 'int QGstreamerVideoOverlay(QObject*)':
qgstreamervideooverlay.cpp:52: error: only constructors take base initializers
qgstreamervideooverlay.cpp:58: error: 'm_videoSink' was not declared in this scope
qgstreamervideooverlay.cpp:63: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp:64: error: invalid use of 'this' in non-member function
qgstreamervideooverlay.cpp:64: error: 'connect' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:67: error: expected constructor, destructor, or type conversion before '::' token
qgstreamervideooverlay.cpp:75: error: 'QGstreamerVideoOverlay' is not a class or namespace
qgstreamervideooverlay.cpp:75: error: non-member function 'WId winId()' cannot have cv-qualifier
qgstreamervideooverlay.cpp: In function 'WId winId()':
qgstreamervideooverlay.cpp:77: error: 'm_surface' was not declared in this scope
qgstreamervideooverlay.cpp: At global scope:
qgstreamervideooverlay.cpp:80: error: 'QGstreamerVideoOverlay'
vim qgstreamervideowindow.h
53
54 //#if defined(Q_WS_X11) && !defined(QT_NO_XVIDEO)
55
128
129 #endif //QT_NO_XVIDEO
130
131 //#endif
-------------------------------------------------------------------------------------------------------------------------
../../../build/Debug/qgstengine/qx11videosurface.o: In function `QX11VideoSurface::findPort()':
/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/plugins/multimedia/gstreamer/qx11videosurface.cpp:459: undefined reference to `QX11Info::display()'
/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/plugins/multimedia/gstreamer/qx11videosurface.cpp:471: undefined reference to `QX11Info::display()'
../../../build/Debug/qgstengine/qx11videosurface.o: In function `QX11VideoSurface::present(QVideoFrame const&)':
/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/plugins/multimedia/gstreamer/qx11videosurface.cpp:418: undefined reference to `QX11Info::display()'
/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/plugins/multimedia/gstreamer/qx11videosurface.cpp:440: undefined reference to `QX11Info::display()'
../../../build/Debug/qgstengine/qx11videosurface.o: In function `QX11VideoSurface::start(QVideoSurfaceFormat const&)':
/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/plugins/multimedia/gstreamer/qx11videosurface.cpp:338: undefined reference to `QX11Info::display()'
../../../build/Debug/qgstengine/qx11videosurface.o:/home/linuxsir/dvsdk/qt-mobility-opensource-src-1.1.3/plugins/multimedia/gstreamer/qx11videosurface.cpp:291: more undefined references to `QX11Info::display()' follow
collect2: ld returned 1 exit status
make: *** [libqgstengine.so] Error 1
./configure -prefix /usr/local/qt-mobility-1.1.3-lib/ -libdir "/home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/include/qtopia /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/omap35x_graphics_sdk_4.00.00.01/gfx_dbg_es3.x/freedesktop/kdrive/usr/X11R6_SGX/lib /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib -rpath /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 -lts -lOpenVG -lIMGegl -lsrv_um -lGLES_CM -lX11 -lXrandr -lglib-2.0 -lgthread-2.0 -lEGL" -headerdir "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL/EGL /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/libxml /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0/glib /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/include /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/omap35x_graphics_sdk_4.00.00.01/gfx_dbg_es2.x/freedesktop/kdrive/usr/X11R6_SGX/include /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/gstreamer-0.10 /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/libxml2"
-headerdir
+=
-I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/gstreamer-0.10 -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/libxml2
$vim plugins/plugins.pro
-14 //contains(QT_CONFIG,declarative): SUBDIRS += declarative
15
+16 SUBDIRS += declarative
$qt-mobility-opensource-src-1.2.0$ vim plugins/multimedia/gstreamer/gstreamer.pro
81 qgstutils.cpp
82
83
-84 //!win32:!embedded:!mac:!symbian:!simulator:!contains(QT_CONFIG, qpa) {
-85 // LIBS += -lXv -lX11 -lXext
-86
-87 // HEADERS += \
-88 // qgstreamervideooverlay.h \
-89 // qgstreamervideowindow.h \
-90 // qgstreamervideowidget.h \
-91 // qx11videosurface.h \
-92 // qgstxvimagebuffer.h
-93
-94 // SOURCES += \
-95 // qgstreamervideooverlay.cpp \
-96 // qgstreamervideowindow.cpp \
-97 // qgstreamervideowidget.cpp \
-98 // qx11videosurface.cpp \
-99 // qgstxvimagebuffer.cpp
-100 //}
101 include(mediaplayer/mediaplayer.pri)
$make
$sudo make install
I believe according this amend ,the QtMobility1.1.3 will passed and will ok,too.Under the arm cross compile.
Congretulate!
-----------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------
/******************************************************************************************************
仔细查阅便知道,QtMobility1.2.0以前的版本是不支持camera图像显示的,特别强调的是在Linux下,Qt官网便可以知道。
/******************************************************************************************************