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. Cross compile Qt 5 error
QtWS25 Last Chance

Cross compile Qt 5 error

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 2.9k 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.
  • D Offline
    D Offline
    deimos
    wrote on last edited by
    #1

    Hi,

    I am trying to follow "this wiki":http://trac.webkit.org/wiki/SettingUpDevelopmentEnvironmentForN9#a1.8.Buildsources to compile Qt 5 for Harmmattan in Madde sysroot of the latest Qt SDK.
    I got the above error:

    @[...]
    arm-linux-gnueabi-g++ --sysroot=/usr/local/Trolltech/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim -Wl,--no-undefined -Wl,-O1 -Wl,-rpath-link,/home/deimos/swork/qt5/qtbase/lib -Wl,-rpath,/home/deimos/swork/qt5/qtbase/lib -Wl,-rpath,/home/deimos/swork/qt5/qtbase/lib -shared -o libqsqlite.so .obj/release-shared/smain.o .obj/release-shared/qsql_sqlite.o .obj/release-shared/sqlite3.o .obj/release-shared/moc_qsql_sqlite.o -L/home/deimos/swork/qt5/qtbase/lib -lQtSql -L/home/deimos/swork/qt5/qtbase/lib -lQtCore -licui18n -licuuc -lpthread
    mv -f libqsqlite.so ../../../../plugins/sqldrivers/
    test -z "../../../../plugins/sqldrivers/" || cd "../../../../plugins/sqldrivers/" ; targ=basename libqsqlite.so; arm-linux-gnueabi-objcopy --only-keep-debug "$targ" "$targ.debug" && arm-linux-gnueabi-objcopy --strip-debug "$targ" && arm-linux-gnueabi-objcopy --add-gnu-debuglink="$targ.debug" "$targ" && chmod -x "$targ.debug"
    make[4]: Leaving directory /home/deimos/swork/qt5/qtbase/src/plugins/sqldrivers/sqlite' make[3]: Leaving directory /home/deimos/swork/qt5/qtbase/src/plugins/sqldrivers'
    make[2]: Leaving directory /home/deimos/swork/qt5/qtbase/src/plugins' make[1]: *** [sub-plugins-make_default-ordered] Error 2 make[1]: Leaving directory /home/deimos/swork/qt5/qtbase'
    make: *** [module-qtbase-make_default] Error 2@

    I tryed also to pass "-no-sql-sqlite" parameter to the configure but doing so I come across another error in 'qt5/qtbase/src/plugins/bearer/networkmanager' directory.
    Please help

    thanks in advance

    [Edit: Fixed link -- mlong]

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alexleutgoeb
      wrote on last edited by
      #2

      There is actually no meaningful error message in your log, probably the error happens some lines before the ones you've posted?

      Alex

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deimos
        wrote on last edited by
        #3

        Thank you Alex.
        I can not see what is wrong before those lines I pasted.
        "Here":http://pastebin.com/CZyHgq6Q you can find a complete compile log.

        thanks again

        1 Reply Last reply
        0
        • A Offline
          A Offline
          alexleutgoeb
          wrote on last edited by
          #4

          To be honest, I cannot see what's wrong at all if I'm looking at your pastebin, there is no obvious error message in the build log. ;) Please ignore my post in case I'm wrong, otherwise I would suggest the following:

          If you're building with make in parallel mode the error can happen already before the sqlite plugin build (Error 2 for example already occurs in [sub-meego-make_default] module). So my next step would be to run make with -j 1 to to see where exactly the error happens.

          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