Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


debugging program in qt 5 3 in centos gibes errors libstdc so 6 0 20 gdb py a using -'qt,c++11,compiler-construction,centos'


debugging program in qt 5 3 in centos gibes errors libstdc so 6 0 20 gdb py a  using -'qt,c++11,compiler-construction,centos'

I have used GCC 4.9.2 built by my friend. And done following things in CentOS OS to use it :


copied gcc-4.9.2 folder in root.
copied g++ and gcc from /root/gcc-4.9.2/bin to /usr/bin/
created soft link libstdc++.so and libstdc++.so.6 to
/root/gcc-4.9.2/lib/libstdc++.so.6.0.20 .


Now I am able to use compiler GCC 4.9.2 in Qt but getting some problem while debugging. While debugging C++ program in Qt 5.3.0 getting error as,


  Debugging Starts  &" warning GDB: Failed to set controlling terminal :
  Invalid argument \n" File
  "/root/gcc-4.9.2/lib/libstdc++.so.6.0.20-gdb.py" auto loading has been
  declined by your 'auto-load safe-path' set to
  "/usr/share/gdb/auto:/usr/lib/debug:/usr/bin/mono-gdb.py". Debugging
  has Finished.


I am not able to debug my program, if any one has any suggestion.
    

asked Sep 7, 2015 by rajesh
0 votes
6 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...