Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] Unresolved symbol fbGetDisplayByIndex in Qt-5.1.1 for imx
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Unresolved symbol fbGetDisplayByIndex in Qt-5.1.1 for imx

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 6.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    georgereimer
    wrote on last edited by
    #1

    I have cross compiled Qt-5.1.1 for imx 6 and setup Qt Creator kits for both ubuntu native x86 and imx6.
    My application simply wants to display video with overlay graphics, which it does in x86 version.
    When I try to run the imx6 version on my wandboard-solo, i get

    _loaded library "/usr/local/Qt-5.1.1/plugins/platforms/libqeglfs.so"
    QLibraryPrivate::loadPlugin failed on "/usr/local/Qt-5.1.1/plugins/platforms/libqeglfs.so" : "Cannot load library /usr/local/Qt-5.1.1/plugins/platforms/libqeglfs.so: (/usr/local/Qt-5.1.1/plugins/platforms/libqeglfs.so: undefined symbol: fbGetDisplayByIndex)"
    This application failed to start because it could not find or load the Qt platform plugin "eglfs".

    Available platform plugins are: eglfs, minimal, minimalegl, offscreen._

    A check of libeqlfs.so with nm indicates that fbGetDisplayByIndex is Undefined.
    A recursive search of all the files in the Qt-5.1.1 development folder reveals that the only code that references this function is in : qtbase/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp.

    I cannot find a supplier for it.
    Where might a look to resolve this missing symbol?

    thanks

    @
    Qt5-1.1 Configure summary

    Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
    Building for: devices/linux-imx6-g++ (arm, CPU features: neon)
    Platform notes:

            - Also available for Linux: linux-kcc linux-icc linux-cxx
    

    qmake vars .......... styles += mac fusion windows DEFINES += QT_NO_LIBUDEV DEFINES += QT_NO_XCB DEFINES += QT_NO_XKBCOMMON PRECOMPILED_DIR = .pch/release-shared OBJECTS_DIR = .obj/release-shared MOC_DIR = .moc/release-shared RCC_DIR = .rcc/release-shared UI_DIR = .uic/release-shared sql-drivers = sql-plugins = sqlite qmake switches .........

    Build options:
    Configuration .......... accessibility audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent cross_compile evdev eventfd freetype full-config getaddrinfo getifaddrs iconv inotify ipv6ifname large-config largefile linuxfb medium-config minimal-config mremap neon nis no-pkg-config pcre png precompile_header qpa qpa reduce_exports reduce_relocations release rpath shared small-config v8 zlib
    Build parts ............ libs examples
    Mode ................... release
    Using C++11 ............ yes
    Using PCH .............. yes
    Target compiler supports:
    iWMMXt/Neon .......... no/yes

    Qt modules and options:
    Qt D-Bus ............... no
    Qt Concurrent .......... yes
    Qt GUI ................. yes
    Qt Widgets ............. yes
    JavaScriptCore JIT ..... yes (To be decided by JavaScriptCore)
    QML debugging .......... yes
    Use system proxies ..... no

    Support enabled for:
    Accessibility .......... yes
    ALSA ................... no
    CUPS ................... no
    FontConfig ............. no
    Iconv .................. yes
    ICU .................... no
    Image formats:
    GIF .................. yes (plugin, using system library)
    JPEG ................. yes (plugin, using bundled copy)
    PNG .................. yes (in QtGui, using bundled copy)
    Glib ................... no
    GStreamer .............. no
    GTK theme .............. no
    Large File ............. yes
    libudev ................ no
    Networking:
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    OpenSSL .............. no
    NIS .................... yes
    OpenGL ................. no
    OpenVG ................. no
    PCRE ................... yes (bundled copy)
    pkg-config ............. no
    PulseAudio ............. no
    QPA backends:
    DirectFB ............. no
    EGLFS ................ no
    KMS .................. no
    LinuxFB .............. yes
    XCB .................. no
    Session management ..... yes
    SQL drivers:
    DB2 .................. no
    InterBase ............ no
    MySQL ................ no
    OCI .................. no
    ODBC ................. no
    PostgreSQL ........... no
    SQLite 2 ............. no
    SQLite ............... yes (plugin, using bundled copy)
    TDS .................. no
    udev ................... no
    xkbcommon .............. no
    zlib ................... yes (bundled copy)
    @

    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-5.1.1

    [edit, code tags, koahnig]

    1 Reply Last reply
    0
    • G Offline
      G Offline
      georgereimer
      wrote on last edited by
      #2

      Further info. As per online suggestions to verify Qt install, I added the following to my configure line:
      -make libs -make examples

      Now I see the error at the linker step.
      qeglfshools_imx6.o .... undefined reference to `fbGetDisplayByIndex

      Anyone know what/where my missing libraries might be?

      thanks

      1 Reply Last reply
      0
      • G Offline
        G Offline
        georgereimer
        wrote on last edited by
        #3

        I found that the eglsfs libraries described in Clay D. Montgomery message in
        https://groups.google.com/forum/#!topic/wandboard/PHv-yXyhEWM
        satisfied the missing references.

        Is there Qt cross compile documentation that describes the solution to this dependency?

        thanks
        George

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jigarchokshi
          wrote on last edited by
          #4

          Hey when i configure qt5.1 it was good but when i did MAKE then i got 4 errors qeglfshools_imx6.cpp for undefined reference to fbDestroywindow, fbcreatewindow , fbgetdisplaybyindex and fbgetdisplaygeometry.
          i think it is same issue like you..
          Have you solved this???
          Thank you,
          Jigar Chokshi

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved