×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    7

    Question Mobility 1.1.0 Link Error

    when build Mobility 1.1.0 with 'mingw32-make', occurred link error, see below

    g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
    oc -Wl,-s -mthreads -Wl -shared -Wl,--out-implib,release\libqtlandmarks_sqlite.a
    -o release\qtlandmarks_sqlite.dll ../../../build/Release/qtlandmarks_sqlite/qla
    ndmarkmanagerengine_sqlite.o ../../../build/Release/qtlandmarks_sqlite/qlandmark
    managerenginefactory_sqlite.o ../../../build/Release/qtlandmarks_sqlite/moc_qlan
    dmarkmanagerengine_sqlite_p.o ../../../build/Release/qtlandmarks_sqlite/moc_qlan
    dmarkmanagerenginefactory_sqlite_p.o ../../../build/Release/qtlandmarks_sqlite/q
    rc_qlandmarkmanagerengine_sqlite.o -L"c:\Qt\4.6.3_mingw\lib" -L"C:\QtMobility\q
    t-mobility-opensource-src-1.1.0-tp\lib" -L"C:\QtMobility\lib" -lQtLocation1 -lQt
    Sql4 -lQtGui4 -lQtCore4
    Creating library file: release\libqtlandmarks_sqlite.a
    ../../../build/Release/qtlandmarks_sqlite/qlandmarkmanagerengine_sqlite.o:qlandm
    arkmanagerengine_sqlite.cpp.text+0x9d2): undefined reference to `QtMobility::Q
    LandmarkFileHandlerGpx::cancel()'
    ../../../build/Release/qtlandmarks_sqlite/qlandmarkmanagerengine_sqlite.o:qlandm
    arkmanagerengine_sqlite.cpp.text+0x10b6b): undefined reference to `QtMobility:
    :QLandmarkFileHandlerLmx::QLandmarkFileHandlerLmx()'
    .
    .
    .
    collect2: ld returned 1 exit status
    mingw32-make[4]: *** [release\qtlandmarks_sqlite.dll] Error 1
    mingw32-make[4]: Leaving directory `C:/QtMobility/qt-mobility-opensource-src-1.1
    .0-tp/plugins/landmarks/sqlite'
    mingw32-make[3]: *** [release] Error 2
    mingw32-make[3]: Leaving directory `C:/QtMobility/qt-mobility-opensource-src-1.1
    .0-tp/plugins/landmarks/sqlite'
    mingw32-make[2]: *** [sub-sqlite-make_default-ordered] Error 2
    mingw32-make[2]: Leaving directory `C:/QtMobility/qt-mobility-opensource-src-1.1
    .0-tp/plugins/landmarks'
    mingw32-make[1]: *** [sub-landmarks-make_default] Error 2
    mingw32-make[1]: Leaving directory `C:/QtMobility/qt-mobility-opensource-src-1.1
    .0-tp/plugins'
    mingw32-make: *** [sub-plugins-make_default-ordered] Error 2

    I see another guy also have same issue. see Sturmflut'post on the page:http://labs.trolltech.com/blogs/2010...ology-preview/


    Thanks!

  2. #2
    Nokia Developer Expert
    Join Date
    Dec 2009
    Posts
    81

    Re: Mobility 1.1.0 Link Error

    If you visit the link you posted and scroll down to Alex's response you'll see a workaround (add -tests to the configure line). I also believe that this issue has been fixed in the master branch on gitorious. Hopefully one or the other will help.

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    7

    Re: Mobility 1.1.0 Link Error

    OK
    Thanks for your help.

Similar Threads

  1. Qt mobility 1.1.0 examples compile error
    By sheang_kimcheng in forum [Archived] Qt Mobility Project
    Replies: 3
    Last Post: 2010-08-16, 08:18
  2. Qt mobility Bearer error when search for WLAN
    By Zombieisme in forum [Archived] Qt Mobility Project
    Replies: 0
    Last Post: 2010-06-21, 12:33
  3. Error when building library of mobility
    By nuthon in forum [Archived] Qt Mobility Project
    Replies: 1
    Last Post: 2010-05-10, 17:11
  4. Help !!! error PRJ0002 : error result returned from 'link.exe'.
    By waelali in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-02-17, 12:25
  5. Replies: 0
    Last Post: 2006-02-15, 13:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×