Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QtDeclarative not compiling
Qt 6.11 is out! See what's new in the release blog

QtDeclarative not compiling

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 4 Posters 3.7k 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.
  • JanneMJ Offline
    JanneMJ Offline
    JanneM
    wrote on last edited by
    #1

    Hello,
    I am trying to install the cross compiling capability for Raspberry Pi using the following guidelines https://wiki.qt.io/RaspberryPi_Beginners_Guide, but I seem not to be able to compile the QtDeclarative module. The Make gives the following errors;

    .obj/qqmlmemoryprofiler.o: In function openLibrary()': qqmlmemoryprofiler.cpp:(.text+0x30): undefined reference to qt_linux_find_symbol_sys(char const*)'
    qqmlmemoryprofiler.cpp:(.text+0x40): undefined reference to qt_linux_find_symbol_sys(char const*)' qqmlmemoryprofiler.cpp:(.text+0x50): undefined reference to qt_linux_find_symbol_sys(char const*)'
    qqmlmemoryprofiler.cpp:(.text+0x60): undefined reference to qt_linux_find_symbol_sys(char const*)' qqmlmemoryprofiler.cpp:(.text+0x70): undefined reference to qt_linux_find_symbol_sys(char const*)'
    .obj/qqmlmemoryprofiler.o:qqmlmemoryprofiler.cpp:(.text+0x80): more undefined references to `qt_linux_find_symbol_sys(char const*)' follow
    collect2: error: ld returned 1 exit status
    Makefile:1047: recipe for target '../../lib/libQt5Qml.so.5.6.1' failed
    make[2]: *** [../../lib/libQt5Qml.so.5.6.1] Error 1
    make[2]: Leaving directory '/home/janne/opt/qt5/qtdeclarative/src/qml'
    Makefile:49: recipe for target 'sub-qml-make_first-ordered' failed
    make[1]: *** [sub-qml-make_first-ordered] Error 2
    make[1]: Leaving directory '/home/janne/opt/qt5/qtdeclarative/src'
    Makefile:45: recipe for target 'sub-src-make_first' failed
    make: *** [sub-src-make_first] Error 2

    Any idea why this is occuring?

    Br, Janne

    M 1 Reply Last reply
    0
    • JanneMJ JanneM

      Hello,
      I am trying to install the cross compiling capability for Raspberry Pi using the following guidelines https://wiki.qt.io/RaspberryPi_Beginners_Guide, but I seem not to be able to compile the QtDeclarative module. The Make gives the following errors;

      .obj/qqmlmemoryprofiler.o: In function openLibrary()': qqmlmemoryprofiler.cpp:(.text+0x30): undefined reference to qt_linux_find_symbol_sys(char const*)'
      qqmlmemoryprofiler.cpp:(.text+0x40): undefined reference to qt_linux_find_symbol_sys(char const*)' qqmlmemoryprofiler.cpp:(.text+0x50): undefined reference to qt_linux_find_symbol_sys(char const*)'
      qqmlmemoryprofiler.cpp:(.text+0x60): undefined reference to qt_linux_find_symbol_sys(char const*)' qqmlmemoryprofiler.cpp:(.text+0x70): undefined reference to qt_linux_find_symbol_sys(char const*)'
      .obj/qqmlmemoryprofiler.o:qqmlmemoryprofiler.cpp:(.text+0x80): more undefined references to `qt_linux_find_symbol_sys(char const*)' follow
      collect2: error: ld returned 1 exit status
      Makefile:1047: recipe for target '../../lib/libQt5Qml.so.5.6.1' failed
      make[2]: *** [../../lib/libQt5Qml.so.5.6.1] Error 1
      make[2]: Leaving directory '/home/janne/opt/qt5/qtdeclarative/src/qml'
      Makefile:49: recipe for target 'sub-qml-make_first-ordered' failed
      make[1]: *** [sub-qml-make_first-ordered] Error 2
      make[1]: Leaving directory '/home/janne/opt/qt5/qtdeclarative/src'
      Makefile:45: recipe for target 'sub-src-make_first' failed
      make: *** [sub-src-make_first] Error 2

      Any idea why this is occuring?

      Br, Janne

      M Offline
      M Offline
      Mark81
      wrote on last edited by
      #2

      @JanneM
      The same here. Did you find a solution?

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

        Same issue here, any news?

        1 Reply Last reply
        0
        • acscherpA Offline
          acscherpA Offline
          acscherp
          wrote on last edited by
          #4

          I managed to get around this by adding -no-qml-debug to my ./configure command, and then make clean in the qtdeclarative subdirectory before compiling again.

          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