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. qeglfsvivintegration.cpp: undefined reference to `fbCreateWindow'
Forum Updated to NodeBB v4.3 + New Features

qeglfsvivintegration.cpp: undefined reference to `fbCreateWindow'

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 1.5k 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.
  • L Offline
    L Offline
    Lorenc
    wrote on 21 Mar 2018, 00:40 last edited by
    #1

    I am trying to build qt from sources qt5.10.1 on imx6 development board. I have ubuntu 14.04 on the board and have updated the compiler to gcc 5.6.3

    I run the following configure cmd:
    ./configure -release -opensource -confirm-license -opengl es2 -nomake examples -nomake tests -no-use-gold-linker -recheck -make libs -v
    then: #make -j4
    I see the following error:

    rm -f libqeglfs-viv-integration.so
    g++ -Wl,--no-undefined -Wl,--no-undefined -Wl,-O1 -Wl,--enable-new-dtags -Wl,-z,origin -Wl,-rpath,$ORIGIN/../../lib -Wl,-rpath-link,/root/qt5/qtbase/lib -shared -o libqeglfs-viv-integration.so .obj/qeglfsvivmain.o .obj/qeglfsvivintegration.o -L/root/qt5/qtbase/lib -lQt5EglFSDeviceIntegration -lQt5EventDispatcherSupport -lgthread-2.0 -lglib-2.0 -lQt5ServiceSupport -lQt5ThemeSupport -lQt5DBus -lQt5FontDatabaseSupport -lfontconfig -lfreetype -lQt5FbSupport -lQt5EglSupport -lXext -lX11 -lm -lEGL -lQt5InputSupport -lQt5PlatformCompositorSupport -lQt5Gui -lQt5DeviceDiscoverySupport -ludev -lQt5Core -lGLESv2 -lpthread -ldl -lEGL
    make[5]: Entering directory /root/qt5/qtbase/src/plugins/platforms/linuxfb' make[5]: Nothing to be done for first'.
    make[5]: Leaving directory /root/qt5/qtbase/src/plugins/platforms/linuxfb' cd vnc/ && ( test -e Makefile || /root/qt5/qtbase/bin/qmake -o Makefile /root/qt5/qtbase/src/plugins/platforms/vnc/vnc.pro ) && make -f Makefile make[5]: Entering directory /root/qt5/qtbase/src/plugins/platforms/vnc'
    /root/qt5/qtbase/bin/qmake -o Makefile vnc.pro
    .obj/qeglfsvivintegration.o: In function QEglFSVivIntegration::createNativeWindow(QPlatformWindow*, QSize const&, QSurfaceFormat const&)': qeglfsvivintegration.cpp:(.text+0x26): undefined reference to fbCreateWindow'
    .obj/qeglfsvivintegration.o: In function QEglFSVivIntegration::platformInit()': qeglfsvivintegration.cpp:(.text+0x6c): undefined reference to fbGetDisplayByIndex'
    qeglfsvivintegration.cpp:(.text+0x76): undefined reference to fbGetDisplayGeometry' .obj/qeglfsvivintegration.o: In function QEglFSVivIntegration::destroyNativeWindow(_FBWindow*)':
    qeglfsvivintegration.cpp:(.text+0x32): undefined reference to fbDestroyWindow' .obj/qeglfsvivintegration.o:(.data.rel.ro+0x28): undefined reference to QEglFSDeviceIntegration::createDisplay(_FBDisplay*)'
    collect2: error: ld returned 1 exit status
    make[7]: *** [../../../../../../plugins/egldeviceintegrations/libqeglfs-viv-integration.so] Error 1
    make[7]: Leaving directory `/root/qt5/qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv'
    make[6]: *** [sub-eglfs_viv-make_first] Error 2
    Any help will be greatly appreciated.

    A 1 Reply Last reply 21 Mar 2018, 01:04
    0
    • L Lorenc
      21 Mar 2018, 00:40

      I am trying to build qt from sources qt5.10.1 on imx6 development board. I have ubuntu 14.04 on the board and have updated the compiler to gcc 5.6.3

      I run the following configure cmd:
      ./configure -release -opensource -confirm-license -opengl es2 -nomake examples -nomake tests -no-use-gold-linker -recheck -make libs -v
      then: #make -j4
      I see the following error:

      rm -f libqeglfs-viv-integration.so
      g++ -Wl,--no-undefined -Wl,--no-undefined -Wl,-O1 -Wl,--enable-new-dtags -Wl,-z,origin -Wl,-rpath,$ORIGIN/../../lib -Wl,-rpath-link,/root/qt5/qtbase/lib -shared -o libqeglfs-viv-integration.so .obj/qeglfsvivmain.o .obj/qeglfsvivintegration.o -L/root/qt5/qtbase/lib -lQt5EglFSDeviceIntegration -lQt5EventDispatcherSupport -lgthread-2.0 -lglib-2.0 -lQt5ServiceSupport -lQt5ThemeSupport -lQt5DBus -lQt5FontDatabaseSupport -lfontconfig -lfreetype -lQt5FbSupport -lQt5EglSupport -lXext -lX11 -lm -lEGL -lQt5InputSupport -lQt5PlatformCompositorSupport -lQt5Gui -lQt5DeviceDiscoverySupport -ludev -lQt5Core -lGLESv2 -lpthread -ldl -lEGL
      make[5]: Entering directory /root/qt5/qtbase/src/plugins/platforms/linuxfb' make[5]: Nothing to be done for first'.
      make[5]: Leaving directory /root/qt5/qtbase/src/plugins/platforms/linuxfb' cd vnc/ && ( test -e Makefile || /root/qt5/qtbase/bin/qmake -o Makefile /root/qt5/qtbase/src/plugins/platforms/vnc/vnc.pro ) && make -f Makefile make[5]: Entering directory /root/qt5/qtbase/src/plugins/platforms/vnc'
      /root/qt5/qtbase/bin/qmake -o Makefile vnc.pro
      .obj/qeglfsvivintegration.o: In function QEglFSVivIntegration::createNativeWindow(QPlatformWindow*, QSize const&, QSurfaceFormat const&)': qeglfsvivintegration.cpp:(.text+0x26): undefined reference to fbCreateWindow'
      .obj/qeglfsvivintegration.o: In function QEglFSVivIntegration::platformInit()': qeglfsvivintegration.cpp:(.text+0x6c): undefined reference to fbGetDisplayByIndex'
      qeglfsvivintegration.cpp:(.text+0x76): undefined reference to fbGetDisplayGeometry' .obj/qeglfsvivintegration.o: In function QEglFSVivIntegration::destroyNativeWindow(_FBWindow*)':
      qeglfsvivintegration.cpp:(.text+0x32): undefined reference to fbDestroyWindow' .obj/qeglfsvivintegration.o:(.data.rel.ro+0x28): undefined reference to QEglFSDeviceIntegration::createDisplay(_FBDisplay*)'
      collect2: error: ld returned 1 exit status
      make[7]: *** [../../../../../../plugins/egldeviceintegrations/libqeglfs-viv-integration.so] Error 1
      make[7]: Leaving directory `/root/qt5/qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_viv'
      make[6]: *** [sub-eglfs_viv-make_first] Error 2
      Any help will be greatly appreciated.

      A Offline
      A Offline
      ambershark
      wrote on 21 Mar 2018, 01:04 last edited by
      #2

      @Lorenc Sounds like you have the wrong version of EGL. You need libEGL-fb.so and not the x11 one.

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      1 Reply Last reply
      0

      1/2

      21 Mar 2018, 00:40

      • Login

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