セグメント違反が発生しているプログラムが 1 つあります。それをリモートでデバッグする必要があります。そのために私は次のことをしています:
ターゲット ボード上:
#gdbserver :2345 program
ホスト x86 マシン:
$ arm-linux-gdb -q program
(gdb) target remote 192.168.150.104:2345
しかし、上記のコマンドを実行した後、いくつかのエラーが発生します:
Error while mapping shared library sections:
/usr/local/lib/QtTouchScreen/lib/libQtTest.so.4: No such file or directory.
Error while mapping shared library sections:
/usr/local/lib/QtTouchScreen/lib/libQtXml.so.4: No such file or directory.
Error while mapping shared library sections:
/usr/local/lib/QtTouchScreen/lib/libQtGui.so.4: No such file or directory.
Error while mapping shared library sections:
/usr/local/lib/QtTouchScreen/lib/libQtNetwork.so.4: No such file or directory.
Error while mapping shared library sections:
/usr/local/lib/QtTouchScreen/lib/libQtCore.so.4: No such file or directory.
Error while mapping shared library sections:
/lib/libpthread.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libstdc++.so.6: No such file or directory.
Error while mapping shared library sections:
/lib/libm.so.0: No such file or directory.
Error while mapping shared library sections:
/lib/libgcc_s.so.1: No such file or directory.
を使用して、これらのライブラリが配置されているホストにこれらのライブラリのパスを設定しようとしましたexport LD_LIBRARY_PATH
が、まだ運がありません。
どんな助けでも大歓迎です。
よろしく、
ユヴィ