This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Building Qt with OpenGL ES accelerated by SGX error

Hi Everyone!

I have a problem to Building Qt with OpenGL ES accelerated by SGX.I have follow this guide http://processors.wiki.ti.com/index.php/Building_Qt_with_OpenGL_ES_accelerated_by_SGX

SDK Version:

Graphics_SDK_4_05_00_03

qt-everywhere-opensource-src-4.8.0.tar.gz

hardware : DM8168

My step:

step1:build  Graphics_SDK_4_05_00_03 use cmd "make BUILD=release OMAPES=6.x SUPPORT_XORG=1 all"

step2:Tslib

Source Download - http://prdownload.berlios.de/tslib/tslib-1.0.tar.bz2

Host $ cd $FILESYSTEM_INSTALL_ROOT

Host $ cd usr/lib

Host $ ln -s libts-1.0.so.0 libts.so 
step3: linux-TIarmv7-sgx-g++.tar.gz  
as follow guide 
step4: patch -p1 < 0001-wsegl2-support.patch 
as follow guide 
step5:
QT configure
********************************************************************************************************************
./configure -prefix /home/selfworkdir/filesys_01_06/rfs -opensource -confirm-license -little-endian -host-little-endian 
-embedded arm -platform qws/linux-x86-g++ -xplatform qws/linux-TIarmv7-sgx-g++ -depths 16,24,32 -no-mmx -no-3dnow 
-no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp 
-qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -opengl es2 -qt-gfx-transformed -qt-gfx-vnc -qt-gfx-linuxfb 
-qt-gfx-multiscreen -plugin-gfx-powervr -D QT_NO_QWS_CURSOR -D QT_QWS_CLIENTBLIT
 
file qmake.conf

#
# qmake configuration for building with arm-linux-g++
#

include(../../common/g++.conf)
include(../../common/linux.conf)
include(../../common/qws.conf)

#User specific Path - To Be edited by User
QT_INSTALL_DIR          = $$PWD/../../..
SGX_SDK_ROOT         = /home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1
TSLIB_INSTALL_DIR   = /home/selfworkdir/tslib_install
FILESYSTEM_INSTALL_ROOT = /home/selfworkdir/filesys_01_06/rfs
TSLIB_INCDIR            = $TSLIB_INSTALL_DIR/include
TSLIB_LIBDIR            = $FILESYSTEM_INSTALL_ROOT/usr/lib
#TSLIB_INCDIR            = $TSLIB_INSTALL_DIR/include
#TSLIB_LIBDIR            = $TSLIB_INSTALL_DIR/lib

# modifications to g++.conf
QMAKE_CFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
QMAKE_CXXFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
QMAKE_CC                = arm-none-linux-gnueabi-gcc
QMAKE_CXX               = arm-none-linux-gnueabi-g++
QMAKE_LINK              = arm-none-linux-gnueabi-g++
QMAKE_LINK_SHLIB        = arm-none-linux-gnueabi-g++

# modifications to linux.conf
QMAKE_AR                = arm-none-linux-gnueabi-ar cqs
QMAKE_OBJCOPY           = arm-none-linux-gnueabi-objcopy
QMAKE_STRIP             = arm-none-linux-gnueabi-strip

#Do not edit beyond this

QMAKE_INCDIR_OPENGL_ES2 = $$SGX_SDK_ROOT/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include/
QMAKE_INCDIR_OPENGL_ES2 += $$SGX_SDK_ROOT/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/
QMAKE_INCDIR_OPENGL_ES2 += $$SGX_SDK_ROOT/include
QMAKE_INCDIR_OPENGL_ES2 += $$SGX_SDK_ROOT/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include/
QMAKE_LIBDIR_OPENGL_ES2 = $$SGX_SDK_ROOT/gfx_dbg_es6.x/
QMAKE_LIBS_OPENGL_ES2   = -lEGL -lGLESv2 -lGLES_CM -lIMGegl -lsrv_um -lusc

QMAKE_INCDIR_OPENGL     += $$SGX_SDK_ROOT/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include/
QMAKE_LIBDIR_OPENGL     = $$SGX_SDK_ROOT/gfx_dbg_es6.x
QMAKE_LIBDIR_OPENGL_QT  = $$SGX_SDK_ROOT/gfx_dbg_es6.x
QMAKE_LIBS_OPENGL_ES1   = -lEGL -lGLES_CM -lIMGegl -lsrv_um -lusc

QMAKE_INCDIR_OPENVG     = $$SGX_SDK_ROOT/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include/
QMAKE_LIBDIR_OPENVG     = $$SGX_SDK_ROOT/gfx_dbg_es6.x/
QMAKE_LIBS_OPENVG       = -lEGL -lGLESv2 -lGLES_CM -lIMGegl -lsrv_um -lOpenVG -lOpenVGU

QMAKE_INCDIR_EGL        = $$QMAKE_INCDIR_OPENGL_ES2
QMAKE_INCDIR_EGL        += $$QT_INSTALL_DIR/src/3rdparty/powervr/wsegl2
QMAKE_INCDIR_POWERVR    = $$QT_INSTALL_DIR/src/3rdparty/powervr/wsegl2
QMAKE_LIBDIR_EGL        = $$QMAKE_LIBDIR_OPENGL_ES2
QMAKE_LIBS_EGL          = -lEGL -lIMGegl -lsrv_um -lGLESv2 -lGLES_CM -lusc

QMAKE_INCDIR += $$TSLIB_INCDIR
QMAKE_INCDIR += $$QMAKE_INCDIR_OPENGL_ES2
QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL_ES2
QMAKE_LIBDIR += $$TSLIB_LIBDIR
QMAKE_LIBS = $$QMAKE_LIBS_OPENGL_ES2 -lts

load(qt_config)

********************************************************************************************************************
 
 
Then error has occur The output like this:

You have not explicitly asked to use pkg-config and are cross-compiling.
pkg-config will not be used to automatically query cflag/lib parameters for
dependencies


This is the Qt for Embedded Linux Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.

You have already accepted the terms of the  license.

Creating qmake. Please wait...
gmake: Nothing to be done for `first'.
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
        To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
The OpenGL ES 2.0 functionality test 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
 /home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/mkspecs/qws/linux-TIarmv7-sgx-g++.
[root@localhost qt-src-4.8.0]#

step6 modify qmake.conf file

QMAKE_LIBS = $$QMAKE_LIBS_OPENGL_ES2 -lts
change to QMAKE_LIBS = $$QMAKE_LIBS_OPENGL_ES2
step7 :
./configure OK.
step8:
make
Then make error: the message is as following:

cd "/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/./src/plugins/iconengines/svgiconengine"
make Makefile
make[4]: Entering directory `/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/src/plugins/iconengines/svgiconengine'
make[4]: `Makefile' is up to date.
make[4]: Leaving directory `/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/src/plugins/iconengines/svgiconengine'
make[3]: Leaving directory `/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/src/plugins/iconengines/svgiconengine'
make[3]: Entering directory `/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/src/plugins/iconengines/svgiconengine'
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wall -W -fPIC -DQT_NO_QWS_CURSOR -DQT_QWS_CLIENTBLIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../mkspecs/qws/linux-TIarmv7-sgx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include/QtXml -I../../../../include/QtSvg -I../../../../include -I.moc/release-shared-emb-arm -ISLIB_INSTALL_DIR/include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/ -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include -o .obj/release-shared-emb-arm/main.o main.cpp
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wall -W -fPIC -DQT_NO_QWS_CURSOR -DQT_QWS_CLIENTBLIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../mkspecs/qws/linux-TIarmv7-sgx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include/QtXml -I../../../../include/QtSvg -I../../../../include -I.moc/release-shared-emb-arm -ISLIB_INSTALL_DIR/include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/ -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include -o .obj/release-shared-emb-arm/qsvgiconengine.o qsvgiconengine.cpp
rm -f libqsvgicon.so
arm-none-linux-gnueabi-g++ -Wl,-rpath-link,/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/lib -Wl,-O1 -Wl,-rpath,/home/selfworkdir/filesys_01_06/rfs/lib -Wl,-rpath,/home/selfworkdir/filesys_01_06/rfs/lib -shared -o libqsvgicon.so .obj/release-shared-emb-arm/main.o .obj/release-shared-emb-arm/qsvgiconengine.o   -L/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/lib -L/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/gfx_dbg_es6.x/ -LILESYSTEM_INSTALL_ROOT/usr/lib -lQtSvg -L/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/lib -L/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/gfx_dbg_es6.x/ -LILESYSTEM_INSTALL_ROOT/usr/lib -lQtXml -lQtGui -lQtNetwork -lQtCore -lEGL -lGLESv2 -lGLES_CM -lIMGegl -lsrv_um -lusc -lpthread 
mv -f libqsvgicon.so ../../../../plugins/iconengines/
make[3]: Leaving directory `/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/src/plugins/iconengines/svgiconengine'
make[2]: Leaving directory `/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/src/plugins/iconengines'
cd gfxdrivers/ && make -f Makefile
make[2]: Entering directory `/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/src/plugins/gfxdrivers'
cd powervr/ && make -f Makefile
make[3]: Entering directory `/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/src/plugins/gfxdrivers/powervr'
cd QWSWSEGL/ && make -f Makefile
make[4]: Entering directory `/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/src/plugins/gfxdrivers/powervr/QWSWSEGL'
arm-none-linux-gnueabi-gcc -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -fPIC -DQT_NO_QWS_CURSOR -DQT_QWS_CLIENTBLIT -I../../../../../mkspecs/qws/linux-TIarmv7-sgx-g++ -I. -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/ -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include -I../../../../3rdparty/powervr/wsegl2 -I../../../../3rdparty/powervr/wsegl2 -ISLIB_INSTALL_DIR/include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/ -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include -o .obj/release-shared-emb-arm/pvrqwsdrawable.o pvrqwsdrawable.c
arm-none-linux-gnueabi-gcc -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -fPIC -DQT_NO_QWS_CURSOR -DQT_QWS_CLIENTBLIT -I../../../../../mkspecs/qws/linux-TIarmv7-sgx-g++ -I. -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/ -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include -I../../../../3rdparty/powervr/wsegl2 -I../../../../3rdparty/powervr/wsegl2 -ISLIB_INSTALL_DIR/include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/ -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/include -I/home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include -o .obj/release-shared-emb-arm/pvrqwswsegl.o pvrqwswsegl.c
pvrqwswsegl.c:42:30: error: GLES/eglplatform.h: No such file or directory
In file included from pvrqwswsegl.c:43:
../../../../3rdparty/powervr/wsegl2/wsegl.h:243: warning: parameter names (without types) in function declaration
../../../../3rdparty/powervr/wsegl2/wsegl.h:245: error: expected ')' before 'WSEGLDisplayHandle'
../../../../3rdparty/powervr/wsegl2/wsegl.h:247: error: expected ';' before 'WSEGLError'
pvrqwswsegl.c:75: error: expected ')' before 'nativeDisplay'
pvrqwswsegl.c:86: error: expected ')' before 'nativeDisplay'
pvrqwswsegl.c:148: error: expected declaration specifiers or '...' before 'NativeWindowType'
pvrqwswsegl.c: In function 'wseglCreateWindowDrawable':
pvrqwswsegl.c:157: error: 'nativeWindow' undeclared (first use in this function)
pvrqwswsegl.c:157: error: (Each undeclared identifier is reported only once
pvrqwswsegl.c:157: error: for each function it appears in.)
pvrqwswsegl.c:157: error: 'NativeWindowType' undeclared (first use in this function)
pvrqwswsegl.c:157: error: expected ')' before numeric constant
pvrqwswsegl.c: At top level:
pvrqwswsegl.c:185: error: expected declaration specifiers or '...' before 'NativePixmapType'
pvrqwswsegl.c: In function 'wseglCreatePixmapDrawable':
pvrqwswsegl.c:190: error: 'nativePixmap' undeclared (first use in this function)
pvrqwswsegl.c: At top level:
pvrqwswsegl.c:250: error: expected declaration specifiers or '...' before 'NativePixmapType'
pvrqwswsegl.c: In function 'wseglCopyFromDrawable':
pvrqwswsegl.c:253: error: 'nativePixmap' undeclared (first use in this function)
pvrqwswsegl.c: At top level:
pvrqwswsegl.c:293: error: expected declaration specifiers or '...' before 'NativePixmapType'
pvrqwswsegl.c: In function 'wseglCopyFromPBuffer':
pvrqwswsegl.c:295: error: 'nativePixmap' undeclared (first use in this function)
pvrqwswsegl.c: At top level:
pvrqwswsegl.c:398: error: 'wseglIsDisplayValid' undeclared here (not in a function)
pvrqwswsegl.c:399: error: 'wseglInitializeDisplay' undeclared here (not in a function)
pvrqwswsegl.c:399: warning: excess elements in struct initializer
pvrqwswsegl.c:399: warning: (near initialization for 'wseglFunctions')
pvrqwswsegl.c:400: warning: excess elements in struct initializer
pvrqwswsegl.c:400: warning: (near initialization for 'wseglFunctions')
pvrqwswsegl.c:401: warning: excess elements in struct initializer
pvrqwswsegl.c:401: warning: (near initialization for 'wseglFunctions')
pvrqwswsegl.c:402: warning: excess elements in struct initializer
pvrqwswsegl.c:402: warning: (near initialization for 'wseglFunctions')
pvrqwswsegl.c:403: warning: excess elements in struct initializer
pvrqwswsegl.c:403: warning: (near initialization for 'wseglFunctions')
pvrqwswsegl.c:404: warning: excess elements in struct initializer
pvrqwswsegl.c:404: warning: (near initialization for 'wseglFunctions')
pvrqwswsegl.c:405: warning: excess elements in struct initializer
pvrqwswsegl.c:405: warning: (near initialization for 'wseglFunctions')
pvrqwswsegl.c:406: warning: excess elements in struct initializer
pvrqwswsegl.c:406: warning: (near initialization for 'wseglFunctions')
pvrqwswsegl.c:407: warning: excess elements in struct initializer
pvrqwswsegl.c:407: warning: (near initialization for 'wseglFunctions')
pvrqwswsegl.c:408: warning: excess elements in struct initializer
pvrqwswsegl.c:408: warning: (near initialization for 'wseglFunctions')
pvrqwswsegl.c:409: warning: excess elements in struct initializer
pvrqwswsegl.c:409: warning: (near initialization for 'wseglFunctions')
pvrqwswsegl.c:410: warning: excess elements in struct initializer
pvrqwswsegl.c:410: warning: (near initialization for 'wseglFunctions')
pvrqwswsegl.c:412: warning: excess elements in struct initializer
pvrqwswsegl.c:412: warning: (near initialization for 'wseglFunctions')
pvrqwswsegl.c:412: warning: missing initializer
pvrqwswsegl.c:412: warning: (near initialization for 'wseglFunctions.pfnWSEGL_IsDisplayValid')
make[4]: *** [.obj/release-shared-emb-arm/pvrqwswsegl.o] Error 1
make[4]: Leaving directory `/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/src/plugins/gfxdrivers/powervr/QWSWSEGL'
make[3]: *** [sub-QWSWSEGL-make_default-ordered] Error 2
make[3]: Leaving directory `/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/src/plugins/gfxdrivers/powervr'
make[2]: *** [sub-powervr-make_default] Error 2
make[2]: Leaving directory `/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/src/plugins/gfxdrivers'
make[1]: *** [sub-gfxdrivers-make_default] Error 2
make[1]: Leaving directory `/home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/src/plugins'
make: *** [sub-plugins-make_default-ordered] Error 2
[root@localhost qt-src-4.8.0]#

 So somebody can help me ? where is wrong?

Thank you very much!