Qt 4.7.2 and LTIB



  • Hi all,

    I've some problems compiling Qt 4.7.2 for ARM using LTIB. I've previously successfully compiled Qt 4.7.1 for the same platform, but when I have decided to try 4.7.2 I got these errors:

    @
    .obj/release-shared/SQLiteDatabase.o: In function WebCore::SQLiteDatabase::isAutoCommitOn() const': SQLiteDatabase.cpp:(.text._ZNK7WebCore14SQLiteDatabase14isAutoCommitOnEv+0x8): undefined reference tosqlite3_get_autocommit'
    .obj/release-shared/SQLiteDatabase.o: In function WebCore::SQLiteDatabase::enableAuthorizer(bool)': SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase16enableAuthorizerEb+0x2c): undefined reference tosqlite3_set_authorizer'
    SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase16enableAuthorizerEb+0x44): undefined reference to sqlite3_set_authorizer' .obj/release-shared/SQLiteDatabase.o: In functionWebCore::SQLiteDatabase::lastErrorMsg()':
    SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase12lastErrorMsgEv+0x8): undefined reference to sqlite3_errmsg' .obj/release-shared/SQLiteDatabase.o: In functionWebCore::SQLiteDatabase::lastError()':
    SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase9lastErrorEv+0x10): undefined reference to sqlite3_errcode' .obj/release-shared/SQLiteDatabase.o: In functionWebCore::SQLiteDatabase::lastChanges()':
    SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase11lastChangesEv+0xc): undefined reference to sqlite3_changes' .obj/release-shared/SQLiteDatabase.o: In functionWebCore::SQLiteDatabase::lastInsertRowID()':
    SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase15lastInsertRowIDEv+0x18): undefined reference to sqlite3_last_insert_rowid' .obj/release-shared/SQLiteDatabase.o: In functionWebCore::SQLiteDatabase::setBusyTimeout(int)':
    SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase14setBusyTimeoutEi+0xc): undefined reference to sqlite3_busy_timeout' .obj/release-shared/SQLiteDatabase.o: In functionWebCore::SQLiteDatabase::close()':
    SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase5closeEv+0x14): undefined reference to sqlite3_close' .obj/release-shared/SQLiteDatabase.o: In functionWebCore::SQLiteDatabase::open(WebCore::String const&)':
    SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase4openERKNS_6StringE+0xa4): undefined reference to sqlite3_close' .obj/release-shared/SQLiteFileSystem.o: In functionWebCore::SQLiteFileSystem::openDatabase(WebCore::String const&, sqlite3**)':
    SQLiteFileSystem.cpp:(.text._ZN7WebCore16SQLiteFileSystem12openDatabaseERKNS_6StringEPP7sqlite3+0x30): undefined reference to `sqlite3_open16'
    @

    ... and so on.

    sqlite3 is installed in ltib with all its libraries.

    the configure parameters are:
    @
    ./configure --prefix=/home/luca/imx51/2.6.35/ltib/rootfs/usr/local/Trolltech
    -arch arm
    -xplatform linux-g++-mx
    -release
    -qt-gfx-linuxfb
    -qt-kbd-tty
    -little-endian
    -host-little-endian
    -fontconfig
    -sm
    -v
    -no-accessibility
    -plugin-sql-sqlite
    -system-sqlite
    -opensource
    -confirm-license
    -opengl es2
    @

    Any ideas?

    Thank you all.



  • Hi Luca, I'm working on a similar environment too (Ltib + arm) and I am deciding what is the best solution to integrate QT in an embedded platform. Can you tell me more about your project? Discuss about ? Share / cooperate?

    Thanks.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.