Compiling Qt5.2.1 for UDOO - "make" fails



  • Hi everyone,

    I’m trying to compile Qt5.2.1 for linux-arm-gnueabi-g++ (building crosscompile env for UDOO). I'm using Linaro Ubuntu 12.04.

    First, I ran this ./configure

    @./configure -release -opensource -confirm-license
    -prefix /opt/qt-5.2
    -device linux-imx6-g++
    -device-option
    CROSS_COMPILE=/usr/bin/
    -opengl es2
    -verbose
    -no-rpath
    -no-pch
    -plugin-sql-mysql@

    And it's all Ok.
    But when I run make, I've got following error:

    @In file included from ../../../../mkspecs/devices/linux-imx6-g++.cpp:43:0:
    /usr/includeEGL/eglvivante.h:95:29: error: conflicting declaration 'typedef struct _FBDisplay* EGLNativeDisplayType'
    /usr/includeEGL/eglplatform.h:111:26: error: 'EGLNativeDisplayType' has a previous declaration as 'typedef void* EGLNativeDisplayType'
    /usr/includeEGL/eglvivante.h:96:29: error: conflicting declaration 'typedef struct _FBWindow* EGLNativeWindowType'
    /usr/includeEGL/eglplatform.h:113:26: error: 'EGLNativeWindowType' has a previous declaration as 'typedef khronos_uint32_t EGLNativeWindowType'
    /usr/includeEGL/eglvivante.h:96:29: error: conflicting declaration 'typedef struct _FBPixmap* EGLNativePixmapType'
    /usr/includeEGL/eglplatform.h:113:26: error: 'EGLNativePixmapType' has a previous declaration as 'typedef khronos_uint32_t EGLNativePixmapType'
    make[5]: *** [.obj/qeglfshooks_imx6.o] Error 1
    make[5]: Leaving directory '/home/ubuntu/qt-everywhere-opensource-src-5.2.1/qtbase/src/plugins/platforms/eglfs'
    make[4]: *** [sub-eglfs-make_first] Error 2
    make[4]: Leaving directory '/home/ubuntu/qt-everywhere-opensource-src-5.2.1/qtbase/src/plugins/platforms'
    make[3]: *** [sub-platforms-make_first] Error 2
    make[3]: Leaving directory '/home/ubuntu/qt-everywhere-opensource-src-5.2.1/qtbase/src/plugins'
    make[2]: *** [sub-plugins-make_first] Error 2
    make[2]: Leaving directory '/home/ubuntu/qt-everywhere-opensource-src-5.2.1/qtbase/src'
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory '/home/ubuntu/qt-everywhere-opensource-src-5.2.1/qtbase'
    make: *** [module-qtbase-make_first] Error 2
    @

    Can anyone help me?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.