PDA

View Full Version : GDB debugging Error while mapping shared library sections



sattu
19th January 2011, 07:47
hi everyone,
I am trying to debug a qt application using GDB(My pc is 64 bit).When i go for continue command it is giving an error like "Error while mapping shared library sections".
For a simple c code it is working fine.




[Bibhu@localhost ip_qsetting]$ /opt/eldk/usr/bin/arm-linux-gdb ip_qsetting
GNU gdb Red Hat Linux (6.7-2rh)
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-linux".
The target architecture is set automatically (currently arm)
..
(gdb) target remote 192.168.1.235:4000
Remote debugging using 192.168.1.235:4000
warning: Can not parse XML target description; XML support was disabled at compile time
[New Thread 490]
0x400007c0 in ?? () from /opt/eldk/arm/lib/ld-linux.so.3
(gdb) c
Continuing.
Error while mapping shared library sections:
/opt/qt-4.6/build/lib/libQtGui.so.4: No such file or directory.
Error while mapping shared library sections:
/opt/qt-4.6/build/lib/libQtNetwork.so.4: No such file or directory.
Error while mapping shared library sections:
/opt/qt-4.6/build/lib/libQtCore.so.4: No such file or directory.
Error while mapping shared library sections:
/opt/qt-4.6/build/lib/libts-0.0.so.0: No such file or directory.
Error while mapping shared library sections:
/opt/qt-4.6/build/lib/ts/input.so: No such file or directory.
Error while mapping shared library sections:
/opt/qt-4.6/build/lib/ts/pthres.so: No such file or directory.
Error while mapping shared library sections:
/opt/qt-4.6/build/lib/ts/variance.so: No such file or directory.
Error while mapping shared library sections:
/opt/qt-4.6/build/lib/ts/dejitter.so: No such file or directory.
Error while mapping shared library sections:
/opt/qt-4.6/build/lib/ts/linear.so: No such file or directory.





/opt/qt-4.6/build/lib/libQtGui.so.4 : This is a soft link.I check this path and it is there.

Is there any soln ?
plz help me.