error during make - Resolved

Linux specific questions, problems.
Post Reply
rainbows

error during make - Resolved

Post by rainbows »

Hi,

While compiling qbittorrent the following error occurs maybe someone can help ?
qbtsession.o: In function `libtorrent::fastresume_rejected_alert::message() const':
/usr/include/libtorrent/alert_types.hpp:1475: undefined reference to `libtorrent::convert_from_native(std::string const&)'
qbtsession.o: In function `libtorrent::storage_moved_failed_alert::message() const':
/usr/include/libtorrent/alert_types.hpp:931: undefined reference to `libtorrent::convert_from_native(std::string const&)'
qbtsession.o: In function `libtorrent::fastresume_rejected_alert::message() const':
/usr/include/libtorrent/alert_types.hpp:1475: undefined reference to `libtorrent::convert_from_native(std::string const&)'
qbtsession.o: In function `libtorrent::storage_moved_failed_alert::message() const':
/usr/include/libtorrent/alert_types.hpp:931: undefined reference to `libtorrent::convert_from_native(std::string const&)'

qbittorrent used to always compile no problems. i just made a clean system and probably am forgetting something.
Thank you
Last edited by rainbows on Fri May 08, 2015 2:20 pm, edited 1 time in total.
User avatar
Peter
Administrator
Administrator
Posts: 3046
Joined: Wed Jul 07, 2010 6:14 pm

Re: error during make

Post by Peter »

- What OS do you have?
- Which version are you trying to compile?
ciaobaby

Re: error during make

Post by ciaobaby »

And what libtorrent version?
rainbows

Re: error during make

Post by rainbows »

Hi,

thanks for helping and sorry i forgot to mention the other info.
using boost 1.58
libtorrent 1.04
qbittorrent fresh from git :)

I made another fresh fedora 21 and it works , it is on my new fedora 22 it seems to not work (exactly build everything same way)
I would appreciate if anyone could help me debug this and fix whatever the issue is ? (i know its not yet out however in 2-3 weeks it will be, i can try and debug whatever you wish  and the error seems to be clear what might be happening ?)

Thank you so much. (and yes i need it on a f22 box)
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: error during make

Post by sledgehammer_999 »

That is a bug of libtorrent 1.0.x that is fixed (after 1.0.4) with this commit: http://sourceforge.net/p/libtorrent/code/10958/
rainbows

Re: error during make

Post by rainbows »

thank you much appreciated,. I will go try that out.

Regards,
rainbows

Re: error during make

Post by rainbows »

Hi,

Just to confirm, that indeed fixed the problem by replacing the .h and .c file for alert_types.

Building the very latest version of libtorrent from svn however will not work with qbittorrent (just as fyi).

Regards,
and thanks
Post Reply