gillian li
|
Stopped due to shared library event
|
gillian li
04/25/2009 4:06 PM
post28091
|
Stopped due to shared library event
hello,
I have struggled with a problem for days.
I have one project libtorrent-0.12.4 and simple_client. simple_client references the libtorrent-0.12.4.
In simple_client, perspective->c/c++ build->tool settings->GCC C++compiler-> Directories:
"${workspace_loc:/libtorrent-0.12.4/src}"
/usr/include/sigc++-2.0
/usr/lib/sigc++-2.0/include
in GCC C++ linker->libraries:
add library:torrent
and search path is:
"${workspace_loc:/libtorrent-0.12.4/src/.libs}"
/usr/include/sigc++-2.0
/usr/lib/sigc++-2.0/include
I am sure that libtorrent.o and libtorrent.o.11 is in ${workspace_loc:/libtorrent-0.12.4/src/.libs}. I also add the .
libs path to debugger->shared libraries. But when I debug simple client, I got:
A syntax error in expression, near `-console'.
No source file named peer_connection_leech.cc.
Stopped due to shared library event
No source file named peer_connection_leech.cc.
[Thread debugging using libthread_db enabled]
Stopped due to shared library event
[New Thread 0xb77ff6d0 (LWP 32152)]
[Switching to Thread 0xb77ff6d0 (LWP 32152)]
Stopped due to shared library event
Stopped due to shared library event
By the way, while I was degugging, I can see libtorrent.o.11 in modules view.
I am using gcc 4.3.2, GNU gdb 6.8-debian, cdt 3.1.2.
Any ideas? Thanks in advance.
|
|
|