Results 1 to 2 of 2

Thread: Configure failure with qt-mobility-opensource-src-1.0.0 on QT4.6.2 on Ubuntu9.04

  1. #1
    Join Date
    Jun 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Configure failure with qt-mobility-opensource-src-1.0.0 on QT4.6.2 on Ubuntu9.04

    Dear sirs,
    After I set up QT4.6.2 on Ubuntu, I downloaded qt-mobility-opensource-src-1.0.0 and followed the instructions in doc/installation.html, I encountered a failure after running ./configure . The error messages are extracted as follows:
    ..............
    Package conninet was not found in the pkg-config search path.
    Perhaps you should add the directory containing `conninet.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'conninet' found
    QMAKESPEC has not been set, so configuration cannot be deduced.
    Error processing project file: /android_src/EB306/QT/qt-mobility-opensource-src-1.0.0/qtmobility.pro

    I surveyed the suggestions from internet:
    export QMAKESPEC =/opt/qtsdk-2010.02/qt/mkspecs
    or export QMAKESPEC =/opt/qtsdk-2010.02/qt/mkspecs/arm-linux
    But still in vain with same error message.

    I've also tried another codebase qt-mobility-src-1.0.0-tp2, but it went to the same result.

    Could someone help provide your suggestions or opinions?

    If this is not a proper place for this question, please kindly let me know as well.

    Thanks a lot!

  2. #2
    Join Date
    Jun 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Configure failure with qt-mobility-opensource-src-1.0.0 on QT4.6.2 on Ubuntu9.04

    Here comes the update for this issue.
    I found that it's due to my mis-using the cross compiler. I should use the g++ instead of arm-linux-g++. Then "./configure" works well!

    However, while perfoming "make" , there are so many compiling errors.Ex:
    In file included from /usr/include/c++/4.3/list:68,
    from /usr/local/Trolltech/Qt-4.6.2/include/QtCore/qlist.h:51,
    from /usr/local/Trolltech/Qt-4.6.2/include/QtCore/qobject.h:50,
    from /usr/local/Trolltech/Qt-4.6.2/include/QtCore/QObject:1,
    from qmediapluginloader_p.h:63,
    from qmediapluginloader.cpp:49:
    /usr/include/c++/4.3/bits/stl_list.h:116: error: ‘ptrdiff_t’ does not name a type
    /usr/include/c++/4.3/bits/stl_list.h:192: error: ‘ptrdiff_t’ does not name a type
    /usr/include/c++/4.3/bits/stl_list.h:437: error: ‘ptrdiff_t’ does not name a type
    In file included from /usr/local/Trolltech/Qt-4.6.2/include/QtCore/qobject.h:50,
    from /usr/local/Trolltech/Qt-4.6.2/include/QtCore/QObject:1,
    from qmediapluginloader_p.h:63,
    from qmediapluginloader.cpp:49:
    /usr/local/Trolltech/Qt-4.6.2/include/QtCore/qlist.h:166: error: ‘ptrdiff_t’ does not name a type
    /usr/local/Trolltech/Qt-4.6.2/include/QtCore/qlist.h:213: error: ‘ptrdiff_t’ does not name a type
    /usr/local/Trolltech/Qt-4.6.2/include/QtCore/qlist.h:292: error: ‘ptrdiff_t’ does not name a type
    In file included from /usr/include/c++/4.3/map:65,
    from /usr/local/Trolltech/Qt-4.6.2/include/QtCore/qmap.h:50,
    from qmediapluginloader_p.h:65,
    from qmediapluginloader.cpp:49:
    /usr/include/c++/4.3/bits/stl_tree.h:158: error: ‘ptrdiff_t’ does not name a type
    /usr/include/c++/4.3/bits/stl_tree.h:230: error: ‘ptrdiff_t’ does not name a type
    /usr/include/c++/4.3/bits/stl_tree.h:339: error: ‘ptrdiff_t’ does not name a type
    .................

    I'm wondering if it's related to C++/4.3?

    If anyone has any idea, please kindly let me know.
    Thanks a lot!

Similar Threads

  1. Qt Mobility's MM API v/s Qt Phonon
    By rohitratri in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 24th May 2010, 06:33
  2. Qt mobility: bearercloud & bearermonitor
    By marco500 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 16th March 2010, 14:43
  3. Replies: 2
    Last Post: 16th January 2010, 19:10
  4. Unable to configure qt-x11-preview-opensource-src-4.4.0-tp1
    By mnemonic_fx in forum Installation and Deployment
    Replies: 4
    Last Post: 19th February 2008, 13:29
  5. Qtopia 4.2.4 opensource won't configure
    By MarkoSan in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 28th November 2007, 13:54

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.