Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Stopped due to shared library event: Page 1 of 2 (2 Items)
   
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.