![]() Registered Member ![]()
|
Hi guys,
I'm trying to compile ktorrent on my server (Gentoo), but both current svn and 2.0b1 give me a linker error in the upnp plugin. I'm not terribly experienced in linux programming, so I unfortunately have no idea where to poke to make it work...
(Note: this is from a second run, so the compilation messages are missing) |
![]() Moderator ![]()
|
Some googling shows that __cxa_get_exception_ptr is part of libstdc++. Maybe you have an old version of that library.
See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20170 I suggest you try upgrading libstdc++. |
![]() Registered Member ![]()
|
Should have known about Google...
Nevertheless, that wasn't the reason. After updating gcc & glibc it still didn't work so I looked at the source (upnpprefwidget.cpp). The catch in the destructor reads:
while all other catches in that file read:
after changing the catch in the destructor to the 'majority vote', ktorrent compiles & runs. |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Moderator ![]()
|
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]