Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. final link failed: Nonrepresentable section on output
QtWS25 Last Chance

final link failed: Nonrepresentable section on output

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 2.8k Views
  • 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.
  • M Offline
    M Offline
    marvic_39
    wrote on last edited by
    #1

    Hello,

    I am trying to build QT 5.2.0 for embedded device (Cross compiling).
    During, sudo make it flashes this error, try ed some turn arounds to the file

    ./qtdeclarative/src/qml/qml.pro 
    

    but still flashing error.

    libQt5Qml.so.5.2.0: hidden symbol `void QQmlThread::postMethodToThread<QQmlDataBlob*, QQmlDataBlob*, QQmlDataLoaderThread>(void (QQmlDataLoaderThread::*)(QQmlDataBlob*), QQmlDataBlob* const&)' isn't defined
    /usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: final link failed: Nonrepresentable section on output
    collect2: ld returned 1 exit status
    make[3]: *** [../../lib/libQt5Qml.so.5.2.0] Error 1
    make[3]: Leaving directory `/home/mars/qt-5.2-host/qtdeclarative/src/qml'
    make[2]: *** [sub-qml-make_first-ordered] Error 2
    make[2]: Leaving directory `/home/mars/qt-5.2-host/qtdeclarative/src'
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory `/home/mars/qt-5.2-host/qtdeclarative'
    make: *** [module-qtdeclarative-make_first] Error 2
    
    

    Any idea to solve this error.

    Thank you
    Answers Appriciated

    1 Reply Last reply
    0
    • M Offline
      M Offline
      marvic_39
      wrote on last edited by marvic_39
      #2

      Hello,

      I added this line in

      /qtdeclarative/src/qml/qml.pro
      

      Still it's flashing errors.

      QMAKE_CXXFLAGS_RELEASE += -fno-inline
      

      Any other turnarounds?

      Thank you

      1 Reply Last reply
      0
      • M Offline
        M Offline
        marvic_39
        wrote on last edited by marvic_39
        #3

        I cleaned everything, added all the turnarounds, after many attempts able to build Qt. With **-nomake examples and ** and some other options.

        Any turnarounds to build examples.

        Thank you,

        1 Reply Last reply
        0
        • Carlos-rrrC Offline
          Carlos-rrrC Offline
          Carlos-rrr
          wrote on last edited by
          #4

          Hi, I ran into this problem too, I can't build qt because I get this same error.

          How did you solve the problem? What configuration are you using beside -nomake examples?

          Thanks,

          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