Results 1 to 2 of 2

Thread: Trouble Remote Debugging

  1. #1
    Join Date
    Dec 2011
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Trouble Remote Debugging

    Hi, I do hope this is in the right section.

    I'm new to embedded Qt (and embedded Linux in general) and I've setup a buildroot based enviroment running on a Mini-ITX based VIA Nano PC (This target is running i386, my development machine is x86_64). I have the Qt 4.7.3 that is provided with buildroot built and it seems to work fine.

    I have a small test program, which just for playing around is a simple web browser using qwebkit. It is built using the toolchain that buildroot has built. If I copy the program over and run it on the target machine it runs fine.

    In the QtCreator project I have set up the target as a Generic Linux device and it connects fine. I can use QtCreator to deploy the program onto the device but I can't get debugging working. When I try to run with debugging I get this:

    Unable to find dynamic linker breakpoint function.
    GDB will be unable to debug shared library initializers
    and track explicitly loaded dynamic code.`/usr/lib/libphonon.so.4': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
    .dynamic section for "/usr/lib/libphonon.so.4" is not at the expected address (wrong library or version mismatch?)
    Could not load shared library symbols for 14 libraries, e.g. /usr/lib/libQtWebKit.so.4.
    Use the "info sharedlibrary" command to see the complete listing.
    Do you need "set solib-search-path" or "set sysroot"?

    When I originally built Qt I selected to not build a debug version. Then I rebuilt just Qt with as debug but it's not helped.

    Any ideas what I'm doing wrong?

    Thanks
    srg

  2. #2
    Join Date
    Feb 2007
    Posts
    73
    Thanks
    11
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Trouble Remote Debugging

    Are you cross building for i386? Are you using gdb server to debug?

Similar Threads

  1. Win7 64bit remote debugging
    By mekl in forum Qt Programming
    Replies: 0
    Last Post: 20th June 2010, 20:20
  2. Remote debugging with Qt Creator
    By rodrigotavares in forum Qt Tools
    Replies: 4
    Last Post: 3rd February 2010, 18:15
  3. Kdevelop remote debugging
    By hgedek in forum KDE Forum
    Replies: 0
    Last Post: 17th October 2007, 10:16
  4. Replies: 0
    Last Post: 21st September 2007, 11:08
  5. Remote debugging+keyboard
    By hgedek in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 11th August 2007, 12:49

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.