Cross compile Qt 5 error
-
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 helpthanks in advance
[Edit: Fixed link -- mlong]
-
There is actually no meaningful error message in your log, probably the error happens some lines before the ones you've posted?
Alex
-
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
-
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.