Important: Please read the Qt Code of Conduct -

Qt5 Alpha - Cross Compiling for i.MX Board

  • Hi,

    I am running into problems during the compiliation.
    Following errors occured:
    /home/lucid/ltib/rootfs/usr/lib/ undefined reference to gco3D_Semaphore' /home/lucid/ltib/rootfs/usr/lib/ undefined reference togcoOS_Delay'
    /home/lucid/ltib/rootfs/usr/lib/ undefined reference to gcoHAL_QueryTextureCaps' /home/lucid/ltib/rootfs/usr/lib/ undefined reference togcoHAL_Commit'
    .. (other undefined references to gco*)

    That's my configure:
    ./configure -opensource -confirm-license -nomake tests -prefix /home/lucid/qtInstalled -opengl -xplatform linux-arm-gnueabi-g++ -xcb -v

    This is the includes/libs part of my qmake.conf:

    QMAKE_INCDIR = /home/lucid/ltib/rootfs/usr/include
    QMAKE_LIBDIR = /home/lucid/ltib/rootfs/usr/lib

    QMAKE_INCDIR = /home/lucid/ltib/rootfs/usr/include
    /home/lucid/ltib/rootfs/usr/include/gstreamer-0.10/ \

    QMAKE_LIBS = -lglib-2.0 -lgthread-2.0 -lxml2 -lz -lgmodule-2.0 -lgobject-2.0 -lts -lasound -lfreetype -lexpat -ljpeg -lfontconfig -lSM -lICE -lpng -lEGL -lGLESv2 -lgstreamer-0.10
    QMAKE_INCDIR_OPENGL_ES2 = /home/lucid/ltib/rootfs/usr/include/GLES2
    QMAKE_LIBDIR_OPENGL_ES2 = /home/lucid/ltib/rootfs/usr/lib
    QMAKE_INCDIR_EGL = /home/lucid/ltib/rootfs/usr/include/EGL
    QMAKE_LIBDIR_EGL = /home/lucid/ltib/rootfs/usr/lib

    QMAKE_LIBS_THREAD = -lpthread

    Best regards

  • I think you need to link another lib in QMAKE_LIBS variable which has gco* functions included.
    Sorry I don't know about that lib, Maybe it come with ....

  • I had the same thought, too, but the question is which exact library is missing.
    Any ideas?

  • qtd1d1,

    I am having the same error compiling Qt4.8.2 for the imx6. Did you ever find a solution to this problem?

  • It is But after this I got problem with libX11 now...

Log in to reply