Results 1 to 3 of 3

Thread: libc.so linking issues when compiling.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default libc.so linking issues when compiling.

    Attached find make.txt. This command is generated from the MakeFile, which of course is generated from qmake.

    Below is the error I'm receiving

    Qt Code:
    1. /usr/lib/gcc/arm-linux-gnueabi/4.4.5/../../../../arm-linux-gnueabi/bin/ld: warning: libc.so, needed by /usr/arm-linux-gnueabi/lib/libgcc_s.so.1, not found (try using -rpath or -rpath-link)
    2. /usr/local/Trolltech/QtEmbedded-4.7.2-arm/lib/libQtGui.so: undefined reference to `powf@GLIBCXX_3.4'
    3. collect2: ld returned 1 exit status
    To copy to clipboard, switch view to plain text mode 

    The error seems obvious, the undefined references correspond to a library that can't be found. But it is located in /usr/arm-linux-gnueabi/lib.

    I'm not sure if the issue is specific to cross-compiling as I've never encountered this before.

    I was able to overcome a similar issue with ts by adding

    Qt Code:
    1. QMAKE_RPATHDIR += /path/to/tslib/dir
    To copy to clipboard, switch view to plain text mode 

    but I can't seem to overcome this problem with the same solution, I have tried adding an additional directive to the location of libc.so with no success.

    Does anyone have any suggestions?
    Attached Files Attached Files

Similar Threads

  1. Replies: 3
    Last Post: 1st September 2011, 07:04
  2. Rpath linking issues in qtcreator
    By Droplet in forum General Programming
    Replies: 1
    Last Post: 7th July 2011, 23:15
  3. Static Linking Ordering Issues
    By SneakyPeterson in forum Newbie
    Replies: 1
    Last Post: 11th June 2010, 11:51
  4. QT Creator Linking issues
    By sgrant327 in forum Qt Programming
    Replies: 14
    Last Post: 16th December 2009, 15:42
  5. issues compiling Qt4.1 with mysql
    By patcito in forum Qt Programming
    Replies: 6
    Last Post: 6th March 2006, 22:41

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.