Results 1 to 5 of 5

Thread: Problem with Qt-4.6.2

  1. #1
    Join Date
    Dec 2009
    Posts
    5
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Problem with Qt-4.6.2

    Hi,

    I get the following problem when I try to run an application on Qt 4.6.2 for embedded Linux:

    relocation error: /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtGui.so.4: symbol powf, version GLIBCXX_3.4 not defined in file libstdc++.so.6 with link time reference

    The config I used to compile qt is:

    ./configure -opensource -no-largefile -exceptions -no-accessibility -stl -no-qt3support -no-xmlpatterns -no-multimedia -no-phonon -no-phonon-backend -svg -no-webkit -no-javascript-jit -no-script -no-scripttools -no-openssl -nomake examples -nomake demos -nomake docs -embedded arm -little-endian -no-opengl -no-openvg

    If I try it with Qt 4.6.0 I have no problem. Any ideas?

    thank you,

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem with Qt-4.6.2

    What libc do you have installed?

  3. #3
    Join Date
    Dec 2009
    Posts
    5
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Problem with Qt-4.6.2

    Quote Originally Posted by fatjuicymole View Post
    What libc do you have installed?
    I'm crosscompiling qt... On my host I have libc-2.5 in the lib of the crosscompiler, but on my target I have libc-2.7

    Should it be the problem?
    I'll update my crosscompiler lib and try again...

    thank you

  4. #4
    Join Date
    Dec 2009
    Posts
    5
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Problem with Qt-4.6.2

    Quote Originally Posted by geovanyfilho View Post
    I'm crosscompiling qt... On my host I have libc-2.5 in the lib of the crosscompiler, but on my target I have libc-2.7

    Should it be the problem?
    I'll update my crosscompiler lib and try again...

    thank you
    I was not able to find a crosscompiler with libc-2.7.
    I compiled qt 4.6.0, 4.6.1 and qt 4.6.2 with the same configuration, and tried to run the same application, but it only succed with qt 4.6.0.
    Qt 4.6.1 and 4.6.2 give me the same error related before.
    Once qt 4.6.0 gives me no error, I think some of the changes on qt 4.6.1+ is causing the error.

  5. #5
    Join Date
    Dec 2009
    Posts
    5
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Problem with Qt-4.6.2

    Quote Originally Posted by geovanyfilho View Post
    I'm crosscompiling qt... On my host I have libc-2.5 in the lib of the crosscompiler, but on my target I have libc-2.7

    Should it be the problem?
    I'll update my crosscompiler lib and try again...

    thank you
    I was not able to find a crosscompiler with libc-2.7.
    I compiled qt 4.6.0, 4.6.1 and qt 4.6.2 with the same configuration, and tried to run the same application, but it only succed with qt 4.6.0.
    Qt 4.6.1 and 4.6.2 give me the same error related before.
    Once qt 4.6.0 gives me no error, I think some of the changes on qt 4.6.1+ is causing the error.

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.